errors in wireshark log

think2

Senior member
Dec 29, 2009
223
2
81
A few weeks ago I asked about how to capture wifi messages because of a problem we're having at my Bridge club we're our tablets sometimes have a problem getting feedback from the scoring PC.

https://community.ubnt.com/t5/UniFi-Wireless/how-to-log-wifi-traffic/m-p/2691423#M371460

We have two ubiquiti ap ac pro access points and Lenovo tablets. We've found one of the problems which is that the scoring PC is taking too long to send the result back - the tablet times out after two seconds which is too short.

The second problem is that some tablets have a problem getting feedback all night. Turning the wifi off and on often helps but it usually goes wrong again, soon after. Last night I captured messages at the scoring PC using wireshark and for IP address 192.168.1.58 there are a huge number of errors for that IP address and the people using the tablet with that address reported the tablet had lots of problems all night. The capture file is here
https://drive.google.com/open?id=1VO-fDnAnvejaNo3zm3sFxKlvtdTJmKEw

It shows that the tablet is sending lots and lots of TCP resets and retransmissions. Can anyone suggest what the cause of this is? The problem is not associated with any one particular tablet - lots of them do it at different times. They are Lenovo TB3 710F running Android 5.0.

Thanks for any suggestions.
 

JackMDS

Elite Member
Super Moderator
Oct 25, 1999
29,480
387
126
You seem to act with an assumption that your current hardware "Fit" to do what you want them to do, that the size of a network that your are using is OK, and it is just a matter of find something wrong in your current system.

My believe is the Tablets by there own design are Not meant to work in such a Network situation.

To solve such a problem you might need a step by step research spending (could be large amount) funds to re-build a network that can do what you want it to do.

You probably need a much faster server, many more APs and might be other type of tablets.

The fact that each Tablet have a Good signal with the current Network does not mean that when large system has to work in tandum it has the hardware capacity to do so.

 

think2

Senior member
Dec 29, 2009
223
2
81
Your comments are nonsense. The traffic sent between tablets and the scoring PC is very very small - maybe something like a total of 2000 TCP connections over a three hour period across all tablets - ten a minute. Windows can handle 220000 simultaneous TCP connections.
 

JackMDS

Elite Member
Super Moderator
Oct 25, 1999
29,480
387
126
Your comments are nonsense.


LOL!!! Thank you for your appreciation and tutoring. "6 no trump".

I guess that 40 years of computer engineering with emphasis on Networking is not enough for a bridge Club.


 

think2

Senior member
Dec 29, 2009
223
2
81
Thanks, that's helpful. Here's some more detail

A tablet that is struggling to get feedback is sending a TCP connection reset (RST) right at the start of the TCP transaction e.g. - (source port is 57727)
2136.258745 192.168.1.58 192.168.1.10 57727 -> 9000 [SYN] Seq = 0
2136.258893 192.168.10.1 192.168.1.58 9000 -> 57727 [SYN,ACK] Seq = 0
2136.354344 192.168.1.58 192.168.10.1 57727 -> 9000 [RST] Seq = 1
2137.256806 192.168.1.58 192.168.10.1 57727 -> 9000 [TCP Retransmission] Seq = 0
2137.256901 192.168.10.1 192.168.1.58 9000 -> 57727 [segment not captured, port numbers re-used]
2136.354344 192.168.1.58 192.168.10.1 57727 -> 9000 [RST] Seq = 1
Often the TCP reset comes back really fast - 3 milliseconds e.g.
2254.954148 192.168.1.58 192.168.1.10 54281 -> 9000 [SYN] Seq = 0
2254.954254 192.168.10.1 192.168.1.58 9000 -> 54281 [SYN,ACK] Seq = 0
2254.957301 192.168.1.58 192.168.10.1 54281 -> 9000 [RST] Seq = 1

I've compared the [SYN,ACK] sent by the PC against a successful one and there is no difference.
 

think2

Senior member
Dec 29, 2009
223
2
81
Found that Wireshark's Analyze menu - Expert Information shows there are a lot of connections on port 9000 if you click open each line.

Thanks for looking at it. 2000 connections is about right - over three hours.
 

mxnerd

Diamond Member
Jul 6, 2007
6,799
1,101
126
I'm a novice on Wireshark, can't really help much unless I learn something new by accident.

But like I said, you better find what app is using that port. (Well, maybe that's the port used by BridgeTab server?)
 
Last edited:
Feb 25, 2011
16,823
1,493
126
How many tablets?

Dodgy wifi like that is usually either too many devices connecting to the WAP or tablets with cheap NICs that can see a signal from the WAP just fine, but aren't powerful enough to punch a signal back to it. (In both cases, the devices will report a "good" or "excellent" wifi signal, but connections will cut in and out.)

Get a single tablet and a single WAP within arms reach and LOS of each other and see if you can replicate the problem. If you can't, add tablets and move crap around until you do.

Wifi can also be messed with by external sources of interference. Even fluorescent lighting.

Is the wifi network accessible for other client devices? If you've got 50 people with 50 tablets, the device count could be 100+ once everybody's cell phone connects. Reasonable limits for Ubiquiti devices are listed as 50-250 per WAP, depending on the model. IRL it's usually half whatever the company pretends it is.
 

dionasaur

Member
Nov 2, 2009
84
0
66
Just a few thoughts:

How far apart are the 2 Access Points?
Are they broadcasting the same exact SSID?

As I have recently done tuning of Unifi APs, this has helped tremendously in resets and retransmission errors as I had issues with endpoints bouncing between access points because radio settings were set on auto.
 

think2

Senior member
Dec 29, 2009
223
2
81
I posted a question on a wireshark forum and some incredibly observant person noticed that for the SYN -> ACK messages that open a TCP connection, the source mac address in the SYN is different to the destination mac address in the ACK sent by the PC i.e. the ACK is going to a different access point than the SYN arrived on. Every time this happens a spurious reset occurs. For a successful connection the two mac addresses match on every message I checked. From filtering the wireshark log against one mac address and then the other, 50% are from one access point and 33% from the other one. They should all be from the same access point.

At the moment the two access points have exactly the same SSID and password. We're going to try switching one off or giving them different SSIDs.

@mxnerd - Thanks for looking at it. I think the messages at time 135 are because the tablet is setting itself up. The messages at time 360 are the tablet getting sent the name and registration number of every registered Bridge player in my entire country. I'm even in there!!

@dionasaur - the two access points are around 50 meters apart and fairly high up - more than a normal ceiling. Ah, now that I read your post again I see you've pointed out what the problem is. Our tablets are indeed set up to swap access points when necessary - and they appear to be bouncing like you say!! Thanks.

@mxnerd - wow, great link about VB6. The software is indeed ancient looking. I thought maybe even a "TK" gui it looks so bad. We actually have two problems, the mac address one plus the tablet has a two second timeout where if it doesn't get a response within two seconds it prompts the player to "retry or skip". On some nights we get masses of timeouts. The software maker has given us a new version of tablet software with a configurable timeout to help with that.

@dave_the_nerd - the two access points involved are used only by the Bridge tablets. We have another access point for members who have the authorisation to use it - e..g the manager etc. I didn't know flourescent lighting could affect wifi but the clubrooms are surrounded by apartments and there's a ton of 2GHz signals coming into the building.

Thanks all. Your help is much appreciated.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |