Page 1 of 1

Unable to read data from the transport connection.

Posted: Tue 24 May 2005 21:00
by Zoran
A longer operation causes the following error that the driver reports:
Unable to read data from the transport connection.
(Non blocking socket operation could not been completed immediately).

Postgres records the event, too:
2005-05-24 19:01:05 LOG: could not receive data from client: No connection could be made because the target machine actively refused it.
2005-05-24 19:01:05 LOG: unexpected EOF on client connection.

Application and file server are on separate computers but LAN communication seems to be OK.
Can You tell what is wrong?

Unable to read data from the transport connection.

Posted: Thu 26 May 2005 11:51
by Yuri
Please provide us code sample.
The problem is probably that the server is performing a long-time operation and does not send any data.
Try increasing value of Command.CommandTimeout property.

Unable to read data from the transport connection.

Posted: Fri 27 May 2005 17:01
by Zoran
We tried Command.CommandTimeout and today there was no problem. The issue seems to be solved. Thank You for the help.