tejado / pgoapi

Pokemon Go API lib
Other
1.4k stars 445 forks source link

ERROR: (Connection aborted.', BadStatusLine("''",)) #28

Closed loretoparisi closed 8 years ago

loretoparisi commented 8 years ago

Often getting this error

[+] RPC Session Token: xxxxx ...
('Connection aborted.', BadStatusLine("''",))
[-] RPC server offline
Simon0x commented 8 years ago

This error happen when server has problems....

you did the login with ptc or google?

loretoparisi commented 8 years ago

@DerScreever google oauth

Simon0x commented 8 years ago

Okay. For me this only happen when the server is not reachable. So no error in script.

tejado commented 8 years ago

I will fix it soon ;)

loretoparisi commented 8 years ago

@tejado so it was a bug or not?

loretoparisi commented 8 years ago

by the way after the pull it seems that the error has been trapped differently

HTTPSConnectionPool(host='pgorelease.nianticlabs.com', port=443): Max retries exceeded with url: /plfe/rpc (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x10785a850>: Failed to establish a new connection: [Errno 60] Operation timed out',))
[-] RPC server offline
Simon0x commented 8 years ago

image

Problem with the servers. Only one server online to handle the requests

loretoparisi commented 8 years ago

gosh!

tejado commented 8 years ago

Yeah, no bug but a bad error handling in the code when the servers are offline which I have to fix :)