Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via JIRA by liangzhang, 1 year ago
Exception opening the socket; nested exception is com.mongodb.MongoException$Network: Exception opening the socket
via Stack Overflow by Gurkha
, 1 year ago
}, caused by {java.io.EOFException}}]; nested exception is com.mongodb.MongoTimeoutException: Timed out after 10000 ms while waiting to connect. Client view of cluster state is {type=Unknown, servers=[{address=test.mongo.com:27017, type=Unknown, state=Connecting, exception={com.mongodb.MongoException$Network: Exception opening the socket}, caused by {java.io.EOFException}}]
via Coderanch by Mihir Naik, 1 year ago
can't call something : localhost/127.0.0.1:27017/pat_queue; nested exception is com.mongodb.MongoException$Network: can't call something : localhost/127.0.0.1:27017/pat_queue
via JIRA by liangzhang, 1 year ago
Exception opening the socket; nested exception is com.mongodb.MongoException$Network: Exception opening the socket
via Stack Overflow by Maxim R.
, 2 years ago
Exception opening the socket; nested exception is com.mongodb.MongoException$Network: Exception opening the socket
via Stack Overflow by KrishnaKPaliwal
, 1 year ago
Timed out after 30000 ms while waiting for a server that matches WritableServerSelector. Client view of cluster state is {type=REPLICA_SET, servers=[{address=:27017, type=REPLICA_SET_SECONDARY, roundTripTime=0.6 ms, state=CONNECTED}]; nested
com.mongodb.MongoException$Network: Exception opening the socket	at com.mongodb.DBPort.(DBPort.java:117)	at com.mongodb.DBPort.(DBPort.java:95)	at com.mongodb.DBPortFactory.create(DBPortFactory.java:28)	at com.mongodb.PooledConnectionProvider$ConnectionItemFactory.create(PooledConnectionProvider.java:186)	at com.mongodb.PooledConnectionProvider$ConnectionItemFactory.create(PooledConnectionProvider.java:183)	at com.mongodb.ConcurrentPool.createNewAndReleasePermitIfFailure(ConcurrentPool.java:150)	at com.mongodb.ConcurrentPool.get(ConcurrentPool.java:118)	at com.mongodb.PooledConnectionProvider.get(PooledConnectionProvider.java:75)	at com.mongodb.DefaultServer.getConnection(DefaultServer.java:61)	at com.mongodb.BaseCluster$WrappedServer.getConnection(BaseCluster.java:254)	at com.mongodb.DBTCPConnector$MyPort.getConnection(DBTCPConnector.java:505)	at com.mongodb.DBTCPConnector$MyPort.get(DBTCPConnector.java:448)	at com.mongodb.DBTCPConnector.innerCall(DBTCPConnector.java:284)	at com.mongodb.DBTCPConnector.call(DBTCPConnector.java:269)	at com.mongodb.DBCollectionImpl.find(DBCollectionImpl.java:84)	at com.mongodb.TickableDBCollectionImpl.find(TickableDBCollectionImpl.java:78)	at com.mongodb.DB.command(DB.java:320)	at com.mongodb.TickableDBApiLayer.command(TickableDBApiLayer.java:56)	at com.mongodb.DB.command(DB.java:299)	at com.mongodb.DB.command(DB.java:374)	at com.mongodb.DB.command(DB.java:246)	at com.mongodb.DBCollection.findAndModify(DBCollection.java:480)	at com.mongodb.DBCollection.findAndModify(DBCollection.java:424)	at org.springframework.data.mongodb.core.MongoTemplate$FindAndModifyCallback.doInCollection(MongoTemplate.java:1967)	at org.springframework.data.mongodb.core.MongoTemplate$FindAndModifyCallback.doInCollection(MongoTemplate.java:1949)	at org.springframework.data.mongodb.core.MongoTemplate.executeFindOneInternal(MongoTemplate.java:1654)	at com.mongodb.DBPort.ensureOpen(DBPort.java:287)	at com.mongodb.DBPort.(DBPort.java:113)