3
如何测试我的开发ASPN证书是否正常工作?苹果推送通知脚本不能突然工作
我的python脚本提供了以下错误:
Traceback (most recent call last): File "pushnot.py", line 15, in <module> wrapper.notify() File "build/bdist.macosx-10.9-intel/egg/APNSWrapper/notifications.py", line 194, in notify File "build/bdist.macosx-10.9-intel/egg/APNSWrapper/connection.py", line 215, in connect File "build/bdist.macosx-10.9-intel/egg/APNSWrapper/connection.py", line 161, in connect File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 333, in connect self._real_connect(addr, False) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 323, in _real_connect self.do_handshake() File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 305, in do_handshake self._sslobj.do_handshake() ssl.SSLError: [Errno 1] _ssl.c:504: error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure
任何想法,为什么?
面对同样的问题......伙计们对此有何更新? – 2014-10-08 10:04:36
似乎有一个python的问题。我在使用PHP的同时。 – bobo2000 2014-10-08 12:00:00