-
Notifications
You must be signed in to change notification settings - Fork 352
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WebSocket connection to 'ws://xx.xx.xx.xx:7687/' failed #1896
Comments
|
|
Ah I see you were not running on localhost but on some "x.x.x.x" domain. Does the same |
Browser requires websockets (which use their own protocol) so debugging suggestion would be to first check that the port is reachable from your computer (via curl like I mentioned earlier) and then check your network to make sure you are able to open a websocket connection on that port |
Sorry I tested in wrong server...just now realized. Actual response is curl: (52) Empty reply from server |
Which version of neo4j do you run? if it's from before 4.4 that would be the expected result. If it is reachable via curl but not via websocket it would indicate your network setup/firewall/load balancer/etc is the issue |
Yes running 4.4 version. We have opened the firewall from OS and also for outside access |
I know this is a frustrating error and I'm working to improve the error messages that we give from Neo4j Browser. What it comes down to in the end is that browser is unable to execute the following line of code to open a websocket |
Any solutions to this issue? |
"WebSocket connection to 'ws://xx.xx.xx.xx:7687/' failed"
getting the above error in browser console and unable to login with the credential,
getting "ServiceUnavailable: Failed to establish connection in 30000ms" error message in the login page. Help me to resolve the issue. Port #s 7687 and 7474 are opened for the server where Neo4j is setup
Guidelines
Please note that GitHub issues are only meant for bug reports/feature requests.
If you have questions on how to use Neo4j, please ask on StackOverflow instead of creating an issue here.
Before creating a new issue, please check whether someone else has raised the same issue. You may be able to add context to that issue instead of duplicating the report. However, each issue should also only be focussed on a single problem, so do not describe new problems within an existing thread - these are very hard to track and manage, and your problem may be ignored. Finally, do not append comments to closed issues; if the same problem re-occurs, open a new issue, and include a link to the old one.
To help us understand your issue, please specify important details, primarily:
Additionally, include (as appropriate) log-files, stacktraces, and other debug output.
Example bug report
I discovered that when I mount
data/
to a volume on my host, and then stop the container, thewrite.lock
is not removed as well as a number of other files not being cleaned up properly.Neo4j Version: 3.0M03
Operating System: Ubuntu 15.10
API: Docker
Steps to reproduce
docker pull neo4j/neo4j:3.0.0-M03
mkdir /home/neo4j-data
docker run -d --name neo4j-test -p 7474:7474 -v /home/neo4j-data:/data neo4j/neo4j:3.0.0-M03
write.lock
file located in the directory:/data/databases/graph.db/schema/label/lucene/labelStore/1/
docker stop neo4j-test
Expected behavior
write.lock
should be removed now.Actual behavior
write.lock
is still present and preventing access by other programs.The text was updated successfully, but these errors were encountered: