Socket was disconnected - error 10060

socket was disconnected - error 10060

A connection attempt failed because the connected party did not properly respond after a period of time, or the established connection failed. error: [Errno ] A connection attempt failed because the connected party did not properly respond after a period of time, or established. Now we will discuss them. is a connection timeout error that usually occurs when you, as a client, do not receive a response from the.

Really: Socket was disconnected - error 10060

Whois error no match for domain
Can hamilton stop making stupid errors
Error - 1224
Socket was disconnected - error 10060
SUBPROCESS BZIP2 RETURNED AN ERROR CODE 2

&#;socket error connection timed out&#; SMTP error &#; 5 easy steps to fix it

Whenever I sent an email from my Outlook client, it bounces with this &#;socket error connection timed out&#; SMTP error. What&#;s wrong?

That was a recent support ticket received at our Server Support department where we resolve support queries for web hosts.

Website owners often face this error when they send emails from email clients like Outlook, Thunderbird, etc.

There&#;s an error codewhat&#;s that?

And, the message shows connection timed out, but why?

Today, we&#;ll see the answers to all these questions.

 

&#;socket error connection timed out&#; SMTP error  socket was disconnected - error 10060 What&#;s this?

Before we move on to the reasons for this error, let&#;s first get an idea of this error.

In a normal mail delivery, mail goes from the sender, to the sending MX, and to the recipient&#;s MX, and then to the recipient.

 

socket error connection timed out smtp

How Email Works?

 

The Socket Error indicates that the connection to the recipient server times out.

In other words, the sending server doesn&#;t receive a response from the recipient server.

For instance, website owners see the complete error message like this:

Error Message: "There was an error connecting to the email server. Email could not be sent. Socket Error # Connection Timed Out."

 

But, this error only stops the user from sending emails, and receiving will work fine.

Now, let&#;s discuss the top 5 reasons for this error and how our Server Support Engineers fix it.

 

&#;socket error connection timed out&#; SMTP error &#; Causes and Fixes

A number of reasons can lead to this &#;socket error connection timed out&#; SMTP error.

Let&#;s see the main causes identified in our debugging process and how we fix them.

1) Wrong SMTP host and port

This error occurs mainly when the outgoing mail server settings are wrongly setup in the email clients like Outlook, Windows Mail, etc.

Sometimes, a typo in the hostname or an inactive mail server leads to this error.

Similarly, the default SMTP port is 25, but some email providers use custom ports, liketo avoid spam.

In addition to that, some email servers are configured to allow emails only via SSL port

So, incorrect hostname or incorrect port entry in the email client settings may cause email delivery errors.

Solution

Firstly, our Hosting Engineers, ensure the DNS connectivity of the SMTP host with the below command.

 

Further, we use the below command to identify the correct SMTP port and its connectivity.

 

After that, socket was disconnected - error 10060, we cross-check and correct the SMTP settings in the email client.

 

[We know that emails are critical for your business, socket was disconnected - error 10060. Are you not sure about your email client settings? Our Support Experts are here for your help.]

2) Improper SMTP authentication

Similarly, this error may occur due to authentication problems at the sender end.

All SMTP servers implement authentication process to protect against spamming and email abuse.

In other words, users are only allowed to connect to the SMTP server, and send emails after successful authentication.

And, this authentication is integrated with email clients as well.

So, if a sender tries to connect to the SMTP server without authentication, the connection will be refused with &#;socket error connection timed out &#; SMTP error.

 

Solution

Our Support Engineers check the email client settings, and ensure that SMTP authentication is enabled in the sender&#;s email client.

For example, in Outlookwe verify these settings from Tools > Account Settings > More settings > Outgoing server tab > My Outgoing server (SMTP) requires authentication.

socket error connection timed out smtp

How to enable My SMTP authentication in Socket was disconnected - error 10060 ISP firewall issues

Many ISPs now block traffic through port 25 to minimize spam, and this is one of the most common reasons for this error.

 

Solution

Our Support Engineers always ask the users to get back with the traceroute results to the email server from their PCs.

This helps us to identify if there are connectivity issues in any of the intermediate socket was disconnected - error 10060 between the mail server and user PC.

If we find issues at ISP level, the user must contact the ISP end to remove the block on that port.

But, the ideal solution we recommend is to use the SMTP server recommended by the ISP.

4) PC firewall issues

Third party firewall or antivirus installed on the user&#;s PC can block the connection from certain applications.

In other words, it blocks connections to certain IP ranges and can sometimes blocks the mail server IP as well.

So, customer&#;s won&#;t be able to connect to the mail server from their email client and see &#;socket error connection timed out&#; SMTP error.

Solution

In such cases, we get the telnet results from the user&#;s PC to the mail server.

For example, we use the below command to check the connectivity to the mail server &#;sprers.eu&#; on port

 

And, if the firewall hinders the connection, we recommend the customer to disable the firewall and give a try.

If it works, socket was disconnected - error 10060, users must tweak their PC firewall settings.

5) Infected PC

This is not a common reason but can happen at times.

&#;socket error connection timed out&#; SMTP error can pop up when your local PC is infected with malware.

Solution

In this case, our Support Engineers advise users to perform a full scan on their PC with a standard anti-virus.

And, remove any spyware, socket was disconnected - error 10060, trojan or viruses detected in the system.

 

This list is not complete. There could be many more reasons for this error.

But a detailed log analysis is required to identify the exact reason behind this error.

So, if you need help, click here to get a Support Expert to look into your email issue.

Conclusion

In short, &#;socket error connection timed out&#; SMTP error may occur due to incorrect email client settings, firewall restrictions, and more. Today, we&#;ve discussed the top 5 reasons for this error and how our Server Support 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.

SEE SERVER ADMIN PLANS

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

Error Messages

CodeDescriptionAnyDesk could not run at all because ntdll was not found.AnyDesk could not run because kernel32 was not found.Path initialization failed. See windows event log for details.Signature check failed.Unrecognized command line parameter.Could not start process (already started).The requested operation requires elevation (start as admin).A generic exception occurred in the application. See trace.The process terminated itself because of a severe error condition. See trace.The process encountered a system exception. Please contact support.Error while writing the requested information to stdout.Error while reading required information from stdin.The password to be set is too short.Error while registering the license. See trace strato youtube player an error occurred information.Could not perform the requested operation because the AnyDesk service was not running.0xadCould not remove an older client's executable.0xadCould not stop an older client's service.0xadCould not terminate an older client's processes.0xadCould not install the service. May happen in case a Windows Control Panel is open.0xadAn unexpected error occurred.0xadReceived invalid installation parameters.0xadCould not install the custom client (installation set to disallowed).

Socket error when testing an alert

Knowledge Base

I have filled in an SMTP server and I&#;m testing an alert, but whenever I click &#;Test&#; in the alert setup, I get &#;Socket error &#. What&#;s wrong?

The error indicates a connection problem with the SMTP server. There are a number of possible reasons here, but these are the two most popular:

  • Your SMTP server name or address as specified has an error.

    Make sure your SMTP server settings match what you have in your mail client. If you&#;re using Outlook with an exchange server, make sure the server you specified is actually an SMTP server. Not all exchange servers are configured to allow access via SMTP.

  • Your SMTP port is blocked.

    Many ISPs block port 25 now - since many viruses try to replicate via port 25 to an smtp server outside their network. If this is the case, your ISP has probably provided a SMTP server you can use. If you need to use an SMTP server ouside your ISP&#;s network, socket was disconnected - error 10060, you may need to see if that server is available on a different port (ie: ), or you might need to ask your ISP to disable the block for you. The easiest way to get around this, though, is to find out which SMTP server your ISP recommends and use their settings.

To check which SMTP server you have specified, go to Edit -> Options, Email Settings.

If you&#;re trying to use GMail or other SSL/STARTTLS-only SMTP host, then check this article.


Article Rating (59 Votes)

Rate this article


Article Info

Article Number: 43

Session terminated by socket error: Socket: WSAGetOverlappedResult operation failed with error

Would like to share insight into the error code:

Connection timed out 
A connection attempt failed because the connected party did not properly respond after a period of time, or the established connection failed because the connected host has failed to respond.

WSAGetOverlappedResult
The application has tried to determine the status of an overlapped operation that is not yet completed.
Applications that use WSAGetOverlappedResult (with the fWait flag set to FALSE) in a polling mode to determine when an overlapped operation has completed, get this error code until the operation is complete.

SOCKET_ERROR
Means connection timed out (A connection attempt failed because the connected party did not properly respond after a period of time, or the established connection failed because the connected host has failed to respond)
 

&#;

Socket Errors,

A socket error in the range is a Winsock error. It is generally caused by either outgoing connection problems or connection problems on the host end.

Outgoing connections can be affected by the presence of firewall or anti-virus software on the local computer or network connection. Either can block the ports needed to make a successful FTP connection to the remote server. For a regular FTP session, either disable the firewall or anti-virus software or configure them to allow CuteFTP to establish an FTP session over ports 20 and &#;Consult the documentation or help file for your specific firewall or antivirus software product for instructions. Usually the manufacturer of the device or software will also have specific instructions available on their Web site. If you continue to receive the same error after insuring ports 20 and 21 are open, contact the administrator of the site you are trying to connect to.

WSAETIMEDOUT ()

is a connection-timeout error that usually appears when the client does not receive a response from the server for a specific command. This error often occurs when you try to connect in PASV mode to a server that prefers PORT for data connections. If you see an error log similar to the one below, in the Site Properties of the problem site, click the Type tab, then change the Data Connection Type to Use PORT.

COMMAND:> PASV

Entering Passive Mode (xxx,xx,xxx,xx,x,xxx).

COMMAND:> LIST

STATUS:> Connecting ftp data socket sprers.eu:xxxx

ERROR:> Can't connect to remote server. Socket error = #

ERROR:> Failed to establish data socket.

If you still receive a error, the server may be trying to send a listing for a very large directory (with many thousands of files) causing the client to time-out while waiting. Try increasing the time-out value in the Global Options dialog box (Tools > Global Options > Transfer > Reconnect and resume in [n] seconds if nothing received) to a higher value, such as 45 or 60 seconds.

  1. The connection fails due to an error or timeout.

  2. Verify that the destination IP address is correct.

  3. Increase the connection timeout threshold under Global Settings > Connection.

  4. Switch to the opposite data connection type (PASV or PORT) under Site Settings > Type tab.

  5. Verify that the problem is not local by trying to connect to an alternate server.

  6. If a server name was used, verify it resolves to the correct address.

  7. If using a local server table for server name resolution, check to see that it doesn't resolve to an obsolete address.

  8. Try pinging the address. (See Troubleshooting Tips for details.)

  9. If you are using a router, verify the router is socket was disconnected - error 10060 and running (check by pinging it and then ping an address outside of the router).

  10. Do a traceroute to the destination to verify all routers along the connection path are operational. (See Troubleshooting Tips for details.)

  11. Verify that your subnet mask is setup properly.

WSAECONNREFUSED ()

is a Connection Refused error sent to you by the server. You could not make a connection because the target computer actively refused it. The most common cause is an incorrectly configured server, full server, or incorrect Port specified by the client.

To change your connection Port for an FTP site

  1. Open the Site Manager, then click the site.

  2. On the main menu, click File > Properties.

  3. Click the Type tab.

  4. In the Port box, type the correct port number.

Sometimes a error is caused by either a firewall or anti-virus software presence on the local computer or network connection. &#;Either one may be blocking the ports needed to make a successful FTP connection to the server.

For a regular FTP session, please either disable the firewall or anti-virus software or configure it to allow CuteFTP to establish an FTP session over ports 20 and Please consult the documentation or help file for your specific firewall or antivirus software product for further instructions. Usually, the manufacturer of the device or software has specific instructions available on their Web site.

If you continue to receive the same error after insuring ports 20 and 21 are open, please contact the administrator of the site where you are trying to connect.

  1. The remote host actively refused the attempt to connect to it.

  2. Verify that the destination server name or IP address is correct

  3. Verify that the connection port number is correct (under Site Settings > Type tab).

  4. The remote server may be temporarily or permanently inaccessible (try again later).

  5. Verify that you have chosen the right protocol (SSH2, SSL, FTP, etc.) and have setup all required options for that protocol.

  6. Verify that the destination IP address and port numbers are correct.

  7. The remote server may be refusing multiple connections from the same client. Try using only one connection thread when connecting to this particular server (Site Settings > Options).

  8. Try pinging the address.

  9. If you are using a router, verify the router is up and running socket was disconnected - error 10060 by pinging it and then ping an address outside of the router).

  10. Do a traceroute to the destination to verify all routers along the connection path are operational.

  11. Verify that your subnet mask is setup properly.

WSAESERVERDOWN ()

  • The server is temporarily or permanently unreachable. Verify that the destination host name or IP address is correct and try again later.

WSAESERVERUNREACH ()

  • The server is unreachable. Verify that the destination host name or IP address is correct and try again later.

SYMPTOMS

When receiving an email message, the SMTP service will either wait until it receives the terminating sequence "<CRLF>.<CRLF>", socket was disconnected - error 10060, times out, or the connection is dropped. If it times out or is dropped, there would be indication of this network error in the SMTP Debug log, for example:

04/25/20 ME-E (recv) socket [] error during [DATA] command from host sprers.eu Socket was disconnected - Error: ()

An error indicates a timeout waiting for email data and a means that the remote connection, or something between the SMTP server and the remote one, dropped the connection.

This may not appear immediately after the DATA logging time, socket was disconnected - error 10060, instead it could be anywhere up to the timeout time. These events don't necessarily mean there is a problem, but if it happens regularly for specific senders it may indicate a problem, socket was disconnected - error 10060. It is also possible that the mail server never receives the terminating sequence due to a faulty router or firewall. Some Cisco devices have had this problem.

The SMTP Activity log shows the commands sent to and from a remote server, and when a time out or disconnect happens during a DATA command you will see the DATA command, but possibly no QUIT command afterwards. Some clients and servers may not send a quit command once a message has been sent, so if the QUIT command is not seen in the SMTP logs you would need to check the SMTP Debug log to see if hte message was received. It is worthwhile to use the message tracking utility to confirm whether the email was fully accepted. The tracking utility will indicate something like the following if the message is not received by the SMTP service:

Result: [4AECC9CD7DMAI] was not routed from the SMTP inbound message queue by the local MTA Service.

 

RESOLUTION

A or error in the SMTP Debug log for an inbound message could indicate a few things. If the error is happening when a user is trying to send via their email client it may be an antivirus program or proxy taking too long to check the email (usually results in the error), or blocks the email (sometimes a error). The user should try disabling any AV or bypass any proxy to attempt to determine whether this is the problem.

If it is socket was disconnected - error 10060 remote server having the socket was disconnected - error 10060, it may be due to you having an antispam or antivirus proxy in front of your server. You would need to try to disable this, or check it's logging for details on the delay.

The full SMTP inbound conversation can be logged, which may help show exactly what data the SMTP service receives, and this data may be useful. To do this the following Windows registry key need to be added:

For 64bit Windows versions:

[HKEY_LOCAL_MACHINE\SOFTWARE\WowNode\Mail Enable\Mail Enable\Connectors\SMTP]
"MonitorInbound"=dword

For 32bit Windows versions:

[HKEY_LOCAL_MACHINE\SOFTWARE\Mail Enable\Mail Enable\Connectors\SMTP]
"MonitorInbound"=dword

You will need to restart the SMTP service for this change to take effect. The details are added to the SMTP Debug log. Caution: This will generate very large log files, so you should only enable this for a short time and check the growth of the file.

 

watch the video

How to solve Citrix problem using Windows 10 latest version - Troubleshoot Citrix common issues

0 Comments

Leave a Comment