Geocaching4Locus: can't login, access granted but plugin/locus can't see it?

PeeJay shared this problem 1 week ago
Not a Problem

hi!

I can't get this plugin to work :(

It can't login to my account - everytime when I enter my credentials it asks for granting the access to geocaching.com, but when I grant it - it says "no network connection".


device: Pixel 2XL, Oreo 8.1 the newest available today [2018.06.10]

Locus Map Pro 3.31.0

Geocaching4Locus 2.2.4 (48529c5)

All permissions given, no battery optimization turned on, full wifi & mobile network access.

I also can see at geocaching.com that Locus and the plugin have access to my account.

how to solve it?

Comments (6)

photo
1

Hello PeeJay,

Sorry for later answer, I was a little bit busy.

I'd tested on my phone (Samsung Galaxy S7, Android 7) a few seconds ago and it works OK. Could you please try it again. If the problem remains, please send me add-on logs immediately after the attempt. In Geocaching4Locus Dashboard click on Settings, About and there click on Send feedback. It should open e-mail client on your Android device with attached zipped logs. Just send it, that's all.

Regards,Arcao.

photo
1

hi!

no problem! I've just send the feedback. still the same issue :(

photo
1

Hello PeeJay,

That's strange it looks like something blocks access to Geocaching API server (mean, tour DNS server can't translate Geocaching API hostname to IP address):

Unable to resolve host "api.groundspeak.com": No address associated with hostname 

Do you use proxy server or something similar?

photo
1

thanks for the hint!

no proxy server at my side, but your info got me thinking.. I use AdAway, after turning it off, plugin started to work - but as I want to continue my AdAway useage, I turned on DNS Requests logger inside AdAway, and while playing with your plugin, I've got lots of hosts - but I believe, that most of them are not plugin-related, they are just asked by other running apps. unfortunately I can't save it to txt file and send for analysis, but I can whitelist some hosts directly from the log :)

so - is there any other hosts besides api.groundspeak.com [it is in the log too] that I should whitelist? geocaching.com for example?

photo
1

You just need to allow at least these hostnames:

  • www.geocaching.com (for login)
  • api.groundspeak.com (for retrieving geocaching data)
  • wherigo-service.appspot.com (guid to GC code resolver, time resolving fix for oauth login)

Rest hostnames are for analytics and app crash reporting, which are not important for app functionality.

photo
1

thanks! in the meantime I've noticed, that AdAway probably wasn't the problem.. I switched from my home wi-fi to mobile network [yep, the simple solution that didn't came to my head first..] and it seems to be working good. So I have to recheck my wi-fi settings, maybe there's some checkmark or small switch turned on and it's messing up the connection..

photo