|
1. ssl证书过期- Traceback (most recent call last):
- File "BackGroundAPIHeartbeat.py", line 106, in testApiPushtoAgentOldServerV1
- r = requests.post(self.url + self.typeURL[type], params=params, timeout=self.curTimeOut)
- File "/usr/lib/python2.7/dist-packages/requests/api.py", line 110, in post
- return request('post', url, data=data, json=json, **kwargs)
- File "/usr/lib/python2.7/dist-packages/requests/api.py", line 56, in request
- return session.request(method=method, url=url, **kwargs)
- File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 488, in request
- resp = self.send(prep, **send_kwargs)
- File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 609, in send
- r = adapter.send(request, **kwargs)
- File "/usr/lib/python2.7/dist-packages/requests/adapters.py", line 497, in send
- raise SSLError(e, request=request)
- SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:661)
复制代码 |
|