sindresorhus / public-ip

Get your public IP address - very fast!
MIT License
1.02k stars 65 forks source link

Not working with PrivateInternetAccess VPN #41

Closed MaffooBristol closed 4 years ago

MaffooBristol commented 4 years ago

Hi,

For some reason it appears that this module times out when I change my location via the PIA VPN.

Hitting https://checkip.amazonaws.com/ directly in my browser is fine however for showing the remote IP.

Just as a note the https://www.npmjs.com/package/external-ip package works with the same VPN, although I don't like having to promisify it so would prefer this module.

Any ideas as to why this could be?

Thanks Matt

sindresorhus commented 4 years ago

Does setting the onlyHttps option to true change anything?

MaffooBristol commented 4 years ago

... yes 😄

aguyinmontreal commented 4 years ago

This issue is still not fixed! Will try the suggested workaround.

aguyinmontreal commented 4 years ago

suggested work around not working