Hi Tomasz.
Answering on-list again.
I’ve confirmed that your change(s) corrected the issue on the mobile browser version of cat.eduroam.org and I’ve also had the admin from Montreal who reported this confirm the results on several different devices.
Everything looks good as far as we can tell.
Thanks for your help.
Ernest Leuenberger | Identity Access Management Support Engineer
https://www.canarie.ca/ <https://www.canarie.ca/> | ernest.leuenberger AT canarie.ca <mailto:ernest.leuenberger AT canarie.ca>
| 613-903-5843
From: Tomasz Wolniewicz <twoln AT umk.pl>
Sent: April 23, 2018 12:20 PM
To: Ernest Leuenberger <Ernest.Leuenberger AT canarie.ca>; Thomas Andersen <than AT itu.dk>; cat-users AT lists.geant.org
Subject: Re: [[cat-users]] Geolocation in mobile version of cat.eduroam.org site
Hi,
could you try:
https://cat.eduroam.org/user/API.php?action="locateUser <https://cat.eduroam.org/user/API.php?action="locateUser> and send me the result?
After that, I will update the geoIP DB and see if this helps.
Tomasz
W dniu 23.04.2018 o 16:11, Ernest Leuenberger pisze:
Sorry Tomasz.
My confirmation of the fix was premature. While we get the correct country now, unfortunately everyone apparently gets the Canadian institution that sorts alphabetically first. For me that institution is
located three time zones away.
Thanks,
Ernest Leuenberger | Identity Access Management Support Engineer
https://www.canarie.ca/ <https://www.canarie.ca/> | ernest.leuenberger AT canarie.ca <mailto:ernest.leuenberger AT canarie.ca>
| 613-903-5843
From: Ernest Leuenberger <Ernest.Leuenberger AT canarie.ca> <mailto:Ernest.Leuenberger AT canarie.ca>
Sent: April 20, 2018 10:09 AM
To: Tomasz Wolniewicz <twoln AT umk.pl> <mailto:twoln AT umk.pl> ; Thomas Andersen <than AT itu.dk> <mailto:than AT itu.dk> ; cat-users AT lists.geant.org
<mailto:cat-users AT lists.geant.org>
Subject: RE: [[cat-users]] Geolocation in mobile version of cat.eduroam.org site
Thank Tomasz. Works for me now.
Cheers,
Ernest Leuenberger | Identity Access Management Support Engineer
https://www.canarie.ca/ <https://www.canarie.ca/> | ernest.leuenberger AT canarie.ca <mailto:ernest.leuenberger AT canarie.ca>
| 613-903-5843
From: Tomasz Wolniewicz <twoln AT umk.pl <mailto:twoln AT umk.pl> >
Sent: April 20, 2018 9:39 AM
To: Ernest Leuenberger <Ernest.Leuenberger AT canarie.ca <mailto:Ernest.Leuenberger AT canarie.ca> >; Thomas Andersen <than AT itu.dk <mailto:than AT itu.dk>
>; cat-users AT lists.geant.org <mailto:cat-users AT lists.geant.org>
Subject: Re: [[cat-users]] Geolocation in mobile version of cat.eduroam.org site
Hi all,
found and fixed the bug.
Tomasz
W dniu 11.04.2018 o 15:24, Ernest Leuenberger pisze:
We also get Albania at the top of the list from Canada.
For me it doesn’t make a difference if the phone is on 4G or WIFI or if the browser is allowed access to location or not.
Ernest Leuenberger | Identity Access Management Support Engineer
https://www.canarie.ca/ <https://www.canarie.ca/> | ernest.leuenberger AT canarie.ca <mailto:ernest.leuenberger AT canarie.ca>
| 613-903-5843
From: Thomas Andersen <than AT itu.dk> <mailto:than AT itu.dk>
Sent: April 11, 2018 8:40 AM
To: Ernest Leuenberger <Ernest.Leuenberger AT canarie.ca> <mailto:Ernest.Leuenberger AT canarie.ca> ; cat-users AT lists.geant.org <mailto:cat-users AT lists.geant.org>
Subject: Re: [[cat-users]] Geolocation in mobile version of cat.eduroam.org site
Hi,
We have had a similar issue today.
A user was suggested being in Albania, despite he is in Denmark.
The difference between his devices was that the phone (android 8) was on 4G and the computer was on wired.
It can be mobile operator depended dues to ip geo location?
Br,
Thomas
From: Ernest Leuenberger <Ernest.Leuenberger AT canarie.ca <mailto:Ernest.Leuenberger AT canarie.ca> >
Reply-To: Ernest Leuenberger <Ernest.Leuenberger AT canarie.ca <mailto:Ernest.Leuenberger AT canarie.ca> >
Date: Wednesday, 11 April 2018 at 14.35
To: "cat-users AT lists.geant.org <mailto:cat-users AT lists.geant.org> " <cat-users AT lists.geant.org <mailto:cat-users AT lists.geant.org>
>
Subject: [[cat-users]] Geolocation in mobile version of cat.eduroam.org site
Hi everyone.
This was reported to us by one of our institutions yesterday. Using various browsers on Android or Apple mobile devices to go to cat.eduroam.org results in having to pick from the global list of
countries, institutions, etc. where as using a browser on a laptop (Apple or Windows) gets me directly to nearby institutions. Is this a know issue? Apparently this used to work until recently although I can’t verify this personally.
Thanks,
Ernest Leuenberger | Identity Access Management Support Engineer
https://www.canarie.ca/ <https://www.canarie.ca/> | ernest.leuenberger AT canarie.ca <mailto:ernest.leuenberger AT canarie.ca>
| 613-903-5843
To unsubscribe, send this message:
mailto:sympa AT lists.geant.org?subject=unsubscribe%20cat-users <mailto:sympa AT lists.geant.org?subject=unsubscribe%20cat-users>
Or use the following link:
https://lists.geant.org/sympa/sigrequest/cat-users <https://lists.geant.org/sympa/sigrequest/cat-users>
To unsubscribe, send this message:
mailto:sympa AT lists.geant.org?subject=unsubscribe%20cat-users <mailto:sympa AT lists.geant.org?subject=unsubscribe%20cat-users>
Or use the following link:
https://lists.geant.org/sympa/sigrequest/cat-users <https://lists.geant.org/sympa/sigrequest/cat-users>
--
Tomasz Wolniewicz
twoln AT umk.pl <mailto:twoln AT umk.pl>
http://www.home.umk.pl/~twoln <http://www.home.umk.pl/%7Etwoln>
Uczelniane Centrum Informatyczne Information&Communication Technology Centre
Uniwersytet Mikolaja Kopernika Nicolaus Copernicus University,
pl. Rapackiego 1, Torun pl. Rapackiego 1, Torun, Poland
tel: +48-56-611-2750 fax: +48-56-622-1850 tel kom.: +48-693-032-576
To unsubscribe, send this message:
mailto:sympa AT lists.geant.org?subject=unsubscribe%20cat-users <mailto:sympa AT lists.geant.org?subject=unsubscribe%20cat-users>
Or use the following link:
https://lists.geant.org/sympa/sigrequest/cat-users <https://lists.geant.org/sympa/sigrequest/cat-users>
--
Tomasz Wolniewicz
twoln AT umk.pl <mailto:twoln AT umk.pl>
http://www.home.umk.pl/~twoln <http://www.home.umk.pl/~twoln>
Uczelniane Centrum Informatyczne Information&Communication Technology Centre
Uniwersytet Mikolaja Kopernika Nicolaus Copernicus University,
pl. Rapackiego 1, Torun pl. Rapackiego 1, Torun, Poland
tel: +48-56-611-2750 f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