Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

authKey not working #2

Closed
dmitrig01 opened this issue Feb 15, 2014 · 3 comments
Closed

authKey not working #2

dmitrig01 opened this issue Feb 15, 2014 · 3 comments

Comments

@dmitrig01
Copy link

I'm absolutely sure I'm passing in the correct key:

var r = require('rethinkdbdash')({ host: 'localhost', port: 28015, authKey: 'MY AUTH KEY' });

I get:

Fail to create a new connection for the connection pool The error returned was:
Server dropped connection with message: "ERROR: incorrect authorization key
".
ReqlDriverError
    at Socket.<anonymous> (/Users/dmitrig01/Documents/Projects/Kindred-API/rethinkdb-schema/node_modules/rethinkdbdash/lib/connection.js:71:32)
    at Socket.EventEmitter.emit (events.js:98:17)
    at readableAddChunk (_stream_readable.js:156:16)
    at Socket.Readable.push (_stream_readable.js:123:10)
    at TCP.onread (net.js:509:20)

(I tried resetting the key, with rethinkdb admin set auth a, and passing in authKey a, but that doesn't work; if I do rethinkdb admin unset auth and don't pass in a key, it works)

@neumino
Copy link
Owner

neumino commented Feb 15, 2014

@dmitrig01 I just found the bug.
I'll push a fix in a little hour (I need to get home first).

Thanks for reporting the bug!

@neumino
Copy link
Owner

neumino commented Feb 15, 2014

@dmitrig01 I just pushed a fix.
It has been released in 1.11.7.

@neumino neumino closed this as completed Feb 15, 2014
@dmitrig01
Copy link
Author

Awesome, thanks for the awesome project and for being so prompt!

thelinuxlich added a commit to AIDAX/rethinkdbdash that referenced this issue May 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants