0 votes

Hi,

I search following error (Tried to read a line. Only ” received.) on limilab support and found answer to increase received and sent time out. I am using push notification feature of limilab. I update the time outs and idle command time span. I observe after some days I again started receiving the same error.
Kindly help to resolve this issue.

by (670 points)

1 Answer

0 votes

In most cases this error means that the connection was interrupted.
It was lost, the server disconnected or your antivirus/firewall cut the connection.

In technical terms, it means exactly what the exception’s message says: component tried to read a line (ending with CRLF), the line was expected in accordance to the protocol in use, but it hasn't been received during the specified time period.

If increasing timeout values (ClientBase.ReceiveTimeout) doesn't help, it means that the connection was dropped by the remote server or some intermediary router - you'll need to connect again.

If you are using Imap.Idle you can use lower IDLE timeout. It specifies timeout after which IDLE command is re-issued. This breaks inactivity period (which happens when no new message is delivered) and thus prevents routers from cutting the connection.

by (301k points)
...