Network unavailable over mobile network

R5O.nl shared this question 3 years ago
Answered

I have had this problem for quite some time now on one phone and also with the recent updates of G4L. It does work on another phone though.

When I want to run the Live Map for seeing local caches over mobile network instead of over Wifi, then nothing comes through and after some seconds I get the popup message of network unavailable. In the same mode I can perfectly use Locus Pro to login for loading pocket queries and any other network connection for any app just works fine. When on Wifi then also G4L works fine and shows the live map.


So I am a bit puzzled: is there a way to check for connectivity between the app and gc.com? Which addresses / domain name does it try to connect? Version of G4L I have now is 2.1.4 (98768fa).

Comments (11)

photo
1

Hello R5O.nl,


Could you please send logs via Geocaching4Locus -> Preferences -> About -> Send feedback?


Thank you.

photo
1

Thanks for logs. It looks like you can't connect to Geocaching Live API:

04-02 12:59:33.119 E/OkHttpClientJsonDownloader( 3658): Failed to connect to api.groundspeak.com/63.251.163.198:443


Could you try to open https://api.groundspeak.com/ in your Android device web browser? It should be empty page.

photo
1

OK, works fine: I used both Chrome and Firefox on that device over mobile data and it browses just fine to that URL. I see the page load, I indeed get an empty page. Interesting eh.

photo
1

Hi guys, not sure what may cause this but because of "rarity" of such issue, I suggest to just restart a device. It's best possible cure on most of problems :).

photo
1

Same idea. :) In logs I see timeout in a receiving data before. So maybe something bad happen in a network layer.

photo
1

Of course I restarted :) Several times.

As I said, this has been bothering me for many many days (I reckon even weeks). The cure is not there.

The puzzling thing is wifi vs mobile data...

photo
1

Last idea. Could you try to reinstall Geocaching4Locus (mean uninstall and install)?

photo
1

OK, I did and now it works over mobile data: Euh !?!?!?!

I now realize: as this is a rooted phone (runs AOSP 5.1.1 R_latest) I use TitaniumBackup to backup and restore apps. So when I flash a newer rom on the phone, I re-use the app backup of G4L so I do not have to login again and also have all my settings. Maybe this is triggering something...?


Now I removed G4L and reinstalled and nicely logged in by hand. Now it works. Can we dig this?

Anyhow: thanks for getting this far :)

photo
1

Do you have something like firewall? Because it looks like the network connection was blocked for Geocaching4Locus on mobile network. Reinstalling the application caused removing any blocking rule (my guess).

photo
1

Firewall: yeah, I also was thinking of something like that. I had already disabled AdAway (as it changes the hosts file to refer to 'localhost' for advertising sites).

Or maybe it is/was the setting for 'mobile background data' on Android level for this app. I can now not check what that setting is/was.

I will keep an eye on this and see if I can put an even better finger on the cause. When I learn more I will report of course.

Thanks for now !! You guys are great!


Oh, BTW, now I have the stage: I always contribute in 'getlocalization.com/Geocaching4Locus' and I had been hoping this wrong translation into Dutch would fade away by my edits, but it did not:

Manual (English) --> Handleiding (Dutch, as it should be)

But manual also means 'by means of your hands / manually' and that translation is now used: Handmatig.

So the word 'Handmatig' must be 'Handleiding'.

(Sorry for this piggy back remark...)

photo
1

Arcao: tnx for the translation fix :)