我使用arangodb
(0.9.3)启动集群(当前版本3.2.1)。
在身份验证方面存在一些问题。
query1
使用基本身份验证发布到协调员(端口= 8529),回复200
curl -X GET \
http://xx.xx.xx.xx:8529/_db/KnowledgeGraph/_api/collection/CarInfo \
-H 'authorization: Basic cm9vdDptaHh6a2hs' \
-H 'cache-control: no-cache' \
-H 'postman-token: 897691e4-c4fc-5588-b217-0da53bc368ba'
query2
使用基本身份验证发布到代理商(port = 8531),回复401
curl -X GET \
http://xx.xx.xx.xx:8531/_api/agency/config \
-H 'authorization: Basic cm9vdDptaHh6a2hs' \
-H 'cache-control: no-cache' \
-H 'postman-token: 5160250f-4471-84aa-e377-bd0b99ba9926'
我想使用logger-follow
来监控群集中的数据更改。 query3
使用基本身份验证发送到 dbserver (端口= 8530),响应401.如果我的群集没有--auth.jwt-secret /my/path/to/jwt
启动,则此类查询具有响应200 。
curl -X GET \
'http://xx.xx.xx.xx:8530/_api/replication/logger-follow?from=0' \
-H 'authorization: Basic cm9vdDptaHh6a2hs' \
-H 'cache-control: no-cache' \
-H 'postman-token: 11b09c7f-85b1-4ed3-ca78-f28cf86c331b'
代理/ dbserver 与协调员之间的身份验证是否存在差异? 或者 agency / dbserver 的身份验证是否有问题?