cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Client connection logs in, but no data access (Websocket connection failure)

I am running a small cluster of Raspberry Pies in my local network which are also connected to a Neo4j server. I was hosting the server in one of the Raspberry Pies successfully (with an SSD connected to it). I was able to create the database and receive the queries and populate the database and consult it, but the RPi is just not powerful enough to do the job efficiently, so I decided to host the Neo4j database in my Mac.

I have all the settings in my database to allow remote connections (as I did in he RPi), and I can see the neo4j web server in one of my RPies' browser. I can also log in with my username and password, which means that my server is up and it is reachable from within my local network. However, if I try to actually get the data from the database, an error pops up after a while saying "Web socket connection failure".

Also, when I run the code in my nodes, I don't get an error from them trying to get connected to the neo4j server which suggests that they are able to log in into the database, but for some reason they can't submit the query either.

dbms.default_listen_address=0.0.0.0

# Bolt connector
dbms.connector.bolt.enabled=true
#dbms.connector.bolt.tls_level=OPTIONAL
dbms.connector.bolt.listen_address=:7687

# HTTP Connector. There can be zero or one HTTP connectors.
dbms.connector.http.enabled=true
dbms.connector.http.listen_address=:7474

I have turned off my Mac FireWall and also my Norton FireWall. I have double checked every network configuration in my Mac and in my Neo4j server, and everything looks fine.

I can see in my norton network-activity section how my node tries to connect to my mac, but apparently it gets rejected every time because I can see it coming on and off in the monitor.

I am not a network expert at all, and I am running out of ideas to solve this issue. What can possibly be blocking the http connections from my neo4j clients?

1 REPLY 1

I just solved my issue. Apparently it was a version compatibility problem. I had installed version 4.0.3 in my laptop and version 4.1.1 in my clients. My nodes can finally connect to my laptop neo4j database after I installed 4.1.1 in it.