org.neo4j.ogm.exception.ConnectionException: Error connecting to graph database using Bolt: N/A, Unable to process request: Connection reset by peer

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

,

Normally, the connection to an HTTP server is closed after each response. Change the network connection and make sure the network is stable when making the request. When the server closes such a connection the client usually reopens it again.

Solutions on the web

via GitHub by alinanicorescu
, 1 year ago
Error connecting to graph database using Bolt: N/A, Unable to process request: Connection reset by peer
via GitHub by Xenopathic
, 8 months ago
Error connecting to graph database using Bolt
via Stack Overflow by NKD
, 1 year ago
Error connecting to graph database using Bolt: N/A, Unable to close socket connection properly.Broken pipe
via GitHub by NkDimi
, 1 year ago
Error connecting to graph database using Bolt: N/A, Unable to close socket connection properly.Broken pipe
via Server Fault by NKD
, 1 year ago
Error connecting to graph database using Bolt: N/A, Unable to close socket connection properly.Broken pipe
java.io.IOException: Connection reset by peer
at sun.nio.ch.FileDispatcherImpl.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
at sun.nio.ch.IOUtil.read(IOUtil.java:197)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)
at org.neo4j.driver.internal.connector.socket.AllOrNothingChannel.read(AllOrNothingChannel.java:49)
at org.neo4j.driver.internal.connector.socket.SocketClient.negotiateProtocol(SocketClient.java:185)
at org.neo4j.driver.internal.connector.socket.SocketClient.start(SocketClient.java:73)
at org.neo4j.driver.internal.connector.socket.SocketConnection.(SocketConnection.java:63)
at org.neo4j.driver.internal.connector.socket.SocketConnector.connect(SocketConnector.java:52)
at org.neo4j.driver.internal.pool.InternalConnectionPool$1.allocate(InternalConnectionPool.java:189)
at org.neo4j.driver.internal.pool.InternalConnectionPool$1.allocate(InternalConnectionPool.java:178)
at org.neo4j.driver.internal.pool.ThreadCachingPool.allocate(ThreadCachingPool.java:212)
at org.neo4j.driver.internal.pool.ThreadCachingPool.acquireFromGlobal(ThreadCachingPool.java:164)
at org.neo4j.driver.internal.pool.ThreadCachingPool.acquire(ThreadCachingPool.java:118)
at org.neo4j.driver.internal.pool.InternalConnectionPool.acquire(InternalConnectionPool.java:107)
at org.neo4j.driver.internal.InternalDriver.session(InternalDriver.java:53)
at org.neo4j.ogm.drivers.bolt.driver.BoltDriver.newSession(BoltDriver.java:95)
at org.neo4j.ogm.drivers.bolt.driver.BoltDriver.newTransaction(BoltDriver.java:71)
at org.neo4j.ogm.session.transaction.DefaultTransactionManager.openTransaction(DefaultTransactionManager.java:57)
at org.neo4j.ogm.drivers.bolt.request.BoltRequest.executeRequest(BoltRequest.java:153)
at org.neo4j.ogm.drivers.bolt.request.BoltRequest.execute(BoltRequest.java:72)
at org.neo4j.ogm.session.delegates.LoadByTypeDelegate.loadAll(LoadByTypeDelegate.java:75)
at org.neo4j.ogm.session.delegates.LoadByTypeDelegate.loadAll(LoadByTypeDelegate.java:108)
at org.neo4j.ogm.session.Neo4jSession.loadAll(Neo4jSession.java:152)
at com.icloset.Main.connectToDatabase(Main.java:33)
at com.icloset.Main.main(Main.java:27)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)

Users with the same issue

147 times, 1 day ago
3 times, 1 week ago
Once, 2 weeks ago
11 times, 4 weeks ago
10 times, 2 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.