Reputation: 14425
I am unable to connect to the local database through Python (using py2neo
) after upgrading Neo4j Community Edition (Windows) from 2.1.6 to 2.2.4.
I tried
from py2neo import authenticate, Graph, Node
authenticate("localhost:7474", "neo4j", "neo4j")
graph = Graph("http://localhost:7474/db/data/")
alice = Node("Person", name="Alice")
graph.create(alice)
I get the following error at graph.create(alice)
py2neo.error.GraphError: HTTP GET returned response 403
I have followed the tips to a similar questions asked here and here, but I still get the above mentioned error.
The same bit of code (without the need to authenticate) works on 2.1.6.
Please could anyone help? Thanks in advance.
Upvotes: 1
Views: 935
Reputation: 41676
You have to change the initial password to something else than neo4j
.
Then it should work.
Upvotes: 2