Skip to content
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

how to solve py2neo.errors.ProtocolError: Cannot decode response content as JSON #62

Open
Gokulmishra opened this issue Dec 20, 2022 · 2 comments

Comments

@Gokulmishra
Copy link

Gokulmishra commented Dec 20, 2022

Greetings can anyone please help me to figure out how to rectify this error, neo4j console is running and active too

py2neo

py2neoerror

Neo4j
image

@Gokulmishra
Copy link
Author

thank you in advance

@Yumeka999
Copy link

Yumeka999 commented Dec 29, 2022

I solved the problem with this code:

self.g = Graph(
host="127.0.0.1",
port=7687,
user="neo4j",
password="【Your Neo4j Password】"
)

PORT NOT 7474, you can see the right port in http://127.0.0.1:7474/browser/, when you login the neo4j admin page, you
could see the right port in this text:

You are connected as user neo4j
to neo4j://127.0.0.1:7687
Connection credentials are stored in your web browser.

python=3.7
py2neo=2021.2.3
neo4j=5.3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants