LoginSignup
0
2

More than 5 years have passed since last update.

Neo4jにログインできない場合の対処

Last updated at Posted at 2018-10-04

業務でNeo4jを使うことになりました。

学習用に以下の記事を参考に環境構築している際にログインができない問題に当たったので解決法を残しておきます。

Neo4j をWindowsでHello World (2018)

エラーメッセージ

WebSocket connection failure. Due to security constraints in your web browser, the reason for the failure is not available to this Neo4j Driver. Please use your browsers development console to determine the root cause of the failure. Common reasons include the database being unavailable, using the wrong connection URL or temporary network problems. If you have enabled encryption, ensure your browser is configured to trust the certificate Neo4j is configured to use. WebSocket readyState is: 3

neo4j-error.jpg

解決策

公式ページに載っていました。

Explanation of error “WebSocket connection failure. Due to security constraints in your web browser, the reason for the failure is not available to this Neo4j Driver…

neo4j.conf内の以下の文(71行目)をアンコメント

// dbms.connector.bolt.listen_address=:7687

dbms.connector.bolt.listen_address=:7687

と、これをやった後に気づいたのですが、ずっとhostのところにusername、を入力してました(上記スクショ参照)そりゃあログインできませんね。
もしつまづいた方は試してみてください。

0
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
2