Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IPv6 Support for GeoIP #111

Open
Orstio opened this issue Nov 27, 2020 · 5 comments
Open

IPv6 Support for GeoIP #111

Orstio opened this issue Nov 27, 2020 · 5 comments

Comments

@Orstio
Copy link

Orstio commented Nov 27, 2020

Hello,

When a network sends an IPv6 address, your API times out trying to geolocate.

This needs to be worked in, as most IPs are switching to over to IPv6.

@telrashidi
Copy link

Can you produce the same issue in other internet browsers?

@telrashidi
Copy link

May need to increase the maximumAge in regards to enableHighAccuracy. Indication that the application is willing to accept a cached position whose age is no greater than the specified time in milliseconds. for ex. https://dev.fitbit.com/build/reference/device-api/geolocation/

@Orstio
Copy link
Author

Orstio commented Jan 25, 2021

Browser makes no difference. I do the API calls from PHP, so it is all server-side.

Here is my IPv6 you can use for testing.

2604:3d09:a579:6500:f0ef:cbce:5ae4:22c5

The timeout is not where you should focus. That's a symptom, and how you know there is a deeper problem. The problem is that your system works fine for IPv4 format, but not for IPv6.

@Orstio
Copy link
Author

Orstio commented Jan 25, 2021

I don't know what makes you think FitBit's API is relevant in any way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants