正在尝试访问Rall1。rallydev.com网站从公司文件墙后面通过带有pyral 1.1.1和ActivePython 2.7.10.12(ActiveState Software Inc.)的Web服务API v2.0。我收到错误“pyral.context.RallyRESTAPIError:SSL证书验证失败“
Using Code with ssl:
rally = Rally(server, user, password, workspace=workspace, project=project)
Receive:
Traceback (most recent call last):
File "C:\Users\QvaleL\Documents\Eclipse Workspace\Extract Rally Data\PullRallyUS - Working.py", line 26, in <module>
rally = Rally(server, user, password, workspace=workspace, project=project)
File "C:\Python27\lib\site-packages\pyral\restapi.py", line 228, in __init__
self.contextHelper.check(self.server)
File "C:\Python27\lib\site-packages\pyral\context.py", line 216, in check
raise RallyRESTAPIError(problem)
pyral.context.RallyRESTAPIError: SSL certificate verification failed
Using Code to turn off SSL:
rally = Rally(server, user, password, workspace=workspace, project=project, verify_ssl_cert=False)
Receive:
C:\Python27\lib\site-packages\requests\packages\urllib3\connectionpool.py:791: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html
InsecureRequestWarning)
404 Response for request
('Connection aborted.', BadStatusLine("''",))
Traceback (most recent call last):
File "C:\Users\QvaleL\Documents\Eclipse Workspace\Extract Rally Data\PullRallyUS - Working.py", line 25, in <module>
rally = Rally(server, user, password, workspace=workspace, project=project, verify_ssl_cert=False)
File "C:\Python27\lib\site-packages\pyral\restapi.py", line 228, in __init__
self.contextHelper.check(self.server)
File "C:\Python27\lib\site-packages\pyral\context.py", line 216, in check
raise RallyRESTAPIError(problem)
pyral.context.RallyRESTAPIError: 404 Target host: 'rally1.rallydev.com' doesn't support the Rally WSAPI
安装的Python包
^{pr2}$
我也有类似的问题,我们的网络团队已经为集会网站清除了一些检查,它起作用了。已清除SSL验证。在
这可能帮不了你,但我就是这样解决的,因为没有其他解决方案对我有效。在
你的proxy-port是你的proxy-port环境中的一个变量。要从Python程序中导出,请将以下命令语法与[your https proxy-server_IP:port]一起使用:
相关问题 更多 >
编程相关推荐