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.
Unable to read data from the transport connection.
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.
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.
We tried Command.CommandTimeout and today there was no problem. The issue seems to be solved. Thank You for the help.