[JAVA-3704]  com.mongodb.MongoSocketReadException: Prematurely reached end of stream Created: 18/Apr/20  Updated: 18/Apr/20  Resolved: 18/Apr/20

Status: Closed
Project: Java Driver
Component/s: Cluster Management, Connection Management, Monitoring
Affects Version/s: 4.0.2
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Ashutosh Dwivedi Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Mongo Atlas


Attachments: PNG File mongo.PNG    

 Description   

I am getting 
com.mongodb.MongoSocketReadException: Prematurely reached end of stream error after the document insertion. 

 



 Comments   
Comment by Jeffrey Yemin [ 18/Apr/20 ]

Hi www.ashu5@gmail.com,

This Jira project is for reporting bugs and requesting new features in the MongoDB Java driver. For configuration issues, your best best is to start a thread in our community forums in the troubleshooting category.

That said, a common cause of this exception is a mistake in configuring TLS/SSL. You might try looking in the server logs for an error message to that effect.

Generated at Thu Feb 08 09:00:13 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.