Snapcraft ROS gdbdistro download error

I am running the commands according to https://docs.snapcraft.io/ros-applications/7822 under the title “Building The Snap” .

On running ‘snapcraft’, I am getting the following error:

ERROR: unable to process source [https://raw.githubusercontent.com/ros/rosdistro/master/releases/fuerte.yaml]:
        Failed to download target platform data for gbpdistro:
        HTTP Error 503: Backend unavailable, connection timeout
Failed to initialize rosdep: Error updating rosdep database:
reading in sources list data from /root/parts/ros-tutorials/rosdep/sources.list.d
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/python.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/ruby.yaml
Query rosdistro index https://raw.githubusercontent.com/ros/rosdistro/master/index-v4.yaml
Skip end-of-life distro "ardent"
Add distro "bouncy"
Add distro "crystal"
Skip end-of-life distro "groovy"
Skip end-of-life distro "hydro"
Add distro "indigo"
Skip end-of-life distro "jade"
Add distro "kinetic"
Add distro "lunar"
Add distro "melodic"
updated cache in /root/parts/ros-tutorials/rosdep/cache/rosdep/sources.cache
ERROR: Not all sources were able to be updated.
[[[
ERROR: unable to process source [https://raw.githubusercontent.com/ros/rosdistro/master/releases/fuerte.yaml]:
        Failed to download target platform data for gbpdistro:
        HTTP Error 503: Backend unavailable, connection timeout
]]]

I ran a test on a VM with only Ubuntu 18.04 and ROS Melodic installed and the The HTTP Error is different and is:

ERROR: unable to process source [https://raw.githubusercontent.com/ros/rosdistro/master/releases/fuerte.yaml]:
        Failed to download target platform data for gbpdistro:
        HTTP Error 400: Bad Request

I had this issue as well. It broke all my ROS builds while it was occurring. It should be working fine now though.

This section here sums it up.

        Failed to download target platform data for gbpdistro:
        HTTP Error 503: Backend unavailable, connection timeout

rosdep was unable to pull the rosdep db from github causing the build to fail. This request to Github is returning correctly now so this section of the build shouldn’t be failing anymore. I think github going down has failed my builds as much as anything else and there isn’t much you can do about it until Github recovers.

Thanks for the reply it is working for me now too. I thought it might be an issue with Github which is why I didn’t want to open an issue with the ros-talker-listener repository.