使用Python SDK, 注册人脸的时候,出现OpenSSL.SSL.Error: ,
File "aip\base.py", line 111, in _request
), proxies=self._proxies
File "C:\Python27\lib\site-packages\requests\api.py", line 112, in post
return request('post', url, data=data, json=json, **kwargs)
File "C:\Python27\lib\site-packages\requests\api.py", line 58, in request
return session.request(method=method, url=url, **kwargs)
File "C:\Python27\lib\site-packages\requests\sessions.py", line 508, in request
resp = self.send(prep, **send_kwargs)
File "C:\Python27\lib\site-packages\requests\sessions.py", line 618, in send
r = adapter.send(request, **kwargs)
File "C:\Python27\lib\site-packages\requests\adapters.py", line 440, in send
timeout=timeout
File "C:\Python27\lib\site-packages\urllib3\connectionpool.py", line 601, in urlopen
chunked=chunked)
File "C:\Python27\lib\site-packages\urllib3\connectionpool.py", line 357, in _make_request
conn.request(method, url, **httplib_request_kw)
File "C:\Python27\lib\httplib.py", line 1042, in request
self._send_request(method, url, body, headers)
File "C:\Python27\lib\httplib.py", line 1082, in _send_request
self.endheaders(body)
File "C:\Python27\lib\httplib.py", line 1038, in endheaders
self._send_output(message_body)
File "C:\Python27\lib\httplib.py", line 886, in _send_output
self.send(message_body)
File "C:\Python27\lib\httplib.py", line 858, in send
self.sock.sendall(data)
File "C:\Python27\lib\site-packages\urllib3\contrib\pyopenssl.py", line 316, in sendall
sent = self._send_until_done(data[total_sent:total_sent + SSL_WRITE_BLOCKSIZE])
File "C:\Python27\lib\site-packages\urllib3\contrib\pyopenssl.py", line 304, in _send_until_done
return self.connection.send(data)
File "C:\Python27\lib\site-packages\OpenSSL\SSL.py", line 1729, in send
self._raise_ssl_error(self._ssl, result)
File "C:\Python27\lib\site-packages\OpenSSL\SSL.py", line 1639, in _raise_ssl_error
_raise_current_error()
File "C:\Python27\lib\site-packages\OpenSSL\_util.py", line 54, in exception_from_error_queue
raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_write_pending', 'bad write retry')]
收藏
点赞
0
个赞
请登录后评论
TOP
切换版块
我也出现同样的问题,在TX2上
在我自己电脑上没问题,在服务器上,linux系统,用的anaconda2,也是报这个错,我换了个几个版本的openssl都不行
我也是这个错误,求问怎么解决
你用代理了吗?