ERROR Unexpected error detected in bolt session 'bolt-12266'. Failed to process a bolt message

Hello Team,

Greetings !!

I am unable to get login page of neo4j UI. On checking the logs in neo4j ( neo4j.log and debug.log) , i found below errors.

2021-03-16 10:16:39.638+0530 ERROR Unexpected error detected in bolt session 'bolt-12266'. Failed to process a bolt message
org.neo4j.bolt.runtime.BoltConnectionFatality: Failed to process a bolt message
at org.neo4j.bolt.v1.runtime.BoltStateMachineV1.handleFailure(BoltStateMachineV1.java:301)
at org.neo4j.bolt.v1.messaging.BoltStateMachineV1Context.handleFailure(BoltStateMachineV1Context.java:58)
at org.neo4j.bolt.v3.runtime.FailSafeBoltStateMachineState.process(FailSafeBoltStateMachineState.java:57)
at org.neo4j.bolt.v1.runtime.BoltStateMachineV1.nextState(BoltStateMachineV1.java:144)
at org.neo4j.bolt.v1.runtime.BoltStateMachineV1.process(BoltStateMachineV1.java:92)
at org.neo4j.bolt.messaging.BoltRequestMessageReader.lambda$doRead$1(BoltRequestMessageReader.java:89)
at org.neo4j.bolt.runtime.MetricsReportingBoltConnection.lambda$enqueue$0(MetricsReportingBoltConnection.java:68)
at org.neo4j.bolt.runtime.DefaultBoltConnection.processNextBatch(DefaultBoltConnection.java:191)
at org.neo4j.bolt.runtime.MetricsReportingBoltConnection.processNextBatch(MetricsReportingBoltConnection.java:86)
at org.neo4j.bolt.runtime.DefaultBoltConnection.processNextBatch(DefaultBoltConnection.java:139)
at org.neo4j.bolt.runtime.ExecutorBoltScheduler.executeBatch(ExecutorBoltScheduler.java:171)
at org.neo4j.bolt.runtime.ExecutorBoltScheduler.lambda$scheduleBatchOrHandleError$2(ExecutorBoltScheduler.java:154)
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1604)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.neo4j.bolt.messaging.BoltIOException: Bolt connection [/10.25.80.205:59262] will be closed because the client did not consume outgoing buffers for 00:15:00.000 which is not expected.
at org.neo4j.bolt.v1.transport.ChunkedOutput.flush(ChunkedOutput.java:136)
at org.neo4j.bolt.v1.transport.ChunkedOutput.messageSucceeded(ChunkedOutput.java:105)

Please let me below things -

  1. Why those errors came up?
  2. What is the way to prevent those errors to come up in future.
  3. What is the way to bring back the system to normal.

Regards
Akshatlogs_neo4j.txt (25.0 KB)

Hi @akshat.mittal ,

I'm sorry about the troubles. A few questions:

  • Was this previously working and stopped working? If so, what changed?
  • How are you running Neo4j DBMS?
  • How are you accessing the Neo4j UI?
  • Is anything else connecting to Neo4j? (some other process or application)

Best,
ABK

Hello Andreas ,

Greetings !!
Below are my inputs -

  • Was this previously working and stopped working? If so, what changed? ==> Yes it was working fine, Suddenly it stopped working.
  • How are you running Neo4j DBMS? ==> I have installed the neo4j tar package on my linux server. Neo4j server version is 3.5.3
  • How are you accessing the Neo4j UI? ==> I am accessing the neo4j using below http://:7474/browser/
  • Is anything else connecting to Neo4j? (some other process or application) ==> No.

Regards
Akshat

Hi Andreas ,

Any findings !!

Regards
Akshat

Hi @akshat.mittal ,

Unfortunately I can't reproduce the error you're experiencing. Something is either in a bad state, or there is somehow a mismatch in the driver and the server.

Does restarting and reloading both result in the same error?

-ABK

Hi Andreas,

Greetings !!

By restarting the neo4j (using neo4j stop , neo4j start ) , DB and UI becomes accessible and was back to normal.

Regards
Akshat

1 Like