You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2018/02/08 17:50:36 UTC
[GitHub] wohali opened a new issue #1155: Cannot access _dbs or _nodes databases through 5984:/_node/
wohali opened a new issue #1155: Cannot access _dbs or _nodes databases through 5984:/_node/<nodename>
URL: https://github.com/apache/couchdb/issues/1155
We'd like to deprecate port 5986 in CouchDB 3.0. That means everything that we currently do with port 5986 must be possible through port 5984, or other administrative means.
## Expected Behaviour
`curl http://localhost:5984/_node/_local/_dbs` should allow me access to the `_dbs` database.
`curl http://localhost:5984/_node/_local/_nodes` should allow me access to the `_nodes` database.
## Current Behaviour
With a `dev/run -n 1 --with-admin-party-please` node running in the background:
```
$ curl localhost:15984/_node/_local/_dbs
{"error":"not_found","reason":"missing"}
$ curl localhost:15984/_node/_local/_nodes
{"error":"not_found","reason":"missing"}
$
$ curl localhost:15984/_membership
{"all_nodes":["node1@127.0.0.1"],"cluster_nodes":["node1@127.0.0.1"]}
$ curl localhost:15984/_node/node1@127.0.0.1/_dbs
{"error":"not_found","reason":"missing"}
$ curl localhost:15984/_node/node1@127.0.0.1/_nodes
{"error":"not_found","reason":"missing"}
```
## Context
Prerequisite for deprecation of port 5986 (couch_httpd).
## Your Environment
* Version used: master
* Browser Name and version: curl
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services