Unable to read data from the transport connection.

Unable to read data from the transport connection.

Postby 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?
Zoran
 
Posts: 44
Joined: Thu 28 Apr 2005 21:55
Location: Zagreb, Croatia

Unable to read data from the transport connection.

Postby 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.
Yuri
 
Posts: 140
Joined: Mon 08 Nov 2004 12:07

Unable to read data from the transport connection.

Postby 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.
Zoran
 
Posts: 44
Joined: Thu 28 Apr 2005 21:55
Location: Zagreb, Croatia


Return to dotConnect for PostgreSQL