Neo4j Desktop 1.1.9 BoltConnectionError

browser

(Gabriel Toma) #1

Hello,
I've caught a glimpse on the update notes while performing the update to 1.1.9, saying that it fixes bolt connection.
But, whereas previously, in 1.1.8, i was not experiencing any issue, now, in 1.1.9, the Desktop disconnects quite often (happened at least 10 times yesterday).
Issue is that it doesn't give an direct warning, and it's actually funny, as you can still write minimal queries and it will return an answer, but for long running queries, it looks like executing for a long period of time, but instead the connection has been lost in the meantime (what i've done is to fire a minimal query, like match(n) return count(n), it worked, then fired a long-running match, they, while it was running (looked like running) i fired the minimal again - and i got an "BoltConnectionError: No connection found, did you connect to Neo4j?")
When stopping the query (and the query was indeed stopped, as i've checked process manager and the cpu was idle), i used :server connect and it said "connected", but immediately , when i tried to run the long running query, i again got "BoltConnectionError: No connection found, did you connect to Neo4j?" whereas it was telling me, previously, that it was connected.
Nothing else but restart helps.


(Michael Hunger) #2

Do you have the same issue when you open Neo4j Browser, e.g. in Chrome? and run the queries there?


(Michael Hunger) #3

Do you think you can reproduce it? e.g. with a sample database?
Which Neo4j version are you using?

If the problem persists it's probably best to raise a GH issue with the steps to reproduce if possible.


(Gabriel Toma) #4

Neo4j 3.4.1, but, even if i used Chrome after having this issue in the Browser, i did not pay attention if on Chrome i still had the same issue.
Trying to reproduce it with a fixed scenario, i'll update.

Browser:
2018-09-06 12:30:03.939+0000 ERROR Unexpected error detected in bolt session '005056fffec00001-00001b60-00000070-3e8680a76265649d-efe39534'. The client is unauthorized due to authentication failure.
org.neo4j.bolt.v1.runtime.BoltConnectionFatality: The client is unauthorized due to authentication failure.
at org.neo4j.bolt.v1.runtime.BoltStateMachine.handleFailure(BoltStateMachine.java:742)
at org.neo4j.bolt.v1.runtime.BoltStateMachine.handleFailure(BoltStateMachine.java:728)
at org.neo4j.bolt.v1.runtime.BoltStateMachine.access$500(BoltStateMachine.java:62)
at org.neo4j.bolt.v1.runtime.BoltStateMachine$State$1.init(BoltStateMachine.java:435)
at org.neo4j.bolt.v1.runtime.BoltStateMachine.init(BoltStateMachine.java:145)
at org.neo4j.bolt.v1.messaging.BoltMessageRouter.lambda$onInit$0(BoltMessageRouter.java:70)
at org.neo4j.bolt.runtime.MetricsReportingBoltConnection.lambda$enqueue$0(MetricsReportingBoltConnection.java:69)
at org.neo4j.bolt.runtime.DefaultBoltConnection.processNextBatch(DefaultBoltConnection.java:195)
at org.neo4j.bolt.runtime.MetricsReportingBoltConnection.processNextBatch(MetricsReportingBoltConnection.java:87)
at org.neo4j.bolt.runtime.DefaultBoltConnection.processNextBatch(DefaultBoltConnection.java:143)
at org.neo4j.bolt.runtime.ExecutorBoltScheduler.executeBatch(ExecutorBoltScheduler.java:170)
at org.neo4j.bolt.runtime.ExecutorBoltScheduler.lambda$scheduleBatchOrHandleError$2(ExecutorBoltScheduler.java:153)
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590)
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:748)
Exception in thread "neo4j.Scheduler-1"


(Michael Hunger) #5

Can you try to update the password in desktop on the right there is an administration tab.