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

web site is down? #934

Open
OverlordYashSrivastav1 opened this issue Oct 7, 2023 · 4 comments
Open

web site is down? #934

OverlordYashSrivastav1 opened this issue Oct 7, 2023 · 4 comments
Labels

Comments

@OverlordYashSrivastav1
Copy link

c:\Robot>rosdep init
ERROR: cannot download default sources list from:
https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/sources.list.d/20-default.list
Website may be down.

@sloretz
Copy link
Contributor

sloretz commented Feb 19, 2024

I seem the same issue on ubuntu:focal in a github action. I can curl the URL, but python3-rosdep fails to download it. I see this on armhf only.

STEP 4/7: RUN curl -S https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/sources.list.d/20-default.list
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   588  100   588    0     0   3340      0 --:--:-- --:--:-- --:--:--  3520
# os-specific listings first
yaml https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml osx
# generic
yaml https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml
yaml https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/python.yaml
yaml https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/ruby.yaml
gbpdistro https://raw.githubusercontent.com/ros/rosdistro/master/releases/fuerte.yaml fuerte
# newer distributions (Groovy, Hydro, ...) must not be listed anymore, they are being fetched from the rosdistro index.yaml instead
STEP 5/7: RUN bash -c 'for i in {1..5}; do rosdep init && break || sleep 15; done'
ERROR: cannot download default sources list from:
https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/sources.list.d/20-default.list
Website may be down.

@sloretz sloretz added the bug label Feb 19, 2024
@sloretz
Copy link
Contributor

sloretz commented Feb 19, 2024

I think it's coming from the URLError case here, since that case doesn't print the error message :(

rosdep/src/rosdep2/main.py

Lines 604 to 606 in 5ca91b8

except URLError as e:
print('ERROR: cannot download default sources list from:\n%s\nWebsite may be down.' % (DEFAULT_SOURCES_LIST_URL), file=sys.stderr)
return 4

@sloretz
Copy link
Contributor

sloretz commented Feb 19, 2024

Forgive me for the screenshot of text, but I don't have copy/paste working in my VM. The root cause appears to be an SSL issue

image

@sloretz
Copy link
Contributor

sloretz commented Feb 19, 2024

Resolved on my machine by running sudo update-ca-certificates --fresh before rosdep init on ubuntu:focal armhf.

sloretz added a commit to sloretz/ros_oci_images that referenced this issue Feb 19, 2024
sloretz added a commit that referenced this issue Feb 19, 2024
This prints the exception out if it's of type URLError when trying to
retrieve the default rosdep source list. This is intended to help others
debug #934 should they run into it.

Signed-off-by: Shane Loretz <[email protected]>
sloretz added a commit that referenced this issue Apr 9, 2024
This prints the exception out if it's of type URLError when trying to
retrieve the default rosdep source list. This is intended to help others
debug #934 should they run into it.

Signed-off-by: Shane Loretz <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants