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

chunlan li · 2019年04月22日 · 691 次阅读

使用 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',))

暂无回复。
需要 登录 后方可回复, 如果你还没有账号请点击这里 注册