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

Samebug tips

  1. ,
    Expert tip

    Check for proxy misconfigurations and AWS issues.

Solutions on the web

via Stack Overflow by user1221612
, 1 year ago
Exception opening socket; nested exception is com.mongodb.MongoSocketOpenException: Exception opening socket
via Stack Overflow by Java Guy
, 2 years ago
Out of semaphores to get db connection; nested exception is com.mongodb.DBPortPool$ SemaphoresOut: Out of semaphores to get db connection
via Stack Overflow by chiku
, 1 year ago
{ listCollections: 1, cursor: { batchSize: 0 } }", "code" : 13 }; nested exception is com.mongodb.MongoCommandException: Command failed with error 13: 'not authorized on journaldev to execute command { listCollections: 1, cursor: { batchSize: 0 } }' on server
via Stack Overflow by user1493140
, 1 year ago
not authorized for query on alphasaverdev.student; nested exception is com.mongodb.MongoException: not authorized for query on alphasaverdev.student
via osdir.com by Unknown author, 2 years ago
Query failed with error code 13 and error message 'not authorized for query on <db.table>' on server xxx; nested exception is com.mongodb.MongoQueryException: Query failed with error code 13 and error message 'not authorized for query on db.table on server xxx
via osdir.com by Unknown author, 2 years ago
Query failed with error code 13 and error message 'not authorized for query on <db.table>' on server xxx; nested exception is com.mongodb.MongoQueryException: Query failed with error code 13 and error message 'not authorized for query on db.table on server xxx
java.net.SocketTimeoutException: connect timed out	at java.net.PlainSocketImpl.socketConnect(Native Method)	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)	at java.net.Socket.connect(Socket.java:589)	at com.mongodb.connection.SocketStreamHelper.initialize(SocketStreamHelper.java:50)	at com.mongodb.connection.SocketStream.open(SocketStream.java:58)	at com.mongodb.connection.InternalStreamConnection.open(InternalStreamConnection.java:114)	at com.mongodb.connection.UsageTrackingInternalConnection.open(UsageTrackingInternalConnection.java:46)	at com.mongodb.connection.DefaultConnectionPool$PooledConnection.open(DefaultConnectionPool.java:362)	at com.mongodb.connection.DefaultConnectionPool.get(DefaultConnectionPool.java:93)	at com.mongodb.connection.DefaultConnectionPool.get(DefaultConnectionPool.java:80)	at com.mongodb.connection.DefaultServer.getConnection(DefaultServer.java:69)	at com.mongodb.binding.ClusterBinding$ClusterBindingConnectionSource.getConnection(ClusterBinding.java:86)	at com.mongodb.operation.OperationHelper.withConnectionSource(OperationHelper.java:184)	at com.mongodb.operation.OperationHelper.withConnection(OperationHelper.java:177)	at com.mongodb.operation.BaseWriteOperation.execute(BaseWriteOperation.java:106)	at com.mongodb.operation.BaseWriteOperation.execute(BaseWriteOperation.java:58)	at com.mongodb.Mongo.execute(Mongo.java:747)	at com.mongodb.Mongo$2.execute(Mongo.java:730)	at com.mongodb.DBCollection.executeWriteOperation(DBCollection.java:327)	at com.mongodb.DBCollection.insert(DBCollection.java:323)	at com.mongodb.DBCollection.insert(DBCollection.java:314)	at com.mongodb.DBCollection.insert(DBCollection.java:284)	at com.mongodb.DBCollection.insert(DBCollection.java:250)	at com.mongodb.DBCollection.insert(DBCollection.java:172)	at com.mongodb.DBCollection.save(DBCollection.java:392)	at com.mongodb.DBCollection.save(DBCollection.java:367)	at org.springframework.data.mongodb.core.MongoTemplate$11.doInCollection(MongoTemplate.java:1039)	at org.springframework.data.mongodb.core.MongoTemplate.execute(MongoTemplate.java:461)	at org.springframework.data.mongodb.core.MongoTemplate.saveDBObject(MongoTemplate.java:1034)	at org.springframework.data.mongodb.core.MongoTemplate.doSave(MongoTemplate.java:974)	at org.springframework.data.mongodb.core.MongoTemplate.save(MongoTemplate.java:920)	at com.appseleon.platform.data.repository.AbstractMongoRepository.saveWithoutIndexing(AbstractMongoRepository.java:164)	at com.appseleon.platform.corpsms.SendSMSAsyncTask.sendMsgAsyncTask(SendSMSAsyncTask.java:55)	at com.appseleon.platform.corpsms.SendSMSAsyncTask$$FastClassBySpringCGLIB$$a955f5fa.invoke()	at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)	at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:720)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)	at org.springframework.aop.interceptor.AsyncExecutionInterceptor$1.call(AsyncExecutionInterceptor.java:115)	at java.util.concurrent.FutureTask.run(FutureTask.java:266)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)	at java.lang.Thread.run(Thread.java:745)