Skip to content
This repository has been archived by the owner on Nov 16, 2021. It is now read-only.

"message" : "No authorization header supplied.", #3

Closed
thisismsreddy opened this issue Nov 9, 2015 · 4 comments
Closed

"message" : "No authorization header supplied.", #3

thisismsreddy opened this issue Nov 9, 2015 · 4 comments

Comments

@thisismsreddy
Copy link

When i run the (python manage.py bootstrap)

neo4j.connection.OperationalError: Server returned unexpected response: 401{
"errors" : [ {
"message" : "No authorization header supplied.",
"code" : "Neo.ClientError.Security.AuthorizationFailed"
} ]
}

i know that I need to provide neo4j username and password how can provide information

@johanlundberg
Copy link
Owner

When I wrote the tutorial the authorization was not enabled by default (or maybe it didn't exist at all). Anyway, for this tutorial just disable authorization in the config file and restart the Neo4j server.

From http://neo4j.com/docs/stable/security-server.html,

# Disable authorization
dbms.security.auth_enabled=false

@johanlundberg
Copy link
Owner

I have created a pull request for the upstream project to support connections with basic auth, jakewins/neo4jdb-python#13.

If you want you can try it out using my branch, https://github.com/johanlundberg/neo4jdb-python/tree/basic_auth.

@thisismsreddy
Copy link
Author

Thanks I am looking into it, and i got an error

IndexError: list index out of range

@johanlundberg
Copy link
Owner

Fixed now with the release of neo4jdb 0.0.9.

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

No branches or pull requests

2 participants