richard-better / pushbullet.py

A python client for http://pushbullet.com
MIT License
575 stars 110 forks source link

Can't push anything anymore.. #106

Closed tvurk closed 7 years ago

tvurk commented 7 years ago

Even since a week ago it's not working anymore, I didn't change or update anything.. did they change the protocol or do I need to upgrade something?

File "/usr/local/lib/python2.7/dist-packages/pushbullet/pushbullet.py", line 29, in init self.refresh() File "/usr/local/lib/python2.7/dist-packages/pushbullet/pushbullet.py", line 288, in refresh self._load_devices() File "/usr/local/lib/python2.7/dist-packages/pushbullet/pushbullet.py", line 42, in _load_devices resp_dict = self._get_data(self.DEVICES_URL) File "/usr/local/lib/python2.7/dist-packages/pushbullet/pushbullet.py", line 32, in _get_data resp = self._session.get(url) File "/usr/local/lib/python2.7/dist-packages/requests-2.12.4-py2.7.egg/requests/sessions.py", line 501, in get return self.request('GET', url, kwargs) File "/usr/local/lib/python2.7/dist-packages/requests-2.12.4-py2.7.egg/requests/sessions.py", line 488, in request resp = self.send(prep, send_kwargs) File "/usr/local/lib/python2.7/dist-packages/requests-2.12.4-py2.7.egg/requests/sessions.py", line 609, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python2.7/dist-packages/requests-2.12.4-py2.7.egg/requests/adapters.py", line 497, in send raise SSLError(e, request=request) requests.exceptions.SSLError: [Errno 8] _ssl.c:504: EOF occurred in violation of protocol

simonporter007 commented 7 years ago

Seems same as issue #103 can you please try upgrading openssl and pyOpenSSL libraries as described there? It resolved the issue for the original poster.

tvurk commented 7 years ago

Thanks a lot for the fast response! The referenced post solved it for me.