Armax / Pokemon-GO-node-api

Pokemon GO api node.js library
MIT License
875 stars 198 forks source link

Sometimes reverseGeocode throws ECONNREFUSED #164

Open predator747 opened 8 years ago

predator747 commented 8 years ago

Hi,

sometimes reverseGeocode throws an Error ECONNREFUSED, after that I have to restart the node application otherwise I would get the same Error after any HTTP/HTTPS Request.

Any Idea why this could happen?

Thanks


SetLocation Error:Error: connect ECONNREFUSED 216.58.214.74:80 [i] Logging with user: ** { [Error: connect ECONNREFUSED 216.58.208.46:443] code: 'ECONNREFUSED', errno: 'ECONNREFUSED', syscall: 'connect', address: '216.58.208.46', port: 443 } { [Error: socket hang up] code: 'ECONNRESET' }

beuted commented 8 years ago

If you haven't change the api key it might have reached the rate limit. See https://github.com/Armax/Pokemon-GO-node-api/issues/159