You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Function query.create not works in case use ACL.
For example:
const consul = require('consul')({
"host":"127.0.0.1",
"port":8085,
"sequre":false,
"defaults":{
"token":"vagrant"
}
});
consul.query.create({
name: "rabbitmqQuery",
service: {
service: "rabbitmq",
onlypassing: true
}
}).then(....)
Unhandled rejection Error: Permission denied
at create (/var/www/kvartus-parser/node_modules/consul/node_modules/papi/lib/errors.js:14:5)
at Object.response (/var/www/kvartus-parser/node_modules/consul/node_modules/papi/lib/errors.js:38:15)
at IncomingMessage. (/var/www/kvartus-parser/node_modules/consul/node_modules/papi/lib/client.js:593:26)
at emitNone (events.js:72:20)
at IncomingMessage.emit (events.js:166:7)
at endReadableNT (_stream_readable.js:923:12)
at nextTickCallbackWith2Args (node.js:511:9)
at process._tickCallback (node.js:425:17)
The text was updated successfully, but these errors were encountered:
Function query.create not works in case use ACL.
For example:
const consul = require('consul')({
"host":"127.0.0.1",
"port":8085,
"sequre":false,
"defaults":{
"token":"vagrant"
}
});
consul.query.create({
name: "rabbitmqQuery",
service: {
service: "rabbitmq",
onlypassing: true
}
}).then(....)
Unhandled rejection Error: Permission denied
at create (/var/www/kvartus-parser/node_modules/consul/node_modules/papi/lib/errors.js:14:5)
at Object.response (/var/www/kvartus-parser/node_modules/consul/node_modules/papi/lib/errors.js:38:15)
at IncomingMessage. (/var/www/kvartus-parser/node_modules/consul/node_modules/papi/lib/client.js:593:26)
at emitNone (events.js:72:20)
at IncomingMessage.emit (events.js:166:7)
at endReadableNT (_stream_readable.js:923:12)
at nextTickCallbackWith2Args (node.js:511:9)
at process._tickCallback (node.js:425:17)
The text was updated successfully, but these errors were encountered: