EFUPW Forums

Main Forums => General Discussion => Topic started by: goate on April 04, 2018, 11:58:12 PM

Title: Are you getting connection timeouts?
Post by: goate on April 04, 2018, 11:58:12 PM
One person on IRC/discord mentioned that he/she started getting connection timeouts after the switch to EE.  I would like for anyone who is experiencing frequent connection timeouts to post here.  Please answer the following questions:
Cheers,
gracken
Title: Re: Are you getting connection timeouts?
Post by: zDark Shadowz on April 05, 2018, 12:05:58 AM
Timeouts can also happen if your upload/download bandwidth is flooded with other programs using it as well, so check the Resource Monitor to see if something else on your computer is using up your bandwidth, or maybe someone else on your network is doing stuff too.

Could also be Steam downloading updates for games, since that might be left running in the background.
Title: Re: Are you getting connection timeouts?
Post by: Pandip on April 10, 2018, 10:59:27 PM
I'm timing out of the server once every couple of hours, if not more often. Has anyone found a solution or a fix for this? It's especially annoying with an enchanted weapon mid-quest.
Title: Re: Are you getting connection timeouts?
Post by: TsunamiWombat on April 13, 2018, 08:05:34 AM
Quote from: Pandip on April 10, 2018, 10:59:27 PMI'm timing out of the server once every couple of hours, if not more often. Has anyone found a solution or a fix for this? It's especially annoying with an enchanted weapon mid-quest.



Experiencing the same, no obvious cause
Title: Re: Are you getting connection timeouts?
Post by: goate on April 14, 2018, 03:20:42 PM
Thanks guys, I'll get with you for some troubleshooting.  Anyone having frequent timeouts, please continue to post here.
Title: Re: Are you getting connection timeouts?
Post by: scribdce on April 17, 2018, 11:44:35 PM
Roughly how frequent are the timeouts?
-I'm timing out of the server once every couple of hours, if not more often.

What country/timezone are you in?
-USA/CST

Is there anything in common between the timeouts?
-In my observation, it seems to be when somebody interacts or uses an item. I've been totally alone out in the wilderness and timed out while going through my UI, leveling or using an item.
Title: Re: Are you getting connection timeouts?
Post by: goate on April 19, 2018, 01:38:19 AM
NOTICE: This post is more to keep me informed than to help the folks having these issues, but it may provide some clues to everyone involved.

[hide=case1]I watched the client connection of one person who is having this timeout issue.  Their client was connecting to the nwn.efupw.com:5121 server from UDP port 1024.    At time N their client started sending packets from UDP port 5120 instead of UDP port 1024.   Changing source ports mid-session should never happen and will easily cause a server socket to disassociate the client's data from the client.    For the next 58 seconds the client and server sent packets at each other - the server continued to send packets at UDP port 1024, and the client continued to send packets from UDP port 5120.   At time N + 58s the client sent a final packet (again, UDP source port 5120) to the server.   This is probably the point at which the client gave up on having  a conversation with the server.

At time N + 284s (about four to five minutes after the port change) the client reconnected to join the game again.  This is the time at which the timeout was reported.

This issue might be caused by the home router.  NAT (which all home routers use to share an internet connection among a household) changes source IP addresses. and can also (rarely) play change ports.   This could also conceivably be caused by the client machine jumping between two routers, connecting to one wireless router and then connecting to another.[/hide]
Title: Re: Are you getting connection timeouts?
Post by: zDark Shadowz on April 19, 2018, 04:00:59 AM
Are they running third party software that tries to change ports or reroute to different servers to 'increase speed'? Things like pingzapper might interfere.

If they're running off mobile data, the tendency for switching networks would do it as well.

Just throwing out ideas for possible causes.
Title: Re: Are you getting connection timeouts?
Post by: goate on April 19, 2018, 05:20:55 PM

NOTICE: This post is more to keep me informed than to help the folks having these issues, but it may provide some clues to everyone involved.

[hide=case2]This case is the exact opposite of case1.  The client in case2 was connecting to the nwn.efupw.com:5121 server from UDP port 5120.    At time N (frame 9857) their client started sending packets from UDP port 1024 instead of UDP port 5120.   For the next 58 seconds the client and server sent packets at each other - the server continued to send packets at UDP port 5020, and the client continued to send packets from UDP port 1024.   At time N + 58s (frame 10085) the client sent a final packet (again, UDP source port 1024) to the server.   This is probably the point at which the client gave up on having  a conversation with the server.

At time N + 92s (frame 10085, ~1.5 minutes after the port change) the client reconnected to join the game again.  The new conversation was from UDP port 1024 (client) to nwn.efupw.com:5121.

The fact that it's the exact same two source ports involved (UDP 1024 and UDP 5120) makes me wonder if this isn't a bug in the NWN EE client.[/hide]
Title: Re: Are you getting connection timeouts?
Post by: Kotenku on April 19, 2018, 09:39:32 PM
gracken,

do you have a case of what a healthy connection pattern looks like for comparison?