Unable to read data from the transport connection.

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for PostgreSQL
Post Reply
Zoran
Posts: 44
Joined: Thu 28 Apr 2005 21:55
Location: Zagreb, Croatia

Unable to read data from the transport connection.

Post by Zoran » Tue 24 May 2005 21:00

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?

Yuri
Posts: 140
Joined: Mon 08 Nov 2004 12:07

Unable to read data from the transport connection.

Post by Yuri » Thu 26 May 2005 11:51

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.

Zoran
Posts: 44
Joined: Thu 28 Apr 2005 21:55
Location: Zagreb, Croatia

Unable to read data from the transport connection.

Post by Zoran » Fri 27 May 2005 17:01

We tried Command.CommandTimeout and today there was no problem. The issue seems to be solved. Thank You for the help.

Post Reply