Transmit Server Closed Connection.

Next, close the “Key” settings window and click again on the Key icon under the Server settings. Select the previously imported key and click “Add to servers“. Now the connection should be listed in the Servers section in Transmit. Double-click on the connection in Servers to open SFTP connection to the server. Re: The state server has closed an expired TCP/IP connection. Event id is 1078. CPU utilization is normal and the IIS configurations are the same as they are on other servers where the same application is working perfectly. The server idle timeout is 120 (minutes) and set the memory limit 409600 (kb) for recycling.

I/O Error: DB server closed connection; View This Post. Design and Development — sam.ghelani (Customer) asked a question. September 9, 2015 at 12:03 AM.

-->

This article helps you resolve the FTP download session fails problem that occurs when FTP control connection is closed.

Original product version: Internet Information Services
Original KB number: 254722

Symptoms

If the control connection is closed during an FTP download session, the download from the IIS FTP site fails.

Note

This issue usually occurs when a firewall is in use that has been set to close the control connection if no TCP data is transferred after a certain amount of time.

Cause

This is by design. RFC-959 states the following:

Server

... The protocol requires that the control connections be open while data transfer is in progress. It is the responsibility of the user to request the closing of the control connections when finished using the FTP service, while it is the server who takes the action. The server may abort data transfer if the control connections are closed without command...

Workaround

To resolve this issue, try the following workarounds:

  • Use an FTP utility or firewall setting that keeps the control connection open.
  • Use a faster connection.
  • Request that the FTP Site owner break the file that the download fails on into multiple, smaller files.

More information

This scenario usually occurs when you are downloading a large file over a slow connection.

Server Closed Connection

Re: The state server has closed an expired TCP/IP connection

Dec 07, 2018 04:12 PM|Koenemoes|LINK

We have had this issue for a couple of months at seemingly random times and levels of severity. Last week I finally got the extra hint from a seemingly unrelated event.

We also saw a 100% CPU spike on at least 1 IIS app pool which brings down the whole server after a while.

IISRESET was our only solution and this would work.

Long story short: it happened during WSUS updates of our dc's. The AD resync after rebooting them took longer than the configured time window of 1 hour.

So the situation could arise that both DNS servers were offline -> so also no AD

Closed

State server was configured as 'localhost', 127.0.0.1 would not have had this issue. I check by disassembling webengine4.dll. It returns something like 'connection closed by remote host' HRESULT 72746.

But system.web interprets this as the session being locked by a concurrent query and keeps retrying at full speed. This created an infinite loop of failing socket connections PER SESSION!

And that is why cpu got to 100%. It fills up the request queue, still waiting for the session data and then fajils completely with http 503 for all appools.

Transmit Server Closed Connection

Our logs also showed connection issues to our sql because ad was down.

We were so focussed on the 100% cpu being the cause, but it was only a symptom. The fact that this error logged in event viewer was very misleading in my case.

In the end it was a quick 1 minute fix of the DC. -> no more emergency wake up calls for me :)

This was a perfect storm of timing events and small config mistakes which led to misleading logs and cpu spike by a asp.net bug...? Why keep retrying to read the session data if it won't work due to dns. Just end the webrequest there and log sometinhg like: NameResolution Failed instead of connection timeout