[JAVA-466] Connection reset by peer: socket write error Created: 07/Nov/11  Updated: 04/Jun/12  Resolved: 15/May/12

Status: Closed
Project: Java Driver
Component/s: None
Affects Version/s: 2.7
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: jagadesh paladugula Assignee: Unassigned
Resolution: Duplicate Votes: 1
Labels: None
Environment:

Windows7


Attachments: Text File connection-error.txt    
Issue Links:
Duplicate
duplicates JAVA-499 Add support for connection validation Closed
# Replies: 4
Participants:
Days since reply: 6 years, 7 weeks, 2 days ago
Date of 1st Reply:
Last commenter: Rathi Gnanasekaran
Last comment by Customer: false

 Description   

After starting the server, when I access the application, it works fine. After some time letsay 15 mins when I try to do something it throws me a Connection reset by peer: socket write error. Looks like some issue with MongoDB Connection Pooling.

I create a Singleton Instance of Mongo to connect to database.



 Comments   
Comment by Scott Hernandez [ 07/Nov/11 ]

What is the connection limit on the server? db.serverStatus()? Are there any server logs at the same time?

Comment by Jeff Yemin [ 15/May/12 ]

Seems like this is a duplicate of JAVA-499.

Comment by Sergey Pichkurov [ 04/Jun/12 ]

Any workaround to solve this issue?

Comment by Jeff Yemin [ 04/Jun/12 ]

I wonder why the connections are getting reset. Can you try using "127.0.0.1" instead of "localhost" for the host name? Or try with 2.8.0-RC1, which fixes "localhost" handling?

Generated at Thu Jul 19 12:06:04 UTC 2018 using JIRA 7.8.2#78002-sha1:944b71ecbe2e09c23503821098ef280c785b44a8.