Tiny...@qq.com
unread,Aug 18, 2011, 11:38:35 PM8/18/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mongodb-user
Recently I found this error in my application log, and it does not
occurs always just sometimes.
I use the mongodb c# driver from official 10gen, the verison is
1.1.0.4184, and the mongodb server version is
mongodb-linux-x86_64-static-1.6.3
System.IO.IOException: Unable to read data from the transport
connection: A connection attempt failed because the connected party
did not properly respond after a period of time, or established
connection failed because connected host has failed to respond. --->
System.Net.Sockets.SocketException: A connection attempt failed
because the connected party did not properly respond after a period of
time, or established connection failed because connected host has
failed to respond
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)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32
offset, Int32 size)
at MongoDB.Bson.IO.BsonBuffer.LoadFrom(Stream stream, Int32 count)
at MongoDB.Bson.IO.BsonBuffer.LoadFrom(Stream stream)
at MongoDB.Driver.Internal.MongoConnection.ReceiveMessage[TDocument]
(BsonBinaryReaderSettings readerSettings, IBsonSerializationOptions
serializationOptions)
at
MongoDB.Driver.Internal.MongoConnection.SendMessage(MongoRequestMessage
message, SafeMode safeMode)
at MongoDB.Driver.MongoCollection.Remove(IMongoQuery query,
RemoveFlags flags, SafeMode safeMode)
at
MongoDbEngine.QueryDriver.MongoQueue.MongoQueueCacher.RemoverHistoryData()
Appreate any answers, thx a lot