neo4j / neo4j-browser

Neo4j Browser is the general purpose user interface for working with Neo4j. Query, visualize, administrate and monitor the database.
https://neo4j.com
GNU General Public License v3.0
679 stars 345 forks source link

Interface does not connect automatically #1046

Closed mattorp closed 4 years ago

mattorp commented 4 years ago

Description

After upgrading to 4.0.2 I was presented with a blank browser, with a non-functioning connection to the db (no nodes, relations, props). Neo4j Desktop 2020-01-16 at 17 10 13

querying returned no connection, but server status returns connected Neo4j Desktop 2020-01-16 at 17 10 40

Reproduce Steps

Open Neo4j Browser through the Neo4j Desktop interface. Restarting app and computer did not resolve it.

Expected Behavior

The browser should connect automatically to the database.

Current Behavior

See description

Can you propose a solution?

Disconnecting and reconnecting through the terminal resolved the issue, until closing and reopening the browser. Where the same bug appeared, and the same steps resolved it.

Neo4j Desktop 2020-01-16 at 17 10 54 Neo4j Desktop 2020-01-16 at 17 11 06 Neo4j Desktop 2020-01-16 at 17 11 13 Neo4j Desktop 2020-01-16 at 17 12 20

Your Environment

software name version
OS macOs 10.15.2 (19C57)
Neo4j Browser 4.0.2
Neo4j 3.5.14
oskarhane commented 4 years ago

Thanks for this report @mattorp! I suspect there's an error produced by Neo4j Desktop in the API side. Could you, in Neo4j Desktop, enable "Development mode", then open Neo4j Browser again, click the "Open developer tools" in the Neo4j Browser window and see if you see any errors in the javascript console?

mattorp commented 4 years ago

Here's the output in relation to the first screenshot. There are no additional outputs through the process to reconnect as described above.

Neo4j Desktop 2020-01-19 at 14 16 16

Neo4j Desktop 2020-01-19 at 14 28 03

Note: Download/upload was 330/60 when connecting if relevant.

oskarhane commented 4 years ago

Thanks @mattorp What version of Neo4j Desktop do you have? Please make sure that you're on 1.2.4. We have currently paused auto updates for Mac from 1.2.3, so please manually download the latest front neo4j.com. Sorry for the inconvenience.

mattorp commented 4 years ago

Thanks @oskarhane, sadly it does not seem to resolve it. The same problem persists with the same working workaround. Same for db version 4.0

oskarhane commented 4 years ago

If you are on Desktop 1.2.4 now @mattorp, could you do the whole development mode thing again and check the dev console of the neo4j browser window? I suspect there's a different error now.

mattorp commented 4 years ago

@oskarhane Sorry for the late reply, but the issue have been resolved. Thanks!