Windows 10.
I try to follow this tutorial:
https://neo4j.com/developer/example-project/
Neo.ClientError.Security.Unauthorized: The client is unauthorized due to authentication failure.
I am new to neo4j (Very not friendly start with all of this errors) - should I wait for something (User confirmation)?
Same error here:
Related (No answer their):
hi
I installed recently neo4j browser
I typed "bolt://localhost:7687 as a connect URL", "neo4j" as user and "neo4j" as psw but I faced this error msg " Neo.ClientError.Security.Unauthorized: The client is unauthorized due to authentication failure." what should I do please
Hello Ezra and welcome to the Community!
Where is the database running? When you created it, you should have provided a password if you created it with Neo4j Desktop. How did you create the database?
Elaine
1 Like
Thanks
I use the sample database
(Comes with the first installation). When I created a new database this idea solved (i set some password).
How I connect this app to my local database? This is the way (my password is 3001).
https://github.com/neo4j-examples/movies-javascript-bolt
Now I get these errors:
require('file-loader?name=[name].[ext]!../node_modules/neo4j-driver/lib/browser/neo4j-web.min.js');
const Movie = require('./models/Movie');
const MovieCast = require('./models/MovieCast');
const _ = require('lodash');
const neo4j = window.neo4j;
const neo4jUri = process.env.NEO4J_URI;
let neo4jVersion = process.env.NEO4J_VERSION;
if (neo4jVersion === '') {
// assume Neo4j 4 by default
neo4jVersion = '4';
}
let database = process.env.NEO4J_DATABASE;
if (!neo4jVersion.startsWith("4")) {
database = null;
}
const driver = neo4j.driver(
neo4jUri,
neo4j.auth.basic(process.env.NEO4J_USER, process.env.NEO4J_PASSWORD),
);
This file has been truncated. show original