{"action":"created","issue":{"url":"https://api.github.com/repos/elgalu/docker-selenium/issues/136","repository_url":"https://api.github.com/repos/elgalu/docker-selenium","labels_url":"https://api.github.com/repos/elgalu/docker-selenium/issues/136/labels{/name}","comments_url":"https://api.github.com/repos/elgalu/docker-selenium/issues/136/comments","events_url":"https://api.github.com/repos/elgalu/docker-selenium/issues/136/events","html_url":"https://github.com/elgalu/docker-selenium/issues/136","id":192803562,"number":136,"title":"Saucelabs sauceconnect VPN in the container failed due to certificate Error","user":{"login":"StephaneColson","id":1481595,"avatar_url":"https://avatars.githubusercontent.com/u/1481595?v=3","gravatar_id":"","url":"https://api.github.com/users/StephaneColson","html_url":"https://github.com/StephaneColson","followers_url":"https://api.github.com/users/StephaneColson/followers","following_url":"https://api.github.com/users/StephaneColson/following{/other_user}","gists_url":"https://api.github.com/users/StephaneColson/gists{/gist_id}","starred_url":"https://api.github.com/users/StephaneColson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StephaneColson/subscriptions","organizations_url":"https://api.github.com/users/StephaneColson/orgs","repos_url":"https://api.github.com/users/StephaneColson/repos","events_url":"https://api.github.com/users/StephaneColson/events{/privacy}","received_events_url":"https://api.github.com/users/StephaneColson/received_events","type":"User","site_admin":false},"labels":[{"id":112706623,"url":"https://api.github.com/repos/elgalu/docker-selenium/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-01T10:13:23Z","updated_at":"2016-12-01T13:06:08Z","closed_at":null,"body":"#### Operating System\r\nLinux 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u1 (2016-09-03) x86_64 GNU/Linux\r\n\r\n#### Image version\r\n- elgalu/selenium:3.0.1i\r\n\r\n#### Docker version\r\n- Docker version 1.12.2, build bb80604\r\n\r\n#### Docker-Compose\r\ndocker-compose version 1.6.0, build d99cad6\r\n\r\nIn the selenium-grid container, the saucelab tunnel fails with the error **ERROR: connecting to https://saucelabs.com/versions.json: Peer certificate cannot be authenticated with given CA certificates, reply: [empty].**\r\n\r\nHere are the logs retrieved in \r\n\r\n> $ sc --doctor -u <user> -k <key>\r\n> 1 Dec 10:20:24 - Sauce Connect 4.4.1, build 2976 c1c1e98\r\n> 1 Dec 10:20:24 - Using CA certificate bundle /etc/ssl/certs/ca-certificates.crt.\r\n> 1 Dec 10:20:24 - Using CA certificate verify path /etc/ssl/certs.\r\n> 1 Dec 10:20:24 - Calling the doctor\r\n> INFO: checking if saucelabs.com can be resolved\r\n> INFO: resolving 'saucelabs.com' using default system settings...\r\n> INFO: resolved to '162.222.75.243'\r\n> INFO: resolving 'saucelabs.com' using DNS server '127.0.0.11'...\r\n> INFO: resolved to '162.222.75.243'\r\n> INFO: checking 'saucelabs.com' in hosts file...\r\n> INFO: resolved to '162.222.73.28'\r\n> WARNING: your hosts file contains an entry for saucelabs.com.\r\n> WARNING: only do this if instructed by Sauce Labs support.\r\n> INFO: checking if maki76100.miso.saucelabs.com can be resolved\r\n> INFO: resolving 'maki76100.miso.saucelabs.com' using default system settings...\r\n> INFO: resolved to '162.222.76.100'\r\n> INFO: resolving 'maki76100.miso.saucelabs.com' using DNS server '127.0.0.11'...\r\n> INFO: resolved to '162.222.76.100'\r\n> INFO: checking 'maki76100.miso.saucelabs.com' in hosts file...\r\n> INFO: 'maki76100.miso.saucelabs.com' is not in hosts file\r\n> INFO: checking if maki77100.miso.saucelabs.com can be resolved\r\n> INFO: resolving 'maki77100.miso.saucelabs.com' using default system settings...\r\n> INFO: resolved to '162.222.77.100'\r\n> INFO: resolving 'maki77100.miso.saucelabs.com' using DNS server '127.0.0.11'...\r\n> INFO: resolved to '162.222.77.100'\r\n> INFO: checking 'maki77100.miso.saucelabs.com' in hosts file...\r\n> INFO: 'maki77100.miso.saucelabs.com' is not in hosts file\r\n> INFO: checking if maki78100.miso.saucelabs.com can be resolved\r\n> INFO: resolving 'maki78100.miso.saucelabs.com' using default system settings...\r\n> INFO: resolved to '162.222.78.100'\r\n> INFO: resolving 'maki78100.miso.saucelabs.com' using DNS server '127.0.0.11'...\r\n> INFO: resolved to '162.222.78.100'\r\n> INFO: checking 'maki78100.miso.saucelabs.com' in hosts file...\r\n> INFO: 'maki78100.miso.saucelabs.com' is not in hosts file\r\n> INFO: checking if connecting to Sauce Labs REST API via SSL works\r\n> INFO: certificate #0 in chain: INFO: s:/OU=GT45345800/OU=See www.rapidssl.com/resources/cps (c)14/OU=Domain Control Validated - RapidSSL(R)/CN=*.saucelabs.com; INFO: i:/C=US/O=GeoTrust Inc./CN=RapidSSL SHA256 CA - G3\r\n> INFO: checking OCSP entry #0 (http://gv.symcd.com)\r\n> INFO: resolving 'gv.symcd.com' using default system settings...\r\n> INFO: resolved to '23.43.75.27'\r\n> INFO: resolving 'gv.symcd.com' using DNS server '127.0.0.11'...\r\n> INFO: resolved to '23.43.75.27'\r\n> INFO: checking 'gv.symcd.com' in hosts file...\r\n> INFO: 'gv.symcd.com' is not in hosts file\r\n> INFO: URL http://gv.symcd.com can be reached\r\n> INFO: checking CRL distribution point #0 (http://gv.symcb.com/gv.crl)\r\n> INFO: resolving 'gv.symcb.com' using default system settings...\r\n> INFO: resolved to '23.43.69.163'\r\n> INFO: resolving 'gv.symcb.com' using DNS server '127.0.0.11'...\r\n> INFO: resolved to '23.43.69.163'\r\n> INFO: checking 'gv.symcb.com' in hosts file...\r\n> INFO: 'gv.symcb.com' is not in hosts file\r\n> INFO: URL http://gv.symcb.com/gv.crl can be reached\r\n> INFO: certificate #1 in chain: INFO: s:/C=US/O=GeoTrust Inc./CN=RapidSSL SHA256 CA - G3; INFO: i:/C=US/O=GeoTrust Inc./CN=GeoTrust Global CA\r\n> INFO: checking OCSP entry #0 (http://g.symcd.com)\r\n> INFO: resolving 'g.symcd.com' using default system settings...\r\n> INFO: resolved to '23.43.75.27'\r\n> INFO: resolving 'g.symcd.com' using DNS server '127.0.0.11'...\r\n> INFO: resolved to '23.43.75.27'\r\n> INFO: checking 'g.symcd.com' in hosts file...\r\n> INFO: resolved to '23.55.155.27'\r\n> WARNING: your hosts file contains an entry for 'g.symcd.com'.\r\n> WARNING: only do this if instructed by Sauce Labs support.\r\n> INFO: URL http://g.symcd.com can be reached\r\n> INFO: checking CRL distribution point #0 (http://g.symcb.com/crls/gtglobal.crl)\r\n> INFO: resolving 'g.symcb.com' using default system settings...\r\n> INFO: resolved to '23.43.69.163'\r\n> INFO: resolving 'g.symcb.com' using DNS server '127.0.0.11'...\r\n> INFO: resolved to '23.43.69.163'\r\n> INFO: checking 'g.symcb.com' in hosts file...\r\n> INFO: 'g.symcb.com' is not in hosts file\r\n> INFO: URL http://g.symcb.com/crls/gtglobal.crl can be reached\r\n> INFO: checking if accessing https://saucelabs.com/rest/v1 works\r\n> INFO: resolving 'saucelabs.com' using default system settings...\r\n> INFO: resolved to '162.222.75.243'\r\n> INFO: resolving 'saucelabs.com' using DNS server '127.0.0.11'...\r\n> INFO: resolved to '162.222.75.243'\r\n> INFO: checking 'saucelabs.com' in hosts file...\r\n> INFO: resolved to '162.222.73.28'\r\n> WARNING: your hosts file contains an entry for 'saucelabs.com'.\r\n> WARNING: only do this if instructed by Sauce Labs support.\r\n> ERROR: connecting to https://saucelabs.com/versions.json: Peer certificate cannot be authenticated with given CA certificates, reply: [empty].\r\n> ERROR: can't reach https://saucelabs.com/versions.json, please check your firewall and proxy settings.\r\n> INFO: checking if accessing http://google.com works\r\n> INFO: resolving 'google.com' using default system settings...\r\n> INFO: resolved to '216.58.213.174'\r\n> INFO: resolving 'google.com' using DNS server '127.0.0.11'...\r\n> INFO: resolved to '216.58.213.174'\r\n> INFO: checking 'google.com' in hosts file...\r\n> INFO: 'google.com' is not in hosts file\r\n> INFO: URL http://google.com can be reached\r\n> INFO: checking if accessing https://google.com works\r\n> INFO: resolving 'google.com' using default system settings...\r\n> INFO: resolved to '216.58.213.174'\r\n> INFO: resolving 'google.com' using DNS server '127.0.0.11'...\r\n> INFO: resolved to '216.58.213.174'\r\n> INFO: checking 'google.com' in hosts file...\r\n> INFO: 'google.com' is not in hosts file\r\n> INFO: URL https://google.com can be reached\r\n\r\nIf I remove the saucelabs line in /etc/hosts, then saucelabs connect works fine. Is this line in /etc/hosts mandatory?\r\n"},"comment":{"url":"https://api.github.com/repos/elgalu/docker-selenium/issues/comments/264168767","html_url":"https://github.com/elgalu/docker-selenium/issues/136#issuecomment-264168767","issue_url":"https://api.github.com/repos/elgalu/docker-selenium/issues/136","id":264168767,"user":{"login":"StephaneColson","id":1481595,"avatar_url":"https://avatars.githubusercontent.com/u/1481595?v=3","gravatar_id":"","url":"https://api.github.com/users/StephaneColson","html_url":"https://github.com/StephaneColson","followers_url":"https://api.github.com/users/StephaneColson/followers","following_url":"https://api.github.com/users/StephaneColson/following{/other_user}","gists_url":"https://api.github.com/users/StephaneColson/gists{/gist_id}","starred_url":"https://api.github.com/users/StephaneColson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StephaneColson/subscriptions","organizations_url":"https://api.github.com/users/StephaneColson/orgs","repos_url":"https://api.github.com/users/StephaneColson/repos","events_url":"https://api.github.com/users/StephaneColson/events{/privacy}","received_events_url":"https://api.github.com/users/StephaneColson/received_events","type":"User","site_admin":false},"created_at":"2016-12-01T13:06:08Z","updated_at":"2016-12-01T13:06:08Z","body":"OK will do. Was not sure of the issue, thanks for the confirmation."}}
{"actor":{"display_login":"StephaneColson"}}