You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hugegraph.apache.org by "saladin101 (via GitHub)" <gi...@apache.org> on 2026/01/30 07:42:29 UTC

[I] [Question] 启动hugegraph-store后,curl http://192.168.207.54:8620/v1/stores返回error [incubator-hugegraph]

saladin101 opened a new issue, #2946:
URL: https://github.com/apache/incubator-hugegraph/issues/2946

   ### Problem Type (问题类型)
   
   configs (配置项 / 文档相关)
   
   ### 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: 1.7.0 (Apache Release Version)
   - Backend: hstore 
   - OS: 2 CPUs, 16 G RAM, openeuler 24.04 
   
   
   ### Your Question (问题描述)
   
   单机部署hugegraph,首先部署了pd,启动正常,然后运行了store,启动是正常的,但是curl http://192.168.207.54:8620/v1/stores 返回到内容是:{"error":"Unauthorized!","status":-1},而不是官方文档中的节点信息。
   store的配置文件内容如下:
   ```
   pdserver:
     # PD service address, multiple PD addresses separated by commas
     address: 192.168.207.54:8686
   
   management:
     metrics:
       export:
         prometheus:
           enabled: true
     endpoints:
       web:
         exposure:
           include: "*"
   
   grpc:
     # grpc service address
     host: 192.168.207.54
     port: 8500
     netty-server:
       max-inbound-message-size: 1000MB
   raft:
     # raft cache queue size
     disruptorBufferSize: 1024
     address: 192.168.207.54:8510
     max-log-file-size: 600000000000
     # Snapshot generation interval, in seconds
     snapshotInterval: 1800
   server:
     # rest service address
     port: 8520
   
   app:
     # Storage path, support multiple paths, separated by commas
     data-path: ./storage
     #raft-path: ./storage
   
   spring:
     application:
       name: store-node-grpc-server
     profiles:
       active: default
       include: pd
   
   logging:
     config: 'file:./conf/log4j2.xml'
     level:
       root: info
   ```
   请问可能是什么原因?
   
   ### Vertex/Edge example (问题点 / 边数据举例)
   
   ```javascript
   
   ```
   
   ### Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
   
   ```javascript
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@hugegraph.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Question] 启动hugegraph-store后,curl http://192.168.207.54:8620/v1/stores返回error [incubator-hugegraph]

Posted by "saladin101 (via GitHub)" <gi...@apache.org>.
saladin101 closed issue #2946: [Question] 启动hugegraph-store后,curl http://192.168.207.54:8620/v1/stores返回error
URL: https://github.com/apache/incubator-hugegraph/issues/2946


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Question] 启动hugegraph-store后,curl http://192.168.207.54:8620/v1/stores返回error [incubator-hugegraph]

Posted by "JisoLya (via GitHub)" <gi...@apache.org>.
JisoLya commented on issue #2946:
URL: https://github.com/apache/incubator-hugegraph/issues/2946#issuecomment-3822653319

   谢谢你的反馈!在1.7.0中我们为PD加入了Auth机制,/v1/stores这个接口目前只提供给内部组件使用。如果需要,可以使用内部组件id来访问:
   curl -H "Authorization: Basic c3RvcmU6c3RvcmU=" http://{ip}:{port}/v1/stores


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For additional commands, e-mail: issues-help@hugegraph.apache.org


Re: [I] [Question] 启动hugegraph-store后,curl http://192.168.207.54:8620/v1/stores返回error [incubator-hugegraph]

Posted by "saladin101 (via GitHub)" <gi...@apache.org>.
saladin101 commented on issue #2946:
URL: https://github.com/apache/incubator-hugegraph/issues/2946#issuecomment-3832471082

   谢谢二位的回复,那么如果想要在pd的配置文件里禁用鉴权机制,应该怎么配置呢?目前我在pd的conf文件里没有看到任何有关auth的配置,所以我只能理解为默认开启


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For additional commands, e-mail: issues-help@hugegraph.apache.org


Re: [I] [Question] 启动hugegraph-store后,curl http://192.168.207.54:8620/v1/stores返回error [incubator-hugegraph]

Posted by "saladin101 (via GitHub)" <gi...@apache.org>.
saladin101 commented on issue #2946:
URL: https://github.com/apache/incubator-hugegraph/issues/2946#issuecomment-3822563965

   您好,谢谢您的回复,我这里的配置和验证方式是按照官方文档里的内容写的,地址是https://hugegraph.apache.org/cn/docs/quickstart/hugegraph/hugegraph-hstore/,在该文档中写道:可以通过 PD 的 API 查看集群中的 Store 节点状态,如下图,
   
   <img width="627" height="335" alt="Image" src="https://github.com/user-attachments/assets/3a3fde71-7ee6-41da-898a-1bf13c378480" />


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For additional commands, e-mail: issues-help@hugegraph.apache.org


Re: [I] [Question] 启动hugegraph-store后,curl http://192.168.207.54:8620/v1/stores返回error [incubator-hugegraph]

Posted by "JisoLya (via GitHub)" <gi...@apache.org>.
JisoLya commented on issue #2946:
URL: https://github.com/apache/incubator-hugegraph/issues/2946#issuecomment-3833681880

   > 谢谢二位的回复,那么如果想要在pd的配置文件里禁用鉴权机制,应该怎么配置呢?目前我在pd的conf文件里没有看到任何有关auth的配置,所以我只能理解为默认开启
   
   yes,现在默认是开启的,目前还不支持手动配置


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For additional commands, e-mail: issues-help@hugegraph.apache.org


Re: [I] [Question] 启动hugegraph-store后,curl http://192.168.207.54:8620/v1/stores返回error [incubator-hugegraph]

Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
dosubot[bot] commented on issue #2946:
URL: https://github.com/apache/incubator-hugegraph/issues/2946#issuecomment-3822593981

   <!-- Answer -->
   你的现象完全符合 HugeGraph 分布式架构的设计:
   
   1. `/v1/stores` 这个接口**只在 PD 服务(8620 端口)**上开放,用于查看集群 Store 节点状态。Store 服务(8520 端口)本身**没有这个接口**,所以访问会返回 404,这是正常的[官方文档说明](https://github.com/apache/incubator-hugegraph-doc/pull/414)。
   
   2. 你在 PD 服务(8620 端口)访问 `/v1/stores` 返回 `Unauthorized`,说明 PD 开启了鉴权,必须带上正确的认证信息。HugeGraph 1.7.0 之后,鉴权方式有变化,默认用 `admin` 用户和 `auth.admin_pa` 配置的密码(或启动时 `PASSWORD` 环境变量)作为认证。你需要这样访问:
   
      ```bash
      curl -u admin:你的密码 http://192.168.207.54:8620/v1/stores
      ```
      或
      ```bash
      curl -H "Authorization: Basic $(echo -n admin:你的密码 | base64)" http://192.168.207.54:8620/v1/stores
      ```
   
      如果你不确定密码,可以检查 PD 的配置文件(如 application.yml 或环境变量),查找 `auth.admin_pa` 或 `PASSWORD` 的值[相关变更说明](https://github.com/apache/incubator-hugegraph/pull/2927)。
   
   3. Store 服务(8520 端口)只用于健康检查(如 `/actuator/health` 或 `/v1/health`),不会有 `/v1/stores` 这个接口[官方文档](https://github.com/apache/incubator-hugegraph-doc/blob/master/content/cn/docs/quickstart/hugegraph/hugegraph-hstore.md)。
   
   **排查建议**:
   - 只在 PD 端口(8620)访问 `/v1/stores`。
   - 必须带上正确的 admin 认证信息。
   - 如果认证信息忘记了,需查找 PD 配置或重置密码。
   - Store 节点健康只需看 `/actuator/health` 或 `/v1/health`。
   
   如还有疑问,欢迎补充具体配置或日志。
   
   
   <!-- Dosu Comment Footer -->
   *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).*
   
   ---
   <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/9040a56e-91b0-44f1-b343-59242a61639c?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/9040a56e-91b0-44f1-b343-59242a61639c?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/9040a56e-91b0-44f1-b343-59242a61639c?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/9040a56e-91b0-44f1-b343-59242a61639c?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/9040a56e-91b0-44f1-b343-59242a61639c?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/9040a56e-91b0-44f1-b343-59242a61639c?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/9040a56e-91b0-44f1-b343-59242a61639c?feedback_type=other)</sup>
   
   [![Chat with Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/e5e246fa-a522-4d8a-ab3c-e2588b5b501b/ask?utm_source=github)&nbsp;[![Open in Cursor](https://dosu.dev/dosu-in-cursor.svg)](https://cursor.com/link/prompt?text=%E4%BD%A0%E7%9A%84%E7%8E%B0%E8%B1%A1%E5%AE%8C%E5%85%A8%E7%AC%A6%E5%90%88%20HugeGraph%20%E5%88%86%E5%B8%83%E5%BC%8F%E6%9E%B6%E6%9E%84%E7%9A%84%E8%AE%BE%E8%AE%A1%EF%BC%9A%0A%0A1.%20%60/v1/stores%60%20%E8%BF%99%E4%B8%AA%E6%8E%A5%E5%8F%A3%2A%2A%E5%8F%AA%E5%9C%A8%20PD%20%E6%9C%8D%E5%8A%A1%EF%BC%888620%20%E7%AB%AF%E5%8F%A3%EF%BC%89%2A%2A%E4%B8%8A%E5%BC%80%E6%94%BE%EF%BC%8C%E7%94%A8%E4%BA%8E%E6%9F%A5%E7%9C%8B%E9%9B%86%E7%BE%A4%20Store%20%E8%8A%82%E7%82%B9%E7%8A%B6%E6%80%81%E3%80%82Store%20%E6%9C%8D%E5%8A%A1%EF%BC%888520%20%E7%AB%AF%E5%8F%A3%EF%BC%89%E6%9C%AC%E8%BA%AB%2A%2A%E6%B2%A1%E6%9C%89%E8%BF%99%E4%B8%AA%E6%8E%A5%E5%8F%A3%2A%2A%EF%BC%8C%E6%89%80%E4%BB%A5%E8%AE%BF%E9%97%AE%E4%BC%9A%E8%BF%94%E5%9B%9E%20404%EF%BC%8C%E8%BF%99%E6%98%AF%E6%AD%A3%E5%B8%B8%E7
 %9A%84%5B%E5%AE%98%E6%96%B9%E6%96%87%E6%A1%A3%E8%AF%B4%E6%98%8E%5D%28https%3A//github.com/apache/incubator-hugegraph-doc/pull/414%29%E3%80%82%0A%0A2.%20%E4%BD%A0%E5%9C%A8%20PD%20%E6%9C%8D%E5%8A%A1%EF%BC%888620%20%E7%AB%AF%E5%8F%A3%EF%BC%89%E8%AE%BF%E9%97%AE%20%60/v1/stores%60%20%E8%BF%94%E5%9B%9E%20%60Unauthorized%60%EF%BC%8C%E8%AF%B4%E6%98%8E%20PD%20%E5%BC%80%E5%90%AF%E4%BA%86%E9%89%B4%E6%9D%83%EF%BC%8C%E5%BF%85%E9%A1%BB%E5%B8%A6%E4%B8%8A%E6%AD%A3%E7%A1%AE%E7%9A%84%E8%AE%A4%E8%AF%81%E4%BF%A1%E6%81%AF%E3%80%82HugeGraph%201.7.0%20%E4%B9%8B%E5%90%8E%EF%BC%8C%E9%89%B4%E6%9D%83%E6%96%B9%E5%BC%8F%E6%9C%89%E5%8F%98%E5%8C%96%EF%BC%8C%E9%BB%98%E8%AE%A4%E7%94%A8%20%60admin%60%20%E7%94%A8%E6%88%B7%E5%92%8C%20%60auth.admin_pa%60%20%E9%85%8D%E7%BD%AE%E7%9A%84%E5%AF%86%E7%A0%81%EF%BC%88%E6%88%96%E5%90%AF%E5%8A%A8%E6%97%B6%20%60PASSWORD%60%20%E7%8E%AF%E5%A2%83%E5%8F%98%E9%87%8F%EF%BC%89%E4%BD%9C%E4%B8%BA%E8%AE%A4%E8%AF%81%E3%80%82%E4%BD%A0%E9%9C%80%E8%A6%81%E8%BF%99%E6%A0%B7%E8%AE%BF%E9%97%AE%EF%
 BC%9A%0A%0A%20%20%20%60%60%60bash%0A%20%20%20curl%20-u%20admin%3A%E4%BD%A0%E7%9A%84%E5%AF%86%E7%A0%81%20http%3A//192.168.207.54%3A8620/v1/stores%0A%20%20%20%60%60%60%0A%20%20%20%E6%88%96%0A%20%20%20%60%60%60bash%0A%20%20%20curl%20-H%20%22Authorization%3A%20Basic%20%24%28echo%20-n%20admin%3A%E4%BD%A0%E7%9A%84%E5%AF%86%E7%A0%81%20%7C%20base64%29%22%20http%3A//192.168.207.54%3A8620/v1/stores%0A%20%20%20%60%60%60%0A%0A%20%20%20%E5%A6%82%E6%9E%9C%E4%BD%A0%E4%B8%8D%E7%A1%AE%E5%AE%9A%E5%AF%86%E7%A0%81%EF%BC%8C%E5%8F%AF%E4%BB%A5%E6%A3%80%E6%9F%A5%20PD%20%E7%9A%84%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6%EF%BC%88%E5%A6%82%20application.yml%20%E6%88%96%E7%8E%AF%E5%A2%83%E5%8F%98%E9%87%8F%EF%BC%89%EF%BC%8C%E6%9F%A5%E6%89%BE%20%60auth.admin_pa%60%20%E6%88%96%20%60PASSWORD%60%20%E7%9A%84%E5%80%BC%5B%E7%9B%B8%E5%85%B3%E5%8F%98%E6%9B%B4%E8%AF%B4%E6%98%8E%5D%28https%3A//github.com/apache/incubator-hugegraph/pull/2927%29%E3%80%82%0A%0A3.%20Store%20%E6%9C%8D%E5%8A%A1%EF%BC%888520%20%E7%AB%AF%E5%8F%A3%EF%B
 C%89%E5%8F%AA%E7%94%A8%E4%BA%8E%E5%81%A5%E5%BA%B7%E6%A3%80%E6%9F%A5%EF%BC%88%E5%A6%82%20%60/actuator/health%60%20%E6%88%96%20%60/v1/health%60%EF%BC%89%EF%BC%8C%E4%B8%8D%E4%BC%9A%E6%9C%89%20%60/v1/stores%60%20%E8%BF%99%E4%B8%AA%E6%8E%A5%E5%8F%A3%5B%E5%AE%98%E6%96%B9%E6%96%87%E6%A1%A3%5D%28https%3A//github.com/apache/incubator-hugegraph-doc/blob/master/content/cn/docs/quickstart/hugegraph/hugegraph-hstore.md%29%E3%80%82%0A%0A%2A%2A%E6%8E%92%E6%9F%A5%E5%BB%BA%E8%AE%AE%2A%2A%EF%BC%9A%0A-%20%E5%8F%AA%E5%9C%A8%20PD%20%E7%AB%AF%E5%8F%A3%EF%BC%888620%EF%BC%89%E8%AE%BF%E9%97%AE%20%60/v1/stores%60%E3%80%82%0A-%20%E5%BF%85%E9%A1%BB%E5%B8%A6%E4%B8%8A%E6%AD%A3%E7%A1%AE%E7%9A%84%20admin%20%E8%AE%A4%E8%AF%81%E4%BF%A1%E6%81%AF%E3%80%82%0A-%20%E5%A6%82%E6%9E%9C%E8%AE%A4%E8%AF%81%E4%BF%A1%E6%81%AF%E5%BF%98%E8%AE%B0%E4%BA%86%EF%BC%8C%E9%9C%80%E6%9F%A5%E6%89%BE%20PD%20%E9%85%8D%E7%BD%AE%E6%88%96%E9%87%8D%E7%BD%AE%E5%AF%86%E7%A0%81%E3%80%82%0A-%20Store%20%E8%8A%82%E7%82%B9%E5%81%A5%E5%BA%B7%E5%8F%AA%E9%
 9C%80%E7%9C%8B%20%60/actuator/health%60%20%E6%88%96%20%60/v1/health%60%E3%80%82%0A%0A%E5%A6%82%E8%BF%98%E6%9C%89%E7%96%91%E9%97%AE%EF%BC%8C%E6%AC%A2%E8%BF%8E%E8%A1%A5%E5%85%85%E5%85%B7%E4%BD%93%E9%85%8D%E7%BD%AE%E6%88%96%E6%97%A5%E5%BF%97%E3%80%82)&nbsp;[![Join Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share on X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/incubator-hugegraph/issues/2946)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For additional commands, e-mail: issues-help@hugegraph.apache.org


Re: [I] [Question] 启动hugegraph-store后,curl http://192.168.207.54:8620/v1/stores返回error [incubator-hugegraph]

Posted by "saladin101 (via GitHub)" <gi...@apache.org>.
saladin101 commented on issue #2946:
URL: https://github.com/apache/incubator-hugegraph/issues/2946#issuecomment-3839794709

   谢谢各位


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For additional commands, e-mail: issues-help@hugegraph.apache.org


Re: [I] [Question] 启动hugegraph-store后,curl http://192.168.207.54:8620/v1/stores返回error [incubator-hugegraph]

Posted by "saladin101 (via GitHub)" <gi...@apache.org>.
saladin101 commented on issue #2946:
URL: https://github.com/apache/incubator-hugegraph/issues/2946#issuecomment-3822582947

   补充一下,使用curl http://localhost:8520/actuator/health验证时,可以返回  {"status":"UP"},
   
   使用curl http://192.168.207.54:8620/v1/stores进行验证则返回  {"error":"Unauthorized!","status":-1}
   
   使用curl http://192.168.207.54:8520/v1/stores进行验证则返回   {"timestamp":"2026-01-30T08:47:52.524+00:00","status":404,"error":"Not Found","path":"/v1/stores"}


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For additional commands, e-mail: issues-help@hugegraph.apache.org


Re: [I] [Question] 启动hugegraph-store后,curl http://192.168.207.54:8620/v1/stores返回error [incubator-hugegraph]

Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
dosubot[bot] commented on issue #2946:
URL: https://github.com/apache/incubator-hugegraph/issues/2946#issuecomment-3822343349

   <!-- Greeting -->
   Hi @saladin101! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the incubator-hugegraph team.
   
   <!-- Answer -->
   你的配置文件里 `server.port` 设置的是 8520,但你用 curl 访问的是 8620 端口,这通常会导致无法访问到 store 的 REST API。请确认 store 实际监听的端口(应该是 8520),然后用如下命令重试:
   
   ```bash
   curl http://192.168.207.54:8520/v1/stores
   ```
   
   如果依然返回 `Unauthorized`,请检查是否有设置了 `PASSWORD` 环境变量或相关鉴权配置(如 `auth.admin_pa`),因为 HugeGraph 1.7.0 支持开启鉴权模式,一旦开启,所有 REST API 都需要带上正确的 Basic Auth 认证头,否则会返回 Unauthorized。例如:
   
   ```bash
   curl -H "Authorization: Basic $(echo -n admin:你的密码 | base64)" http://192.168.207.54:8520/v1/stores
   ```
   
   如果你本意是不需要鉴权,确保启动 store 时没有设置 `PASSWORD` 环境变量,并检查相关配置项未启用鉴权,重启服务即可。
   
   如果你需要开启鉴权,且用的是 hstore 后端,首次初始化时需要先手动创建 `~user` 相关 schema,否则鉴权初始化会失败,导致所有 API 都返回 Unauthorized。具体可以参考[官方文档说明](https://github.com/apache/incubator-hugegraph/issues/2844#issuecomment-3136272812)。
   
   相关参考:[1](https://github.com/apache/incubator-hugegraph/issues/2818) [2](https://github.com/apache/incubator-hugegraph/issues/2844#issuecomment-3136272812) [3](https://github.com/apache/incubator-hugegraph/pull/2927)
   
   
   <!-- Dosu Comment Footer -->
   *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).*
   
   ---
   <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/c8d4c93d-406b-40f2-9c0f-6f689935240a?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/c8d4c93d-406b-40f2-9c0f-6f689935240a?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/c8d4c93d-406b-40f2-9c0f-6f689935240a?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/c8d4c93d-406b-40f2-9c0f-6f689935240a?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/c8d4c93d-406b-40f2-9c0f-6f689935240a?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/c8d4c93d-406b-40f2-9c0f-6f689935240a?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/c8d4c93d-406b-40f2-9c0f-6f689935240a?feedback_type=other)</sup>
   
   [![Chat with Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/e5e246fa-a522-4d8a-ab3c-e2588b5b501b/ask?utm_source=github)&nbsp;[![Open in Cursor](https://dosu.dev/dosu-in-cursor.svg)](https://cursor.com/link/prompt?text=%E4%BD%A0%E7%9A%84%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6%E9%87%8C%20%60server.port%60%20%E8%AE%BE%E7%BD%AE%E7%9A%84%E6%98%AF%208520%EF%BC%8C%E4%BD%86%E4%BD%A0%E7%94%A8%20curl%20%E8%AE%BF%E9%97%AE%E7%9A%84%E6%98%AF%208620%20%E7%AB%AF%E5%8F%A3%EF%BC%8C%E8%BF%99%E9%80%9A%E5%B8%B8%E4%BC%9A%E5%AF%BC%E8%87%B4%E6%97%A0%E6%B3%95%E8%AE%BF%E9%97%AE%E5%88%B0%20store%20%E7%9A%84%20REST%20API%E3%80%82%E8%AF%B7%E7%A1%AE%E8%AE%A4%20store%20%E5%AE%9E%E9%99%85%E7%9B%91%E5%90%AC%E7%9A%84%E7%AB%AF%E5%8F%A3%EF%BC%88%E5%BA%94%E8%AF%A5%E6%98%AF%208520%EF%BC%89%EF%BC%8C%E7%84%B6%E5%90%8E%E7%94%A8%E5%A6%82%E4%B8%8B%E5%91%BD%E4%BB%A4%E9%87%8D%E8%AF%95%EF%BC%9A%0A%0A%60%60%60bash%0Acurl%20http%3A//192.168.207.54%3A8520/v1/stores%0A%60%60%60%0A%0A%E5%A6%82%E6%9E%9C%E4%BE%9D%E7
 %84%B6%E8%BF%94%E5%9B%9E%20%60Unauthorized%60%EF%BC%8C%E8%AF%B7%E6%A3%80%E6%9F%A5%E6%98%AF%E5%90%A6%E6%9C%89%E8%AE%BE%E7%BD%AE%E4%BA%86%20%60PASSWORD%60%20%E7%8E%AF%E5%A2%83%E5%8F%98%E9%87%8F%E6%88%96%E7%9B%B8%E5%85%B3%E9%89%B4%E6%9D%83%E9%85%8D%E7%BD%AE%EF%BC%88%E5%A6%82%20%60auth.admin_pa%60%EF%BC%89%EF%BC%8C%E5%9B%A0%E4%B8%BA%20HugeGraph%201.7.0%20%E6%94%AF%E6%8C%81%E5%BC%80%E5%90%AF%E9%89%B4%E6%9D%83%E6%A8%A1%E5%BC%8F%EF%BC%8C%E4%B8%80%E6%97%A6%E5%BC%80%E5%90%AF%EF%BC%8C%E6%89%80%E6%9C%89%20REST%20API%20%E9%83%BD%E9%9C%80%E8%A6%81%E5%B8%A6%E4%B8%8A%E6%AD%A3%E7%A1%AE%E7%9A%84%20Basic%20Auth%20%E8%AE%A4%E8%AF%81%E5%A4%B4%EF%BC%8C%E5%90%A6%E5%88%99%E4%BC%9A%E8%BF%94%E5%9B%9E%20Unauthorized%E3%80%82%E4%BE%8B%E5%A6%82%EF%BC%9A%0A%0A%60%60%60bash%0Acurl%20-H%20%22Authorization%3A%20Basic%20%24%28echo%20-n%20admin%3A%E4%BD%A0%E7%9A%84%E5%AF%86%E7%A0%81%20%7C%20base64%29%22%20http%3A//192.168.207.54%3A8520/v1/stores%0A%60%60%60%0A%0A%E5%A6%82%E6%9E%9C%E4%BD%A0%E6%9C%AC%E6%84%8F%E6%98%AF
 %E4%B8%8D%E9%9C%80%E8%A6%81%E9%89%B4%E6%9D%83%EF%BC%8C%E7%A1%AE%E4%BF%9D%E5%90%AF%E5%8A%A8%20store%20%E6%97%B6%E6%B2%A1%E6%9C%89%E8%AE%BE%E7%BD%AE%20%60PASSWORD%60%20%E7%8E%AF%E5%A2%83%E5%8F%98%E9%87%8F%EF%BC%8C%E5%B9%B6%E6%A3%80%E6%9F%A5%E7%9B%B8%E5%85%B3%E9%85%8D%E7%BD%AE%E9%A1%B9%E6%9C%AA%E5%90%AF%E7%94%A8%E9%89%B4%E6%9D%83%EF%BC%8C%E9%87%8D%E5%90%AF%E6%9C%8D%E5%8A%A1%E5%8D%B3%E5%8F%AF%E3%80%82%0A%0A%E5%A6%82%E6%9E%9C%E4%BD%A0%E9%9C%80%E8%A6%81%E5%BC%80%E5%90%AF%E9%89%B4%E6%9D%83%EF%BC%8C%E4%B8%94%E7%94%A8%E7%9A%84%E6%98%AF%20hstore%20%E5%90%8E%E7%AB%AF%EF%BC%8C%E9%A6%96%E6%AC%A1%E5%88%9D%E5%A7%8B%E5%8C%96%E6%97%B6%E9%9C%80%E8%A6%81%E5%85%88%E6%89%8B%E5%8A%A8%E5%88%9B%E5%BB%BA%20%60~user%60%20%E7%9B%B8%E5%85%B3%20schema%EF%BC%8C%E5%90%A6%E5%88%99%E9%89%B4%E6%9D%83%E5%88%9D%E5%A7%8B%E5%8C%96%E4%BC%9A%E5%A4%B1%E8%B4%A5%EF%BC%8C%E5%AF%BC%E8%87%B4%E6%89%80%E6%9C%89%20API%20%E9%83%BD%E8%BF%94%E5%9B%9E%20Unauthorized%E3%80%82%E5%85%B7%E4%BD%93%E5%8F%AF%E4%BB%A5%E5%8F%82%E8%80%83%5B%E5%
 AE%98%E6%96%B9%E6%96%87%E6%A1%A3%E8%AF%B4%E6%98%8E%5D%28https%3A//github.com/apache/incubator-hugegraph/issues/2844%23issuecomment-3136272812%29%E3%80%82%0A%0A%E7%9B%B8%E5%85%B3%E5%8F%82%E8%80%83%EF%BC%9A%5B1%5D%28https%3A//github.com/apache/incubator-hugegraph/issues/2818%29%20%5B2%5D%28https%3A//github.com/apache/incubator-hugegraph/issues/2844%23issuecomment-3136272812%29%20%5B3%5D%28https%3A//github.com/apache/incubator-hugegraph/pull/2927%29)&nbsp;[![Join Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share on X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/incubator-hugegraph/issues/2946)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For additional commands, e-mail: issues-help@hugegraph.apache.org