Solution: the solution to the wrong connection of rosdep init or rosdep update

If the prompt is error: unable to process source https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/xxxxx Such errors, while ensuring that their machine can be on the premise of Baidu, at this time may be due to raw.githubusercontent.com The website has been blocked.
The solution is to modify the hosts file and add the IP address of the website

#Open the hosts file
sudo gedit /etc/hosts
#Add at the end of the file
151.101.84.133 raw.githubusercontent.com
#Save and quit and try again

Try again

Read More: