NetTalk Central

Author Topic: Send email error -53  (Read 5966 times)

seanh

  • Jr. Member
  • **
  • Posts: 83
    • View Profile
    • Email
Send email error -53
« on: February 01, 2018, 06:42:30 PM »
Attempting to send an email, my clients sometimes get the following error:

A network communication error has occurred.||Error = The requested connection could not be opened. The Open command timed out or failed to connect.||The error number was -53 which means Open Timeout or Failure error.||Error occurred in function NetSimple.

Retrying the email will either work or maybe this error again.

Any ideas on how to solve?   
C10 NT 10.07

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11158
    • View Profile
Re: Send email error -53
« Reply #1 on: February 01, 2018, 10:58:27 PM »
Most common reason for this is that the server URL is wrong.

If you can retry though, and then it works, then that just suggests the server is too busy to take your call right now.
ie the server itself is denying connections - perhaps because it is offline?

Cheers
Bruce

seanh

  • Jr. Member
  • **
  • Posts: 83
    • View Profile
    • Email
Re: Send email error -53
« Reply #2 on: February 01, 2018, 11:14:01 PM »
Thats a slight worry the server is
smtp.office365.com

Is there a way of increasing the timeout slightly?

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11158
    • View Profile
Re: Send email error -53
« Reply #3 on: February 05, 2018, 12:33:03 AM »
Hi Sean,

<< Is there a way of increasing the timeout slightly?

There is, but I think the current value is 12 seconds which is long enough.

Bear in mind that "offline" means that anything between the client and the server may be blocking the connection.
If the error takes like 12 seconds to appear then it's likely a genuine route problem. If it comes back immediately it's more likely to be a firewall of AV or something.

Cheers
Bruce

seanh

  • Jr. Member
  • **
  • Posts: 83
    • View Profile
    • Email
Re: Send email error -53
« Reply #4 on: February 08, 2018, 03:52:02 PM »
Hi Bruce
The client reports: "Had this error again a few times - error comes up after ~ 10 seconds.  Not a big deal as it always seems to send next attempt.  "

So it's a network or server problem.  I'll try and check everything on the network that I can.
Given that the server is is MS I can't do anything there.
Where can I increase the timeout?  I think I'd like to try an extra few secs, just in case (say 12->15) just in case it's an outside congestion problem.


Sean H

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11158
    • View Profile
Re: Send email error -53
« Reply #5 on: February 08, 2018, 11:19:30 PM »
  net.AsyncOpenTimeOut = 1500 ! 15 seconds.