Dropped off after few seconds on every server, 255 ack problem
oberonIT
Join Date: 2012-11-19 Member: 172422Members
Hello,
(I tried all the usual stuffs, playing without mods, deleting %appdata%/natural selection 2/, deleting the userdata, reinstalling, integrity check and stuffs, and still get this)
When I connect to a server I get to login normally for a few seconds, even join teams, spawn and listen to comms, then I get the "disconnected"/unplugged icon on the left, and all the console says is a bunch (around 50) of:
[ 81.759] MainThread : 37.59.11.151:27015 [Client]: Ack 255 outside sequence window 45 - 173
Until I eventually time out.
The port and the ack windows vary slightly, but at the end it's the same on every server. I can ping and see the servers, I tried no-ns2+ servers, I changed dns.
I have the tech_support.zip but I'd rather not drop it on the forum.
(another example: [ 91.819] MainThread : 144.76.119.131:14015 [Client]: Ack 255 outside sequence window 46 - 174)
(I tried all the usual stuffs, playing without mods, deleting %appdata%/natural selection 2/, deleting the userdata, reinstalling, integrity check and stuffs, and still get this)
When I connect to a server I get to login normally for a few seconds, even join teams, spawn and listen to comms, then I get the "disconnected"/unplugged icon on the left, and all the console says is a bunch (around 50) of:
[ 81.759] MainThread : 37.59.11.151:27015 [Client]: Ack 255 outside sequence window 45 - 173
Until I eventually time out.
The port and the ack windows vary slightly, but at the end it's the same on every server. I can ping and see the servers, I tried no-ns2+ servers, I changed dns.
I have the tech_support.zip but I'd rather not drop it on the forum.
(another example: [ 91.819] MainThread : 144.76.119.131:14015 [Client]: Ack 255 outside sequence window 46 - 174)
Comments
Need a time & date obviously.
nevermind the hour get eaten, it was about 23pm (gmt+1)
Be very sure, because people who are running TF2 servers on the same connection have had the same issue.
Ok as your forum name does not match any of the ingame name of folk who were on the taw server, im just guessing the following. I need more info like your game name, ip or ID to make sure it was you.
[4636.167] Main : ClientIPHere : Ack 203 outside sequence window 255 - 127
That line is shown in the server log in oceans of it. (obviously with the ip in it)
So far I see the person in question could finally connect.
Your client port on the Ack spam was 57676. (Ack 203 outside sequence window 255 - 127)
Your client port upon connect was 60658.
You then had a Ack spam of port 63694. (Ack 212 outside sequence window 255 - 127)
The server then threw a error in-between of which im unsure if its related. ([4877.968] Main : Error: Exceeded maximum number of snapshots)
Then you disconnected by normal quit.
You then connected on port 63694.
You did a suicide in-game.
You quit.
Connect on 60886.
Ack spam on 62498. (Ack 228 outside sequence window 255 - 127)
Snapshot error ([5379.989] Main : Error: Exceeded maximum number of snapshots)
Disconnect on timeout.
Hmm, you make me wonder about the snapshot error.. haven't seen that one yet but that does not mean it is related.
ps.. its perfectly normal to have variable client ports.
Then provide us with your techsupport.zip file that's generated by running techsupport.exe from your NS2 folder. (ensure ns2 is closed when you run it)
Will that help?
I dont wanna do it for days obviously if it fills logs that much.
Usually got till sunday before we clean those up at maintenance.
[400.794] MainThread : Packet serial 1 out of order, last 1, diff 0, outOfOrder 1, outLoss 120, inLoss 89
You seem to be encountering a fair amount of lost packets. Ending in a timeout.
First step:
Use http://tools.pingdom.com/ping/ to test the packet loss to the server IP that you are having difficulty with (exclude the port number, and use the resolved address, so for instance phenomundertaker.ddns.net resolves to 31.51.47.102)
Then post the results / picture here for us to look at. This will test your connection to the server without NS2 being involved.
Please run it at least 8 times in a row, and only when you are having difficulty connecting. Packet loss can be a result of many factors, but mostly congestion, so time of day etc does matter.
If you see packet loss there, please look for any loss between your router and your computer. Then post your results here as well.
Also try running pingtest.net just for kicks.
Thanks
EDIT: attempting to ping that server results in a timeout for myself as well, even though I can join in game just fine. Hmmm investigating...
EDIT2 : Looks like server is blocking ICMP - that's why it failed to be pinged. But the good news is that the CDT already knows what is causing this for you.
It has to do with bad routing and the server starts assuming the client got disconnected too early, then the server treats the next packets as new connection while the client treats them as the old session.
So expect a fix soon, and thanks for the data.
good work
Client connecting (80.181.87.223:61984)
[17632.463] Main : 80.181.87.223:64604 : Ack 225 outside sequence window 255 - 127
This shows that the client changes its port during the connection, which is a no-no - the server uses the (host,port) combo to identify a client. So to the server, the old client stops talking and a new client connects that behaves really badly.
The most likely explanation for this is that you are connecting to the internet through a NAT gateway; it translates the local internet address you use to a public address usable on the actual internet.
So the host ip is the NAT gateway ip address, not yours, and the port is a temporary port setup by the NAT gateway to receive replies to the UDP packet you sent.
What seems to happen is that the NAT gateway after a minute or so decides to drop the binding between your UDP socket to the NAT gateway socket, and then when the next packet arrives from you, it gets a new binding; ie a new port. Which breaks things ... badly.
How you connect to the internet would be interesting to know.
I think the network protocol can be updated to handle it though; just add an id to each packet that identifies the peer and remap the return address when packets starts coming in from a new source.
Doable.
http://www.hwupgrade.it/forum/showthread.php?t=2587383 this guy. Can't find an english page for it.
A friend of mine has the same router and no problem tho, so it could be on my end.