Symptoms
Consider the following scenario:
-
You have a computer that is running Windows 7 or Windows Server 2008 R2.
-
A Transport Driver Interface (TDI) filter driver is installed on the computer. For example, a TDI filter driver is installed when you install McAfee VirusScan.
-
An application opens a TCP listening port to receive connections.
In this scenario, the application may receive the following error message:
WSAECONNRESET (10054) Connection reset by peer.
A existing connection was forcibly closed by the remote host.
This issue occurs because the TCP/IP driver does not close an incomplete TCP connection. Instead, the TCP/IP driver sends a notification that the TCP/IP driver is ready to receive data when the incomplete TCP connection is created. Therefore, the application receives an instance of the 10054 error that indicates that a connection is reset when the application receives data from the connection.
Resolution
To resolve this issue, install this hotfix.
Note This hotfix temporarily resolves this issue for application vendors before they migrate their implementation to Windows Filtering Platform (WFP). These application vendors use the TDI filter driver or the TDI extension driver (TDX) on a computer that is running Windows 7 or Windows Server 2008 R2.
Hotfix information
A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing the problem described in this article. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.
If the hotfix is available for download, there is a «Hotfix download available» section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.
Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=supportNote The «Hotfix download available» form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.
Prerequisites
To apply this hotfix, you must be running Windows 7 or Windows Server 2008 R2.
Registry information
Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in WindowsTo enable the hotfix in this package, follow these steps:
-
In Registry Editor, locate the following registry subkey:
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetservicesTcpipParameters
-
If you are running a 32-bit operating system, perform the following step:
Right-click the Parameters registry subkey, point to New, and then click DWORD Value.If you are running a 64-bit operating system, perform the following step:
Right-click the Parameters registry subkey, point to New, and then click DWORD (32-bit) Value.
-
Rename the new registry entry to TdxPrematureConnectIndDisabled and set the value to 1.
Restart requirement
You may have to restart the computer after you apply this hotfix.
Hotfix replacement information
This hotfix does not replace a previously released hotfix.
File information
The global version of this hotfix installs files that have the attributes that are listed in the following tables. The dates and the times for these files are listed in Coordinated Universal Time (UTC). The dates and the times for these files on your local computer are displayed in your local time together with your current daylight saving time (DST) bias. Additionally, the dates and the times may change when you perform certain operations on the files.
Windows 7 and Windows Server 2008 R2 file information notes
Important Windows 7 hotfixes and Windows Server 2008 R2 hotfixes are included in the same packages. However, hotfixes on the Hotfix Request page are listed under both operating systems. To request the hotfix package that applies to one or both operating systems, select the hotfix that is listed under «Windows 7/Windows Server 2008 R2» on the page. Always refer to the «Applies To» section in articles to determine the actual operating system that each hotfix applies to.
-
The MANIFEST files (.manifest) and the MUM files (.mum) that are installed for each environment are listed separately in the «Additional file information for Windows Server 2008 R2 and for Windows 7» section. MUM and MANIFEST files, and the associated security catalog (.cat) files, are extremely important to maintain the state of the updated components. The security catalog files, for which the attributes are not listed, are signed with a Microsoft digital signature.
For all supported x86-based versions of Windows 7
File name |
File version |
File size |
Date |
Time |
Platform |
---|---|---|---|---|---|
Tdx.sys |
6.1.7600.20796 |
74,752 |
09-Sep-2010 |
02:19 |
x86 |
For all supported x64-based versions of Windows 7 and of Windows Server 2008 R2
File name |
File version |
File size |
Date |
Time |
Platform |
---|---|---|---|---|---|
Tdx.sys |
6.1.7600.20796 |
101,376 |
09-Sep-2010 |
02:52 |
x64 |
For all supported IA-64-based versions of Windows Server 2008 R2
File name |
File version |
File size |
Date |
Time |
Platform |
---|---|---|---|---|---|
Tdx.sys |
6.1.7600.20796 |
236,032 |
09-Sep-2010 |
01:47 |
IA-64 |
Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the «Applies to» section.
More Information
For more information about WFP, visit the following Microsoft website:
General information about WFPFor more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates
Additional file information
Additional file information for Windows 7 and for Windows Server 2008 R2
Additional files for all supported x86-based versions of Windows 7
File name |
Package_1_for_kb981344~31bf3856ad364e35~x86~~6.1.2.0.mum |
File version |
Not Applicable |
File size |
1,820 |
Date (UTC) |
09-Sep-2010 |
Time (UTC) |
18:48 |
Platform |
Not Applicable |
File name |
Package_2_for_kb981344~31bf3856ad364e35~x86~~6.1.2.0.mum |
File version |
Not Applicable |
File size |
1,825 |
Date (UTC) |
09-Sep-2010 |
Time (UTC) |
18:48 |
Platform |
Not Applicable |
File name |
Package_3_for_kb981344~31bf3856ad364e35~x86~~6.1.2.0.mum |
File version |
Not Applicable |
File size |
1,805 |
Date (UTC) |
09-Sep-2010 |
Time (UTC) |
18:48 |
Platform |
Not Applicable |
File name |
Package_for_kb981344_rtm~31bf3856ad364e35~x86~~6.1.2.0.mum |
File version |
Not Applicable |
File size |
2,421 |
Date (UTC) |
09-Sep-2010 |
Time (UTC) |
18:48 |
Platform |
Not Applicable |
File name |
X86_bfb7f2e54887b839240a44ae0de89137_31bf3856ad364e35_6.1.7600.20796_none_3f3df7432361a4c5.manifest |
File version |
Not Applicable |
File size |
702 |
Date (UTC) |
09-Sep-2010 |
Time (UTC) |
18:48 |
Platform |
Not Applicable |
File name |
X86_microsoft-windows-tdi-over-tcpip_31bf3856ad364e35_6.1.7600.20796_none_ea93f14a568e0aaf.manifest |
File version |
Not Applicable |
File size |
2,924 |
Date (UTC) |
09-Sep-2010 |
Time (UTC) |
04:58 |
Platform |
Not Applicable |
Additional files for all supported x64-based versions of Windows 7 and of Windows Server 2008 R2
File name |
Amd64_8e30a6e4951f89c20ce3f8a1c04b9f2a_31bf3856ad364e35_6.1.7600.20796_none_8d28eb4c99ddf2d4.manifest |
File version |
Not Applicable |
File size |
706 |
Date (UTC) |
09-Sep-2010 |
Time (UTC) |
18:48 |
Platform |
Not Applicable |
File name |
Amd64_microsoft-windows-tdi-over-tcpip_31bf3856ad364e35_6.1.7600.20796_none_46b28cce0eeb7be5.manifest |
File version |
Not Applicable |
File size |
2,926 |
Date (UTC) |
09-Sep-2010 |
Time (UTC) |
06:11 |
Platform |
Not Applicable |
File name |
Package_1_for_kb981344~31bf3856ad364e35~amd64~~6.1.2.0.mum |
File version |
Not Applicable |
File size |
1,830 |
Date (UTC) |
09-Sep-2010 |
Time (UTC) |
18:48 |
Platform |
Not Applicable |
File name |
Package_2_for_kb981344~31bf3856ad364e35~amd64~~6.1.2.0.mum |
File version |
Not Applicable |
File size |
2,057 |
Date (UTC) |
09-Sep-2010 |
Time (UTC) |
18:48 |
Platform |
Not Applicable |
File name |
Package_3_for_kb981344~31bf3856ad364e35~amd64~~6.1.2.0.mum |
File version |
Not Applicable |
File size |
1,815 |
Date (UTC) |
09-Sep-2010 |
Time (UTC) |
18:48 |
Platform |
Not Applicable |
File name |
Package_for_kb981344_rtm~31bf3856ad364e35~amd64~~6.1.2.0.mum |
File version |
Not Applicable |
File size |
2,659 |
Date (UTC) |
09-Sep-2010 |
Time (UTC) |
18:48 |
Platform |
Not Applicable |
Additional files for all supported IA-64-based versions of Windows Server 2008 R2
File name |
Ia64_0bb425f9d3502a4be9efc4af61147428_31bf3856ad364e35_6.1.7600.20796_none_09467879be47b542.manifest |
File version |
Not Applicable |
File size |
704 |
Date (UTC) |
09-Sep-2010 |
Time (UTC) |
18:48 |
Platform |
Not Applicable |
File name |
Ia64_microsoft-windows-tdi-over-tcpip_31bf3856ad364e35_6.1.7600.20796_none_ea959540568c13ab.manifest |
File version |
Not Applicable |
File size |
2,925 |
Date (UTC) |
09-Sep-2010 |
Time (UTC) |
05:48 |
Platform |
Not Applicable |
File name |
Package_1_for_kb981344~31bf3856ad364e35~ia64~~6.1.2.0.mum |
File version |
Not Applicable |
File size |
2,051 |
Date (UTC) |
09-Sep-2010 |
Time (UTC) |
18:48 |
Platform |
Not Applicable |
File name |
Package_for_kb981344_rtm~31bf3856ad364e35~ia64~~6.1.2.0.mum |
File version |
Not Applicable |
File size |
1,683 |
Date (UTC) |
09-Sep-2010 |
Time (UTC) |
18:48 |
Platform |
Not Applicable |
Need more help?
I receive the ftp socket error 10054 when I try to connect to FTP for an upload. Please fix this problem.
That was a recent support ticket received from one of our customers as part of our Dedicated Support Services.
This FTP error occurs when the existing remote connection is forcibly closed by the remote host.
Today, let’s see the top 6 reasons for the ftp socket error 10054 and how our Support Engineers fix them.
FTP socket error 10054 – A Brief explanation
A socket is the endpoint of client-server communication.
FTP socket error 10054 indicates that the remote host has forcibly terminated or reset the existing connection of the FTP client. And, users see the complete error message as shown below.
Upload failed. Socket Error # 10054 Connection reset by peer.
This broken connection can be at the FTP server side or at the user’s side. So, our Support Engineers primarily check the server logs to determine if this is a network error at the client side or at the server side.
FTP socket error 10054 – Reasons & Solutions
Now, let’s see the main causes of this error and how our Support Engineers rule out each possibility to fix this problem.
1) Remote server issues
FTP socket error 10054 can occur due to the problems at the remote server end. This error usually occurs during the following scenarios.
- The remote host is suddenly rebooted or restarted.
- Network interface of the remote server is disabled.
- User’s account on the remote server is disabled or restricted.
- Too many users logged on to the server.
How we fix?
Firstly, our Support Experts check the availability of the remote host using the ping command.
ping test.remotehost.com
In addition to that, we check the uptime of the server to verify that a reboot has been initiated on the server.
uptime
Thus, we can confirm whether the server reboot created problems for the user. Moreover, we ensure that the network settings on the server are intact and the FTP user is allowed to connect to the remote host.
2) Invalid FTP host
Once we’ve confirmed that there are no issues at the remote host, we then check the FTP client settings. And, one of the common reasons for this error is the use of invalid FTP host address.
Users should enter the hostname details in the FTP host field to initiate a connection. For example, customers usually give it as ftp.servername.com or servername.com.
However, a typo in the FTP hostname or missing hostname field can result in this error. Even a single additional space in the FTP hostname can create problems.
How we fix?
Firstly our Support Experts confirm the DNS connectivity of the FTP host using the dig command.
dig ftp.servername.com
Further, we double check and confirm that customer is using the correct FTP host address in their FTP client.
3) Firewall restrictions
Similarly, firewalls can act up and break the FTP connection. Moreover, Antivirus or Antispyware tools can act as a second layer firewall and close the connections. Even the firewalls at the ISP end, firewall on a router can block connections through FTP ports.
How we fix?
In such cases, we ask the customers to temporarily disable the security applications such as Windows firewall, Antivirus, etc. one by one on their system. This helps us to identify the application that’s exactly creating problems and fix it’s settings.
Likewise, to resolve the firewall issues at the network level, our Support Engineers ask the customers to disable gateways and routers to establish a direct connection. Thus, we can verify if the problem lies at the intermediate level. Once we’ve confirmed that the problem is with the intermediate devices, we ask the customers to work with their ISPs to configure ISP firewall to allow connections to FTP ports.
[Messed up firewall rules on your server? Click here and get one of our Server Experts to fix your firewall rules.]
4) Issues with File transfer mode
File transfer can happen in 2 types – Active and Passive mode, and most of the FTP clients use Passive mode by default. However, some remote servers accept the connections only in Active mode or PORT mode resulting in this error.
How we fix?
The steps to enable Active mode differs based on the FTP client software used by the customers.
So, our Dedicated Engineers get the FTP client details from the users, and help them navigate the settings and enable Active mode. For example, we enable Active mode in Filezilla from Site Manager > Transfer settings > Transfer mode.
5) Connection timeout issues
Ftp socket error 10054 occurs when users try to upload relatively large files which conflict with the internal timeout settings of the FTP client. In other words, when user uploads a large file, the upload process may fail if it’s not completed within the predefined connection timeout limit.
How we fix?
In such cases, we recommend users to increase the connection timeout settings in their FTP client. For example, we increase the connection timeout limit from Edit > Settings > Connection > Timeout > Timeout in seconds.
Alternatively, in some cases we disable this timeout value by making it’s value as 0.
6) Advanced FTP client settings
Some of the FTP clients such as CuteFTP use advanced configurations which may not be compatible with the remote server you’re connecting. For example, some remote servers may be configured to allow only a limited number of connections or sessions. However, some users configure their FTP client to set large number of concurrent file transfers. In such cases, remote server terminates the connection and result in ftp socket error 10054.
Similarly, users set large values for send and receive buffer sizes in their FTP client settings. However, this may conflict with the remote server values and causes problems.
How we fix?
In such cases, our Dedicated Engineers help the customers navigate the FTP client settings and limit the number of concurrent connections. For example, on CuteFTP client, we change this parameter from Tools > Global options > Connection > Per site max concurrent transfers >Transfer.
Moreover, we tweak the send and receive buffer size values accordingly. For instance, we change the buffer size from Tools > Global options > Transfer in CuteFTP.
[Need help in resolving your FTP issue? Our Support Experts can help you here.]
Conclusion
In short, ftp socket error 10054 can occur due to remote server issues, firewall restrictions, and more. Today, we’ve discussed the top 6 reasons for this error and how our Dedicated Engineers fix them.
PREVENT YOUR SERVER FROM CRASHING!
Never again lose customers to poor server speed! Let us help you.
Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.
GET STARTED
var google_conversion_label = «owonCMyG5nEQ0aD71QM»;
1. Ошибка при попытке передать почту на почтовый ящик.
Ошибка Outlook. Ошибка сокета: 10054. Код ошибки: 0x800CCC0E |
Ошибка при соединении с сервером. Учетная запись: ‘КартинаM’, Сервер: ‘smtp.mail.ru’, Протокол: SMTP, Порт: 25, Защита (SSL): Нет, Ошибка сокета: 10054, Код ошибки: 0x800CCC0E
1.1 Собрал файлы, описывающие ошибку сокета 10054 и другие ошибки Winsock. Также собрал файлы описывающие код ошибки 0x800CCC0E и другие почтовой программы Outlook. Все в одном файле — здесь: 10054-800CCC0E.rar или здесь : 10054-800CCC0E.rar
2. Ошибка сокета: 10054
2.1 Вот что говорит Help Microsoft Windows Sockets 2 Reference
WSAECONNRESET (10054) Connection reset by peer.
A existing connection was forcibly closed by the remote host. This normally results if the peer application on the remote host is suddenly stopped, the host is rebooted, or the remote host used a «hard close» (see setsockopt for more information on the SO_LINGER option on the remote socket.)
2.2 Без описаний список кодов всех ошибок WinSock можно найти из файлов WinSock.pas и winsock.h
2.3 Список кодов ошибок и краткое описание ошибок от Microsoft MSDN Windows Sockets Error Codes и от Microsoft Support Windows sockets error codes, values, and meanings
2.4 На русском языке Коды ошибок TCP/IP описывают ошибку 10054 следующим образом :
10054
WSAECONNRESET Connection reset by peer (Соединение сброшено удаленной системой).
Существующее соединение принудительно закрыто удаленной стороной. Обычно это случается в случае неожиданного останова приложения на удаленной стороне, при перезагрузке удаленной машины, или в случае, когда удаленный хост использует «жесткое закрытие» ( setsockopt(SO_LINGER)) удаленного сокета.
2.5 По ссылке Socket error 10054 when testing email alerts описана ошибка и несколько возможных причин
This error happens when a connection is started (and working), but then closed by the other side of things before the SMTP conversation is completed
There are several common reasons:
- The wrong SMTP server was specified (Edit -> Options, Email). Check your email client to see what it’s using for an SMTP server, or talk to your system administratory.
- There is a firewall or antivirus package running that’s aborting the SMTP conversation. This might be something running on your machine (like Norton Antivirus), or some hardware firewall that does stateful inspection. If other software works, but PingPlotter/MultiPing does not, then it’s probably local to your machine — something that is filtering by which application is sending data.
- There might be something wrong with the SMTP server. Try using another email client and make sure the same SMTP server works with that.
2.6 По описанию ошибки сокета 10054 можно сделать предварительный вывод, что соединение начинает работать, следовательно ,скорее всего, с сетью проблем нет. Однако какие то проблемы с сервером ‘smtp.mail.ru’ (в данном конкретном случае).Если ошибка не устраняется сама через некоторое время, то скорее всего, ошибка в настройках SMTP — сервера Надо внимательно проверить настройки SMTP- сервера.
3. Код ошибки: 0x800CCC0E
0x800CCC0E IXP_E_FAILED_TO_CONNECT Не удается подключиться к серверу
3.2. В интернет документе Коды ошибок электронной почты приведены некоторые методы устранения этой и некоторых других ошибок:
0x800CCC0E FAILED_TO_CONNECT. Не удается подключиться к серверу
—Если Нортон Антивирус установлен, то возможно проблема в нем .
—Можете ли вы открыть веб-страницы? Если это так, то вы может просто неправильно ввели адрес почтового сервера на учетной записи или сервер именно сейчас может быть недоступен.
—Если вы не можете открыть веб-страницы, то разорвите интернет соединение и попробуйте подключиться снова
—Перезагрузите компьютер и повторите попытку.
—Если он по-прежнему не работает, и вы не получаете любые веб-страницы, то данные могут передаваться через сеть надлежащим образом. Проверить настройки DNS, удалить и переустановить TCP / IP в Панель управления> Сеть (Control Panel > Network).
—Можно попробовать удалить кэш DNS командой ipconfig /flushdns (Пуск -> Все программы -> Стандартные -> Командная строка. Вести в командную строку ipconfig /flushdns)
—Эта ошибка может появиться, если у вас есть опция ‘уведомьте меня, если есть какие-нибудь новые группы новостей’ выбран, но не имеете созданной учетной записи новостей. Зайдите в меню Сервис> Свойства обозревателя> Общие TAB (TOOLS > OPTIONS > GENERAL TAB) и отключите эту опцию.
3.3 В описаниях ошибки сказано , что возможно вы неправильно ввели адрес сервера в учетной записи . Так что в совокупности ошибок сокета и Outlook –а , вероятнее всего какая то ошибка в настройках сервера ‘smtp.mail.ru’.
4. Причина ошибки.
—Оказалась в настройках сервера ‘smtp.mail.ru’ Надо было заменить порт сервера на 587.Раньше стоял 25. Видимо, на mail.ru решили отключить 25 порт, на котором работал сервер раньше
5. Повторю . Собрал файлы, описывающие ошибку сокета 10054 и другие ошибки Winsock. Также собрал файлы описывающие код ошибки 0x800CCC0E и другие почтовой программы Outlook. Все в одном файле — здесь: 10054-800CCC0E.rar или здесь : 10054-800CCC0E.rar