接口测试 jenkins 构建时无法访问 https 的 url

chunlan li · April 22, 2019 · 938 hits

使用 python+requests 写的自动化脚本,在 pycharm 中使用 verify=False 可以绕过 https 证书,但是用 jenkins 构建该 py 脚本就返回下面的报错,不知道为什么,求分享解决方法?
ConnectionError: HTTPSConnectionPool(host='xxxxx', port=443): Max retries exceeded with url: /auth/identify/identifyByUserName (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',))

No Reply at the moment.
需要 Sign In 后方可回复, 如果你还没有账号请点击这里 Sign Up