【发布时间】:2021-08-09 08:30:17
【问题描述】:
我在 Windows 中使用最新的酱汁连接,并且在没有代理的情况下工作正常。现在,如果我使用 browsermobproxy,并尝试启动酱连接,它会失败并出现错误
>sc -u userName -k token -i tunnelName --proxy 127.0.0.1::9091 --doctor
!!! ERROR: connecting via 127.0.0.1::9091 to http://saucelabs.com:443: Couldn't connect to server.
INFO: checking if accessing https://saucelabs.com/rest/v1 works
INFO: using proxy 127.0.0.1::9091 for https://saucelabs.com/versions.json (saucelabs.com)
!!! ERROR: connecting to https://saucelabs.com/versions.json: Couldn't connect to server, reply: [empty].
!!! WARNING: can't reach https://saucelabs.com/versions.json, please check your firewall and proxy settings.
为curl -v --proxy http://localhost:9091 https://ondemand.saucelabs.com/wd/hub/status
得到
* schannel: encrypted data buffer: offset 2241 length 4096
* schannel: next InitializeSecurityContext failed: SEC_E_UNTRUSTED_ROOT (0x80090325) - The certificate chain was issued by an authority that is not trusted.
* Closing connection 0
我需要做哪些改变?
【问题讨论】:
-
在添加 ip 而不是 localhost 后出现错误为 ERROR: connected to saucelabs.com/versions.json: Peer certificate cannot be authenticated with given CA certificate, reply: [empty].
标签: saucelabs browsermob-proxy browsermob