egirault / googleplay-api

Google Play Unofficial Python API - This project was a PoC and is not maintained anymore. Please feel free to fork it and improve it in any way.
879 stars 373 forks source link

Download error on some apps error 104 #67

Open jr3074 opened 8 years ago

jr3074 commented 8 years ago

I got error requests.exceptions.ConnectionError: ('Connection aborted.', error(104, 'Connection reset by peer')) on some apps like com.reddit.frontpage , se.feomedia.pixduel.us.lite and more but some can download some apps.

I don't know what is the problem, i tried it on 1st vps i cannot download reddit, but if i try in 2nd vps i can download it.

full error trackback Traceback (most recent call last): File "/home/download.py", line 38, in data = api.download(packagename, vc, ot) File "/home/googleplay.py", line 281, in download response = requests.get(url, headers=headers, cookies=cookies, verify=False) File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 71, in get return request('get', url, params=params, _kwargs) File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 57, in request return session.request(method=method, url=url, _kwargs) File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 475, in request resp = self.send(prep, _send_kwargs) File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 606, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 179, in resolve_redirects _adapter_kwargs File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 585, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python2.7/dist-packages/requests/adapters.py", line 453, in send raise ConnectionError(err, request=request) requests.exceptions.ConnectionError: ('Connection aborted.', error(104, 'Connection reset by peer'))