Giter Site home page Giter Site logo

Comments (9)

Findus23 avatar Findus23 commented on June 2, 2024

Just a quick random guess: A delay before the actual request is sent sounds to me as if it would be delayed by the DNS resolution (and maybe your primary DNS server has a timeout?).

from matomo-mobile-2.

chris-ca avatar chris-ca commented on June 2, 2024

Just a quick random guess: A delay before the actual request is sent sounds to me as if it would be delayed by the DNS resolution (and maybe your primary DNS server has a timeout?).

Thanks for the idea. I've tried and set the Wifi connection to manual configuration, using Google's DNS, but results are the same. Also, shouldn't the mobile browser have the same issue then?

from matomo-mobile-2.

tsteur avatar tsteur commented on June 2, 2024

It appears the app is trying to connect to another endpoint before retrieving data from the actual server. The setting "Anonymous tracking" in the app is disabled.

@chris-ca is there maybe some redirect happening? Like from HTTP to HTTPS? Although this should be visible in the apache logs as well. The app is otherwise not connecting to any other endpoint. Weird it works when eg using a VPN.

I'm actually currently in a different network as well where I had issues with a very small number of sites as well and enabling VPN made it fast. I didn't investigate further as it isn't my network/router. I haven't looked into it but it does sound like some network configuration issue. Here maybe 2 suggestions to look at:

  • MTU Settings: Maximum Transmission Unit (MTU) determines the maximum size of data packets that can be transmitted over the network. If the MTU value is set too high, it can lead to fragmentation and slower speeds. Try lowering the MTU value on your router to see if it improves the performance of the affected sites.
  • Firmware Updates: Check if there are any firmware updates available for your router. Outdated firmware can sometimes cause performance issues. Updating to the latest firmware version may resolve certain compatibility issues and improve overall performance.

from matomo-mobile-2.

chris-ca avatar chris-ca commented on June 2, 2024

@chris-ca is there maybe some redirect happening? Like from HTTP to HTTPS? Although this should be visible in the apache logs as well.

I've checked and there's not other request in the Apache log files.

MTU Settings / Firmware Updates

Does the app use a different TCP stack though than the device browser? Because that's the most inexplicable part for me so far. Unfortunately I don't have control of the router so I cannot modify or check its settings.

from matomo-mobile-2.

tsteur avatar tsteur commented on June 2, 2024

Does the app use a different TCP stack though than the device browser? Because that's the most inexplicable part for me so far. Unfortunately I don't have control of the router so I cannot modify or check its settings.

@chris-ca I'm actually not sure. Does maybe anyone else know?

from matomo-mobile-2.

chris-ca avatar chris-ca commented on June 2, 2024

Yesterday I updated my backup phone (Android 13/LineageOS) to a new nightly for the first time in maybe 3-4 weeks. The issue has disappeared there (now on 20-20230715-nightly-ocean).
My other phone (Android 12/stock) is still facing issues as described above.
Both devices running Matomo app v2.5.2 so it seems indeed like a bug on OS/networking layer.

from matomo-mobile-2.

tsteur avatar tsteur commented on June 2, 2024

Thanks for getting back to us @chris-ca Does this mean we can close this issue assuming it's something to do with the device and less with the app itself?

from matomo-mobile-2.

chris-ca avatar chris-ca commented on June 2, 2024

Yeah, all things considered this looks more like an OS+networking issue so I don't see what matomo app devs could do here

from matomo-mobile-2.

tsteur avatar tsteur commented on June 2, 2024

Thanks @chris-ca

from matomo-mobile-2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.