我正在尝试使用以下命令通过SauceConnect REST API连接到隧道:
sc --doctor -u -k -x https://api.us-west-1.saucelabs.com/v1/rdc -i myRDCTunnel
但它总是以错误结尾:
2019-03-27 13:02:55.922 [9644] INFO: checking 'saucelabs.com' in hosts file...
2019-03-27 13:02:55.923 [9644] INFO: 'saucelabs.com' is not in hosts file
2019-03-27 13:02:56.550 [9644] ERROR: connecting to https://saucelabs.com/versions.json: Peer certificate cannot be authenticated with given CA certificates, reply: [empty].
2019-03-27 13:02:56.552 [9644] WARNING: can't reach https://saucelabs.com/versions.json, please check your firewall and proxy settings.
2019-03-27 13:02:56.649 [9644] INFO: checking 'us1.api.testobject.com' in hosts file...
2019-03-27 13:02:56.652 [9644] INFO: 'us1.api.testobject.com' is not in hosts file
2019-03-27 13:02:58.205 [9644] ERROR: connecting to https://us1.api.testobject.com/sc/rest/v1/janas/tunnels: Peer certificate cannot be authenticated with given CA certificates, reply: [empty].
2019-03-27 13:02:58.207 [9644] ERROR: can't reach https://us1.api.testobject.com/sc/rest/v1/janas/tunnels, please check your username/access key, firewall and proxy settings.
2019-03-27 13:02:58.835 [9644] INFO: checking 'google.com' in hosts file...
2019-03-27 13:02:58.836 [9644] INFO: 'google.com' is not in hosts file
2019-03-27 13:02:59.024 [9644] ERROR: connecting to https://google.com: Peer certificate cannot be authenticated with given CA certificates, reply: [empty].
2019-03-27 13:02:59.030 [9644] ERROR: failed to reach https://google.com.
2019-03-27 13:02:59.037 [9644] ERROR: please check your firewall and proxy settings.