Rosdep update error: SSL certifacate_verify_failed

asked 2015-12-25 01:51:14 -0500

leo.yjf gravatar image

updated 2015-12-25 03:44:36 -0500

gvdhoorn gravatar image

I'm trying to install ROS-jade on Ubuntu 15.04 (vivid) now.

I was strictly following the instruction on this wiki and using the full installation sudo apt-get install ros-jade-desktop-full

But get the following error massage when I run rosdep update:

reading in sources list data from /etc/ros/rosdep/sources.list.d
ERROR: unable to process source [https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml]:
    urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)  
(https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml)

ERROR: unable to process source [https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml]:
    urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)(https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml)

ERROR: unable to process source [https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/python.yaml]:
    urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)(https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/python.yaml)

ERROR: unable to process source [https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/ruby.yaml]:
    urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)>(https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/ruby.yaml)

ERROR: unable to process source [https://raw.githubusercontent.com/ros/rosdistro/master/releases/fuerte.yaml]:
    Failed to download target platform data for gbpdistro:  
urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)
Query rosdistro index https://raw.githubusercontent.com/ros/rosdistro/master/index.yaml

ERROR: error loading sources list:
    urlopen error <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)(https://raw.githubusercontent.com/ros/rosdistro/master/index.yaml)>

Did I miss anything in Ubuntu setting? (I'm a newer for Unix)

Many thanks

edit retag flag offensive close merge delete

Comments

Are you using any (http(s)) proxy?

gvdhoorn gravatar image gvdhoorn  ( 2015-12-25 03:46:44 -0500 )edit

Yes, I use the company's proxy. I could run apt-get update for Ubuntu so I think the setting of proxy is ok.

leo.yjf gravatar image leo.yjf  ( 2015-12-25 07:28:59 -0500 )edit

Depending on how you configured things, apt-get does not use SSL. If your company is doing a MitM to snoop on your SSL traffic, and using a cert that isn't one of the trusted ones on your Ubuntu machine, then Python and its libraries might decide that that certificate is not to be trusted.

gvdhoorn gravatar image gvdhoorn  ( 2015-12-25 08:07:57 -0500 )edit

Can you try without the proxy configured? See if that works?

gvdhoorn gravatar image gvdhoorn  ( 2015-12-25 08:08:16 -0500 )edit

Thank you very much for the information. But I can not access internet without the proxy configured. If that's the case, what can I do to solve the issue.

leo.yjf gravatar image leo.yjf  ( 2015-12-25 19:07:44 -0500 )edit

Can you browse to any of those URLs with your web browser (ie: Firefox)? Not being able to access SSL URIs is going to be a major pain when developing with ROS, as a lot of resources are located on github fi.

gvdhoorn gravatar image gvdhoorn  ( 2015-12-28 11:14:39 -0500 )edit

Yes, I can browse web well. I think the proxy setting for http and https are all right. My colleague told me they install ROS without this problem on Ubuntu 14.04. I hat tied to use cntlm to setup the proxy. All web browse are ok, but rosdep still return with same error.

leo.yjf gravatar image leo.yjf  ( 2015-12-28 20:16:16 -0500 )edit

My colleague told me they install ROS without this problem on Ubuntu 14.04.

Well, then I guess it would make sense to compare your configuration to that of your colleague(s), no?

gvdhoorn gravatar image gvdhoorn  ( 2015-12-29 02:21:39 -0500 )edit