내가 파이썬 2.7.6를 사용하고 위반 발생했습니다. 서버의 SSL 인증서가 업데이트 된 후 2 일 전에 시작됩니다.urlfetch.UrlfetchException : _ssl.c : 510 : EOF 우분투</p> <p>내가 원격 서버에 데이터를 게시하는 <a href="https://pypi.python.org/pypi/urlfetch" rel="nofollow noreferrer"><code>urlfetch</code> (1.0.2)</a>를 사용할 때이 오류가 점점 오전에 프로토콜
비슷한 문제가 다른 파이썬 패키지 request
에보고되었습니다. 이 솔루션은
pip install --force-reinstall requests[security]
을 실행하여 일부 종속성을 업데이트하는 것입니다하지만 난 단지이
Requirement already satisfied: requests[security] in /usr/lib/python2.7/dist-packages
requests 2.2.1 does not provide the extra 'security'
아무것도 다운로드하고 설치 될 것 같다되었다.
일부 게시물이 암호화하는 데 관련 제안 (https://github.com/kennethreitz/requests/issues/3608#issuecomment-250681069)
openssl s_client -connect www.example.com:443
CONNECTED(00000003)
140353237063328:error:140790E5:SSL routines:SSL23_WRITE:ssl handshake failure:s23_lib.c:177:
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 0 bytes and written 305 bytes
---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
---
는 정상 보입니까? 문제를 해결하기 위해 할 수있는 일이 있습니까?
대상 서버가 Google App Engine에 있습니다. 새 SSL 인증서는 vip
을 지원하지 않습니다.
우분투 버전 정보 :
NAME="Ubuntu"
VERSION="14.04.2 LTS, Trusty Tahr"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 14.04.2 LTS"
VERSION_ID="14.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
또한 pyenv 또는 pythonz를 사용하여 최신 비단뱀을 설치할 수 있습니다. – duyue