SCM

[#1000511] Unable to read data from the transport connection.

View Trackers | Bugs | Download .csv | Monitor

Date:
2005-12-29 13:01
Priority:
3
State:
Open
Submitted by:
Nobody
Assigned to:
Nobody (None)
Npgsql Version:
None
Category:
Group:
Resolution:
None
Summary:
Unable to read data from the transport connection.

Detailed description

Hi here is an error i'm getting sometimes. After this error occures, the site is loggin "Request timed out". The last time this occured the firs thing that came on my mind was to save the web.config to renew the connections to the DB server. And it helped. I need a solution for this error cause it is shown in my logs more often. Any sugestion is welcomed :)

best regards
Daniela


Exception: System.IO.IOException
Message: Unable to read data from the transport connection.
Source: System
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.IO.BufferedStream.Read(Byte[] array, Int32 offset, Int32 count)
at Npgsql.PGUtil.CheckedStreamRead(Stream stream, Byte[] buffer, Int32 offset, Int32 size)
at Npgsql.PGUtil.ReadInt16(Stream stream, Byte[] buffer)
at Npgsql.NpgsqlAsciiRow.ReadFromStream_Ver_3(Stream inputStream, Encoding encoding)
at Npgsql.NpgsqlAsciiRow.ReadFromStream(Stream inputStream, Encoding encoding)
at Npgsql.NpgsqlState.ProcessBackendResponses_Ver_3(NpgsqlConnector context)
at Npgsql.NpgsqlState.ProcessBackendResponses(NpgsqlConnector context)
at Npgsql.NpgsqlReadyState.Query(NpgsqlConnector context, NpgsqlCommand command)
at Npgsql.NpgsqlConnector.Query(NpgsqlCommand queryCommand)
at Npgsql.NpgsqlCommand.ExecuteCommand()
at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior cb)
at Npgsql.NpgsqlCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior cb)
at System.Data.Common.DbDataAdapter.FillFromCommand(Object data, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable)
at Seavus.DataBaseTier.DBBase.executeResults(String procName, String[] inParamTypes, Object[] inParamValues, String[] inParamNames, String srcTable) in D:\Projects\Korthuset-postgre-hdd\SvsDataBaseTier\DBBase.cs:line 156

Nested Exception

Exception: System.Threading.ThreadAbortException
Message: Thread was being aborted.
Source: System
at System.Net.OSSOCK.recv(IntPtr socketHandle, IntPtr pinnedBuffer, Int32 len, SocketFlags socketFlags)
at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)

Followup

Message
Date: 2008-08-11 01:17
Sender: Francisco Figueiredo jr.

Hi, can you check if you still get this problem with latest Npgsql2 code?

Thanks in advance.
Date: 2007-05-24 07:09
Sender: Ruth Hephzibah

HI, i also got the same problem...
if u find out the solution plz post it..
Date: 2006-01-11 17:55
Sender: Francisco Figueiredo jr.


Hi Daniela.

Is there some type of firewall between your web server and your postgresql server?

What Npgsql version are you using?

Attached Files:

Changes:

No Changes Have Been Made to This Item

Powered By FusionForge