Connection unexpectedly closed by server

Post Reply
Kev73
Posts: 5
Joined: Tue Mar 04, 2003 5:49 pm

Connection unexpectedly closed by server

Post by Kev73 »

I'm using the d-link wireless router di-614 and get lot's of "connection unexpectedly closed by server" and "too many connetions" messages from Newsfeeds servers. Limit per server is set to 3 in Newspro.

I guess the router is having problems with too many connetions from Newspro.

Anybody knows any help? Do I need to open any ports?
alex
Posts: 4549
Joined: Thu Feb 27, 2003 5:57 pm

Post by alex »

it is winsock condition, when an application tries to read from socket and read (recv) returns 0 bytes, it is not even considered as an error here are the docs:

"If no error occurs, recv returns the number of bytes received. If the connection has been gracefully closed, the return value is zero. Otherwise, a value of SOCKET_ERROR is returned, and a specific error code can be retrieved by calling WSAGetLastError."

since newspro doesn't close the connection - it is closed outside, but most probably it is your local problem, something connected with the router, otherwise everyone would experience it. try to check whether you are experiencing the same problems when you are connected directly without the router.
Kev73
Posts: 5
Joined: Tue Mar 04, 2003 5:49 pm

Post by Kev73 »

I'm experiencing the problem only when connected through the router. Direct connection to the cable modem works ok.
alex
Posts: 4549
Joined: Thu Feb 27, 2003 5:57 pm

Post by alex »

so then it is some defect of the router or its wrong settings. you don't feel it e.g. while browsing the web since there there is no limit on the number of connections. try to resolve that through their support.
Kev73
Posts: 5
Joined: Tue Mar 04, 2003 5:49 pm

Post by Kev73 »

I checked their support site and found the following entry. I guess this might resolve the issue. I still don't know the ports and the protocol though. I'm using Newsfeeds, Teranews and Astraweb.

Sometimes I also get "page not found" errors when browsing the web in many different windows through the wireless router.

I appreciate your help.

Special Applications
Some applications require multiple connections, such as Internet gaming, video conferencing, Internet telephony and others. These applications have difficulties working through NAT (Network Address Translation). If you need to run applications that require multiple connections, specify the port normally associated with an application in the "Trigger Port" field, select the protocol type as TCP (Transmission Control Protocol) or UDP (User Datagram Protocol), then enter the public ports associated with the trigger port to open them for inbound traffic. At the bottom of the screen, there are already defined well-known special applications. To use them, click on the edit icon and enable the service.
Name - This is the name referencing the special application.
Trigger Port - This is the port used to trigger the application. It can be either a single port or a range of ports.
Trigger Type - This is the protocol used to trigger the special application.
Public Port - This is the port number on the WAN side that will be used to access the application. You may define a single port or a range of ports. You can use a comma to add multiple ports or port ranges.
Public Type - This is the protocol used for the special application.
alex
Posts: 4549
Joined: Thu Feb 27, 2003 5:57 pm

Post by alex »

there is nothing special in opening multiple connections, should be no association with NAT (which is just a sequence of rules that don't depend on the number of connections). the NNTP protocol is TCP.
bassie
Posts: 490
Joined: Sat Jul 19, 2003 9:58 am
Contact:

Post by bassie »

I don't use a router at the moment.

But when i used one (sitecom dc 202) i never had problems with newspro, or in fact any other newsgroup reader.
I used to have problems with online gaming though, and some P2P shareware programs. Also at high data speeds it had the urge to crash suddenly. Finally - despite hopefull intermediate router firmware upgrades - it kept on crashing, so i decided to disconnect it and use a direct connection.
Sometimes i wish there were routers that only have this function, and that they did not have those difficult firewall inside them. When i bought the router i thought that it only would have this function, i was wrong.

Maybe you could try this:
1) put your main computer in the DMZ zone (DeMilitarized Zone) that puts your computer outside the firewall (they say at least).
2) Maybe you can do some port forwarding on your router (used to help me with internet games). So this means that all incoming data to that port, must be directed to your computer.
3) look how to make virtual servers within the software of your router.
4) usually the router keeps a log of blocked data transport, maybe you see a lot of the same port numbers apearing. Check it out.
Post Reply