Re: [PLUG] Quantum fiber WhatsApp latency issue

2024-04-11 Thread mo
An great thorough reply! If I cared enough to undertake all this, I'd do
exactly what you suggested. Fortunately I have more curiosity than concern
 & PLUG has adequately appeased my curiosity.

On Wed, Apr 10, 2024, 17:45 Russell Senior 
wrote:

> On Wed, Apr 10, 2024 at 5:18 PM mo  wrote:
>
> > How do I gather more data?
> >
>
> Get between your phone and whatsapp servers and run tcpdump -s0 -w
> /tmp/capture.pcap -i $LANIFACE ether host $PHONEMACADDR, where $LANIFACE is
> your router's interface closer to the phone and $PHONEMACADDR is the MAC
> address that the phone is using on your network. Note that modern phone
> operating systems randomize the MAC address they use on each wifi network
> for the sake of privacy. You'll have to figure out what it is using either
> by looking in the phone or by looking at the DHCP lease your router
> provided. Then, let it run for as long as it takes to send your whatsapp
> message, but minimize other traffic on the phone, because the tcpdump will
> need to copy/store everything to and from the device. Then copy the
> /tmp/capture.pcap to a real computer and run wireshark on it, e.g.:
> wireshark capture.pcap
>
> And then stare at wireshare until it makes sense. The payloads of the
> messages will be encrypted, but the envelopes/headers and their timing
> should provide information.
>
> That's how I would do approach the problem.
>
>
>
> >
> > On Wed, Apr 10, 2024, 16:09 Russell Senior 
> > wrote:
> >
> > > It could be some weird DNS or maybe even ipv6 related timeout problem.
> > Wild
> > > added guessing. More data means less guessing.
> > >
> > > --
> > > Russell Senior
> > > russ...@personaltelco.net
> > >
> > > On Wed, Apr 10, 2024, 14:13 Tomas Kuchta  >
> > > wrote:
> > >
> > > > On Wed, Apr 10, 2024, 06:02 Russell Senior <
> russ...@personaltelco.net>
> > > > wrote:
> > > >
> > > > > If you manage your own gateway, using OpenWrt for example, you
> could
> > > put
> > > > > your own diagnostic tools (like tcpdump) on that gateway and, for
> > > > example,
> > > > > capture the transactions from your phone to whatsapp servers. If
> you
> > > > don't
> > > > > manage your own gateway, then you might be stuck asking
> > > > CenturyLink/Quantum
> > > > > what's going on.
> > > > >
> > > > > I'm not a whatsapp user, so I don't have any personal insight.
> > > > >
> > > > > --
> > > > > Russell Senior
> > > > > russ...@personaltelco.net
> > > > >
> > > > > On Tue, Apr 9, 2024 at 10:43 PM mo  wrote:
> > > > >
> > > > > > Hi. I've Quantum fiber. It has latency issues with WhatsApp. Any
> > idea
> > > > > why &
> > > > > > how to resolve this?
> > > > > >
> > > > > > I've no other issues with them. Using the WiFi. All other sites
> > apps
> > > > etc
> > > > > > have no noticeable latency. WhatsApp takes minutes to send a
> > message
> > > &
> > > > > > receives messages minutes after someone sends. However if I turn
> of
> > > > WiFi
> > > > > &
> > > > > > switch to cellular data (TMO) it immediately sends & receives the
> > > > > > backlogged messages. The latency can be up to 10 min sometimes.
> > > > > >
> > > > > > Thoughts?
> > > > > >
> > > > >
> > > >
> > > > Minutes difference is unlikely to be network related. Unless, of
> > course,
> > > a
> > > > three letter agency?
> > > >
> > > > It may be that the cell phone app update events are more timely when
> it
> > > can
> > > > see the celular network than with WiFi.
> > > >
> > > > Just my 2¢,
> > > > T
> > > >
> > > > >
> > > >
> > >
> >
>


Re: [PLUG] Quantum fiber WhatsApp latency issue

2024-04-11 Thread mo
I would agree with you except that when I switch over to my other WiFi (I
have 2 different ISPs here) WhatsApp has no latency. Also no other app
(signal gv etc) have latency on either ISP. It's only WhatsApp when using
quantum fiber. Also it's not consistent; sometimes it's immediate for half
day while sometimes it's 2-10 min latency for half day.

But you are correct, no latency ever on either ISP for WhatsApp calls. It
is only for messages. Overall, your push notifications explanation makes
sense. & I can live with this latency too; idc, nothing anyone sends or
shares is worth the immediacy humans think they merit. 

But what conspiracy theories? I am ok being Meta's product in exchange for
this free service. All these ppl running around complaining about that but
still using all this social media crap are humorous hypocrisy at best.

On Wed, Apr 10, 2024, 23:47 Ted Mittelstaedt  wrote:

> This is because of a fundamental misunderstanding of how cell phone apps
> like whazzupapp work.
>
> I would bet money you are NOT seeing this "latency" when you make a phone
> call from your whatsapp to another whatsapp on some other cell phone.  It's
> only when you are sending instant messages.
>
> Let me explain what's likely going on here.
>
> The whatsapp app likely uses push notification.  What that means is when
> your phone is on your cellular data network the app registers into the cell
> tower.  Then goes to sleep.  When a text comes to you, the tower sends out
> a push notification that wakes up the whatsapp app on your phone and you
> get the text.
>
> This allows minimal battery usage on your phone.
>
> Here's a dumbed-down explanation of push
>
> https://www.airship.com/resources/explainer/push-notifications-explained/
>
> Anyway, the whatsapp almost certainly has push turned OFF when the phone
> is on a wifi data network because they have to pay the mobile carriers for
> push access.  In that case the app is polling the server over the
> internet.  Likely once every 10 minutes.  Otherwise their server would melt
> down if it polled every second.
>
> There have been complaints on "latency" on this app for over a decade.
> Here's a typical one:
>
>
> https://xdaforums.com/t/whatsapp-messages-delayed-only-on-my-home-wifi.1941623/
>
> There ain't nuthin wrong with anything here.  The app is working as it's
> designed to work.
>
> If you live in the US of A, a free country with privacy rights then set
> aside your conspiracy theories and toss whatsapp in the garbage.
>
> If you live in China, my condolences you are stuck with this behavior.
> But at least the men in black won't be breaking down your door in the
> middle of the night.
>
> Ted
>
> -Original Message-
> From: PLUG  On Behalf Of mo
> Sent: Tuesday, April 9, 2024 10:43 PM
> To: plug@lists.pdxlinux.org
> Subject: [PLUG] Quantum fiber WhatsApp latency issue
>
> Hi. I've Quantum fiber. It has latency issues with WhatsApp. Any idea why
> & how to resolve this?
>
> I've no other issues with them. Using the WiFi. All other sites apps etc
> have no noticeable latency. WhatsApp takes minutes to send a message &
> receives messages minutes after someone sends. However if I turn of WiFi &
> switch to cellular data (TMO) it immediately sends & receives the
> backlogged messages. The latency can be up to 10 min sometimes.
>
> Thoughts?
>
>


Re: [PLUG] Quantum fiber WhatsApp latency issue

2024-04-11 Thread Ted Mittelstaedt
This is because of a fundamental misunderstanding of how cell phone apps like 
whazzupapp work.

I would bet money you are NOT seeing this "latency" when you make a phone call 
from your whatsapp to another whatsapp on some other cell phone.  It's only 
when you are sending instant messages.

Let me explain what's likely going on here.

The whatsapp app likely uses push notification.  What that means is when your 
phone is on your cellular data network the app registers into the cell tower.  
Then goes to sleep.  When a text comes to you, the tower sends out a push 
notification that wakes up the whatsapp app on your phone and you get the text.

This allows minimal battery usage on your phone.

Here's a dumbed-down explanation of push

https://www.airship.com/resources/explainer/push-notifications-explained/

Anyway, the whatsapp almost certainly has push turned OFF when the phone is on 
a wifi data network because they have to pay the mobile carriers for push 
access.  In that case the app is polling the server over the internet.  Likely 
once every 10 minutes.  Otherwise their server would melt down if it polled 
every second.

There have been complaints on "latency" on this app for over a decade.  Here's 
a typical one:

https://xdaforums.com/t/whatsapp-messages-delayed-only-on-my-home-wifi.1941623/

There ain't nuthin wrong with anything here.  The app is working as it's 
designed to work.

If you live in the US of A, a free country with privacy rights then set aside 
your conspiracy theories and toss whatsapp in the garbage.

If you live in China, my condolences you are stuck with this behavior.  But at 
least the men in black won't be breaking down your door in the middle of the 
night.

Ted

-Original Message-
From: PLUG  On Behalf Of mo
Sent: Tuesday, April 9, 2024 10:43 PM
To: plug@lists.pdxlinux.org
Subject: [PLUG] Quantum fiber WhatsApp latency issue

Hi. I've Quantum fiber. It has latency issues with WhatsApp. Any idea why & how 
to resolve this?

I've no other issues with them. Using the WiFi. All other sites apps etc have 
no noticeable latency. WhatsApp takes minutes to send a message & receives 
messages minutes after someone sends. However if I turn of WiFi & switch to 
cellular data (TMO) it immediately sends & receives the backlogged messages. 
The latency can be up to 10 min sometimes.

Thoughts?