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

No Datatransfer in Mobile Phone network #1701

Open
Tuc69 opened this issue May 3, 2024 · 35 comments
Open

No Datatransfer in Mobile Phone network #1701

Tuc69 opened this issue May 3, 2024 · 35 comments

Comments

@Tuc69
Copy link

Tuc69 commented May 3, 2024

In Beta 2.5 all works fine in a WLAN at home.but when on the Road the queue grows and nothing ist transferred via LTE or 5G.
Settings are OK and all other Apps can transfer data.

@jpmens
Copy link
Member

jpmens commented May 3, 2024 via email

@jpmens
Copy link
Member

jpmens commented May 3, 2024

There is a reason, you know, why issue trackers have a template like we do:

<!--
Thanks for asking a question or wanting to report an issue you've found.
Please delete this text and fill in the template below.
If unsure about something, just do as best as you're able.

Make sure to read http://owntracks.org/booklet/features/android/ for a list
of known issues and restrictions before posting. Thank you.
-->

* **App build number**: <!-- See About, then line under Changelog, Version -->
* **Android version**: <!-- See Device Preferences, System, About Phone, Android Version -->
* **Device**: <!-- Manufacturer and Device name -->
* **Installation source**: <!-- Did you install from Google Play, F-Droid, or manually from the APK? -->

@Tuc69
Copy link
Author

Tuc69 commented May 4, 2024 via email

@Tuc69
Copy link
Author

Tuc69 commented May 4, 2024 via email

@jpmens
Copy link
Member

jpmens commented May 4, 2024

Be advised I'm having to delete > 60 KB of garbage from your emails, and that they contain your address in the signature. The deleted comments remain on github; there's nothing we can do about it.

Also keep in mind that our Android dev speaks English. ;)

@wir3z
Copy link
Contributor

wir3z commented May 16, 2024

2.5.0 Beta 1 had an issue that could prevent data transfer. 2.5.0 Beta 2 fixes this. I'd suggest you update to the latest version and confirm this is still an issue, as I suspect it's already been addressed.

@Tuc69
Copy link
Author

Tuc69 commented May 17, 2024 via email

@growse
Copy link
Collaborator

growse commented May 17, 2024

Your log cut off before 0646 (which is where I assume it gets interesting).

Might be a github limit. Can you attach as an attachment?

@Tuc69
Copy link
Author

Tuc69 commented May 17, 2024 via email

@wir3z
Copy link
Contributor

wir3z commented May 17, 2024

You seem to be sync'ing A LOT of contact locations back to the app! Have you tried turning that off to see if mobile data updates are fine? You might be reaching a timeout on the transfer (I have seen that when sending too large of image cards).

If it's only happening on the mobile data and not wifi, that sounds like more of a limit of the mobile carrier network than inside the app though.

@Tuc69
Copy link
Author

Tuc69 commented May 17, 2024 via email

@growse
Copy link
Collaborator

growse commented May 17, 2024

2 questions:

  1. What does the connection state say when you're on mobile. Connecting? Timed out?
  2. Can you access your endpoint on mobile with your browser?

@Tuc69
Copy link
Author

Tuc69 commented May 17, 2024 via email

@growse
Copy link
Collaborator

growse commented May 18, 2024

I'll try and add some more specific logging on http and cut a new beta later today.

@Tuc69
Copy link
Author

Tuc69 commented May 19, 2024 via email

@wir3z
Copy link
Contributor

wir3z commented May 19, 2024

What sort of endpoint is it the mobile app calling into?

@Tuc69
Copy link
Author

Tuc69 commented May 19, 2024 via email

@Tuc69
Copy link
Author

Tuc69 commented Jun 12, 2024 via email

@jpmens
Copy link
Member

jpmens commented Jun 12, 2024

@Tuc69 screenshots are not attached when responding by mail.

@Tuc69
Copy link
Author

Tuc69 commented Jun 12, 2024

Screenshot_20240612-073404
here is the screenshot

@growse
Copy link
Collaborator

growse commented Jul 1, 2024

I can't replicate this at all. Across multiple devices and network contexts (mobile and wifi), I don't see any issues with mobile data just "stopping".

@Tuc69
Copy link
Author

Tuc69 commented Jul 1, 2024 via email

@wir3z
Copy link
Contributor

wir3z commented Jul 1, 2024

When you say "beta 13" are you talking about Android 13 Beta? Those builds can be buggy and that might be your issue right there.

@Tuc69
Copy link
Author

Tuc69 commented Jul 1, 2024 via email

@wir3z
Copy link
Contributor

wir3z commented Jul 1, 2024

This might be an issue with the Motorola. Even though it's running Android, they all do their "twist" to the OS for their needs. If you ever have seen a Samsung, it doesn't remotely look the same as a pure Android that you see on a Pixel for example. They might be suspending apps when on mobile data to give better battery life numbers.

If you leave the OwnTracks app open in the foreground, this still happens when the screen is locked?

@Tuc69
Copy link
Author

Tuc69 commented Jul 1, 2024 via email

@wir3z
Copy link
Contributor

wir3z commented Jul 1, 2024

Do you get email notifications on those phones when they are locked as well? Maybe your mobile provider configures the phones to restrict background data transfers?

@Tuc69
Copy link
Author

Tuc69 commented Jul 1, 2024 via email

@wir3z
Copy link
Contributor

wir3z commented Jul 1, 2024

Which version of Android are you using? They did a change with the battery optimization menu in a recent Android 14 update:

  1. Select 'Settings' -> 'Apps' -> 'OwnTracks' - > 'App Battery Usage'.
  2. For Android 14 QPR1 and older with the three radio box selection, select the 'Unrestricted' radio button:
    Screenshot 2024-07-01 130813
  3. For Android 14 QPR2 and newer with the single 'Allow background usage' slider:
  • Select the slider.
  • Tap the text for 'Allow background usage'.
  • Select 'Unrestricted'.
    Screenshot 2024-07-01 130743

@Tuc69
Copy link
Author

Tuc69 commented Jul 1, 2024 via email

@wir3z
Copy link
Contributor

wir3z commented Jul 2, 2024

Stupid question, but have you re-installed 2.4.12 and confirmed that it still works as expected? Maybe your mobile provider did a change about the same time you installed 2.5.0.

@Tuc69
Copy link
Author

Tuc69 commented Jul 2, 2024 via email

@Tuc69
Copy link
Author

Tuc69 commented Jul 2, 2024 via email

@wir3z
Copy link
Contributor

wir3z commented Jul 3, 2024

But have you tried uninstalling 2.5.0 and reinstalling 2.4.12 on those phones to see if it fixes it? That might give a clue on where the break point could be.

@Tuc69
Copy link
Author

Tuc69 commented Jul 3, 2024 via email

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

4 participants