apache / apache/hugegraph

[Bug] 图数据库按照文档新增认证功能启动报错

Open
#2,252 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
3.2k
Forks
636
Avg merge
3d 11h
Merged PRs (30d)
14

Description

### Bug Type (问题类型)

server status (启动/运行异常)

### Before submit

- [X] 我已经确认现有的 [Issues](https://github.com/apache/hugegraph/issues) 与 [FAQ](https://hugegraph.apache.org/docs/guides/faq/) 中没有相同 / 重复问题 (I have confirmed and searched that there are no similar problems in the historical issue and documents)

### Environment (环境信息)

- Server Version: 0.12.0
- Backend: RocksDB 1 nodes
- Data Size: 暂无

按照官方文档,添加配置之后,以下是我的配置(现已注释)
![image](https://github.com/apache/incubator-hugegraph/assets/113410236/f8dc38e4-9207-49fa-b362-a9940e7cf6b5)
![image](https://github.com/apache/incubator-hugegraph/assets/113410236/1d57b375-abd3-44a5-be3d-9b20aa7cd0eb)
![image](https://github.com/apache/incubator-hugegraph/assets/113410236/da9a9dad-bb45-4af8-a4f7-5f40dc338126)

然后启动报错
![image](https://github.com/apache/incubator-hugegraph/assets/113410236/84a0cabe-46de-4ff9-916b-cf94c25ec91f)
![image](https://github.com/apache/incubator-hugegraph/assets/113410236/b8ef6c4d-9813-447e-8117-23c2fb833493)
![image](https://github.com/apache/incubator-hugegraph/assets/113410236/58a78cd3-ece4-47b4-9105-49028d6bc905)

然后我去除了 hugegraph.properties 的认证相关配置,可以正常启动,
但是在调用接口创建别的用户的时候,发生了以下错误:
当我按照官方文档的传参调用接口报错如下
![324d25c566903661221e0c33dda1373](https://github.com/apache/incubator-hugegraph/assets/113410236/20def207-e4dc-45f8-8e89-9bd7fa10fb99)
,于是我加了一个creator参数,但是又报如下错误:
![595a537e942c6f9ab3c5f9c38cc69e2](https://github.com/apache/incubator-hugegraph/assets/113410236/acd8ae2b-532f-4f26-bb65-e86d4ec24556)

这不是自相矛盾吗?

### Expected & Actual behavior (期望与实际表现)

应该是正常启动,正常添加用户

### Vertex/Edge example (问题点 / 边数据举例)

```javascript

```

### Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)

```javascript

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.