neo4j-contrib / neoclipse

Graph Database Tool
218 stars 136 forks source link

Neoclipse fails to connect to neo4j 2.2.0 #75

Open pducrot opened 9 years ago

pducrot commented 9 years ago

Hi, Neoclipse fails connecting to neo4j 2.2.0 with a runtime exception: error reading as JSON if no user and password is setup. Connection using proper user & pass works. I suggest to change the error message to something like "Anonymous connection prohibited, please provide user and password. Pierre

ghost commented 9 years ago

The same here with 2.2.1. At least add some message about not supported version. It is a bit frustrating and so unprofessional. Why do we need to check the commit messages to know that only 2.1.4 is supported?

pducrot commented 9 years ago

Actually, in my previous message I was reporting a misleading error message when attempting to connect anonymously. Connecting to neo4j 2.2 works if you provide proper username and password or set to false the secured login parameter.

ghost commented 9 years ago

Hmm interesting, it did not work by me on windows. I'll try again, but before that I'll check the password with node.js. Maybe that was wrong, but I never got NullPointerException by invalid password in any other software. :S

ghost commented 9 years ago

I checked, the password was the problem, thx.

pducrot commented 9 years ago

You may want to change security settings in neo4j, useful if your not sharing the database on a server. In conf/neo4j-server.properties, change the following setup to false. Hence, you may connect to the database without user/pass. dbms.security.auth_enabled=false