Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Got transport connection error. #173

Open
hiteshspacestem opened this issue Oct 15, 2014 · 3 comments
Open

Got transport connection error. #173

hiteshspacestem opened this issue Oct 15, 2014 · 3 comments

Comments

@hiteshspacestem
Copy link

I got below error when going to connect server.

Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

Can you give me help how to resolved this error.?

@moonpyk
Copy link
Contributor

moonpyk commented Mar 17, 2015

We encounter actually the very same error in production while reading some mails on a remote server.

@moonpyk
Copy link
Contributor

moonpyk commented Mar 17, 2015

I compiled our project against latest master, here is a typical stack trace (in french, sorry).
It happens on some specific mails, the remote pop server is SmarterMail 11.7.

L'exception System.IO.IOException n'a pas été gérée
  HResult=-2146232800
  Message=Impossible de lire les données de la connexion de transport : Une tentative de connexion a échoué car le parti connecté n’a pas répondu convenablement au-delà d’une certaine durée ou une connexion établie a échoué car l’hôte de connexion n’a pas répondu.
  Source=System
  StackTrace:
       à System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
       à System.IO.Stream.ReadByte()
       à AE.Net.Mail.Utilities.ReadLine(Stream stream, Int32& maxLength, Encoding encoding, Nullable`1 termChar, Int32 ReadTimeout) dans [REDACTED]\aenetmail\Utilities.cs:ligne 83
       à AE.Net.Mail.TextClient.GetResponse(Int32 timeout) dans [REDACTED]\aenetmail\TextClient.cs:ligne 117
       à AE.Net.Mail.TextClient.GetResponse() dans [REDACTED]\aenetmail\TextClient.cs:ligne 112
       à AE.Net.Mail.Pop3Client.GetMessage(String uid, Boolean headersOnly) dans [REDACTED]\aenetmail\Pop3Client.cs:ligne 52
       à AE.Net.Mail.Pop3Client.GetMessage(Int32 index, Boolean headersOnly) dans [REDACTED]\aenetmail\Pop3Client.cs:ligne 37
       [...REDACTED...]
  InnerException: System.Net.Sockets.SocketException
       HResult=-2147467259
       Message=Une tentative de connexion a échoué car le parti connecté n’a pas répondu convenablement au-delà d’une certaine durée ou une connexion établie a échoué car l’hôte de connexion n’a pas répondu
       Source=System
       ErrorCode=10060
       NativeErrorCode=10060
       StackTrace:
            à System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
            à System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
       InnerException: 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@moonpyk @hiteshspacestem and others