Skip to content

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

@saladin101

Description

@saladin101

Problem Type (问题类型)

configs (配置项 / 文档相关)

Before submit

  • 我已经确认现有的 IssuesFAQ 中没有相同 / 重复问题 (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 (问题点 / 边数据举例)

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions