florinpatrascu / bolt_sips

Neo4j driver for Elixir
Apache License 2.0
256 stars 49 forks source link

"Unsupported authentication token, missing key `scheme`" #29

Closed rawhat closed 7 years ago

rawhat commented 7 years ago

Hi,

I am trying to get the driver working in iex but unfortunately am running into the titular error. It works just fine from the terminal, but I am getting these unexpected return values elsewhere.

screen shot 2017-06-02 at 12 37 02 am

I am having the iex issue on both Mac and Windows. However, none of it works on Windows, whereas the terminal command on OS X does work.

The link to my project is here if you want to look at it.

I apologize if this is not the proper forum, but I cannot find any reference to this issue anywhere else. I also have checked my configuration against multiple examples, and everything seems fine to me. I'm fairly stumped. Any help would be appreciated.

Thanks!

rawhat commented 7 years ago

I must have had the configuration entered incorrectly, as now I believe it is working. I'll close this now!

florinpatrascu commented 7 years ago

Glad you figured it out! 🍻

agm1984 commented 6 years ago

I just ran into this error and it was because I just converted my neo4j credentials from hardcoded to dynamic based on environment config, and I had a typo on the password field.

If anyone encounters this, do a quick check like:

console.log('CONFIG')
console.log(host)
console.log(user)
console.log(pwd)

It's just a credential mismatch somewhere.