Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUILD: Docker build failed 'Connection to raw.githubusercontent.com timed out.' #52561

Closed
1 task done
srkds opened this issue Apr 10, 2023 · 6 comments
Closed
1 task done
Labels
Build Library building on various platforms Needs Triage Issue that has not been reviewed by a pandas team member

Comments

@srkds
Copy link
Contributor

srkds commented Apr 10, 2023

Installation check

Platform

Windows-10-10.0.19044-SP0

Installation Method

Built from source

pandas Version

from source (main)

Python Version

3.10.9

Installation Logs

Hi
I'm trying to setup pandas dev-environment for contribution.
And followed the below given documentation. But build failed.
Environment Setup -> using Docker

Command that I executed.

Mypc\path\pandas> docker build -t pandas-dev .

executor failed running [/bin/sh -c python -m pip install -r https://raw.githubusercontent.com/pandas-dev/pandas/main/requirements-dev.txt]: exit code: 1

Is it a problem with this site https://raw.githubusercontent.com/pandas-dev/pandas/main/requirements-dev.txt or I'm missing any step?

👇 see logs

[+] Building 102.1s (10/10) FINISHED
 => [internal] load build definition from Dockerfile                        0.0s
 => => transferring dockerfile: 32B                                         0.0s
 => [internal] load .dockerignore                                           0.0s
 => => transferring context: 2B                                             0.0s
 => [internal] load metadata for docker.io/library/python:3.10.8            3.1s
 => [1/7] FROM docker.io/library/python:3.10.8@sha256:0e3142c4c50c73e89a07  0.0s
 => CACHED [2/7] WORKDIR /home/pandas                                       0.0s
 => CACHED [3/7] RUN apt-get update && apt-get -y upgrade                   0.0s
 => CACHED [4/7] RUN apt-get install -y build-essential                     0.0s
 => CACHED [5/7] RUN apt-get install -y libhdf5-dev                         0.0s
 => CACHED [6/7] RUN python -m pip install --upgrade pip                    0.0s
 => ERROR [7/7] RUN python -m pip install     -r https://raw.githubuserco  98.8s
------
 > [7/7] RUN python -m pip install     -r https://raw.githubusercontent.com/pandas-dev/pandas/main/requirements-dev.txt:
#10 15.92 WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f673dc30940>, 'Connection to raw.githubusercontent.com timed out. (connect timeout=15)')': /pandas-dev/pandas/main/requirements-dev.txt
#10 31.46 WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f673dc30ca0>, 'Connection to raw.githubusercontent.com timed out. (connect timeout=15)')': /pandas-dev/pandas/main/requirements-dev.txt
#10 47.50 WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f673dc30f70>, 'Connection to raw.githubusercontent.com timed out. (connect timeout=15)')': /pandas-dev/pandas/main/requirements-dev.txt
#10 64.52 WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f673dff6da0>, 'Connection to raw.githubusercontent.com timed out. (connect timeout=15)')': /pandas-dev/pandas/main/requirements-dev.txt
#10 83.55 WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f673dff6740>, 'Connection to raw.githubusercontent.com timed out. (connect timeout=15)')': /pandas-dev/pandas/main/requirements-dev.txt
#10 98.66 ERROR: Could not install packages due to an OSError: HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /pandas-dev/pandas/main/requirements-dev.txt (Caused by ConnectTimeoutError(<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f673dff6a40>, 'Connection to raw.githubusercontent.com timed out. (connect timeout=15)'))
#10 98.66
------
executor failed running [/bin/sh -c python -m pip install     -r https://raw.githubusercontent.com/pandas-dev/pandas/main/requirements-dev.txt]: exit code: 1

Thanks!

@srkds srkds added Build Library building on various platforms Needs Triage Issue that has not been reviewed by a pandas team member labels Apr 10, 2023
@phofl
Copy link
Member

phofl commented Apr 11, 2023

Hi, are you behind a proxy or similar?

@srkds
Copy link
Contributor Author

srkds commented Apr 12, 2023

Hi, are you behind a proxy or similar?

No!

Just for a general check I tried opening this URL https://raw.githubusercontent.com/pandas-dev/pandas/main/requirements-dev.txt in a normal browser(or without VPN) and then tried opening into the TOR browser with VPN.

without VPN it says: This site can’t be reached raw.githubusercontent.com took too long to respond.
and in TOR with VPN it opens(worked) requirements-dev.txt file as response.

Without VPN 👇
image

With VPN 👇
image

@phofl
Copy link
Member

phofl commented Apr 12, 2023

The link works for me without anything, this seems to be a problem with your connection

@srkds
Copy link
Contributor Author

srkds commented Apr 12, 2023

The link works for me without anything, this seems to be a problem with your connection

I tried different connections.
It would be helpful if anyone try accessing this site from India and confirm.

@phofl
Copy link
Member

phofl commented Apr 22, 2023

This is not on our side, rather has something do to with your connection. I tried again and couldn't reproduce. Closing for now

@phofl phofl closed this as completed Apr 22, 2023
@srkds
Copy link
Contributor Author

srkds commented Apr 22, 2023

This is not on our side, rather has something do to with your connection. I tried again and couldn't reproduce. Closing for now

Sounds good. Thanks @phofl for looking into it.
As of now, I have done a manual setup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Build Library building on various platforms Needs Triage Issue that has not been reviewed by a pandas team member
Projects
None yet
Development

No branches or pull requests

2 participants