Skip to content

[Question] HugeGraph-Hubble进行算法分析时,接口报错405 Method Not Allowed #682

Open

Description

@docul

Problem Type (问题类型)

None

Before submit

  • 我已经确认现有的 Issues 与 FAQ 中没有相同 / 重复问题 (I have confirmed and searched that there are no similar problems in the historical issue and documents)

Environment (环境信息)

  • Server Version: 1.5
  • Backend: RocksDB

Your Question (问题描述)

通过HugeGraph-Hubble创建一张简单图之后,进行算法分析,随意选择一个算法,执行后,接口返回错误。

Image Image 我是通过docker部署的,想问下是配置的问题还是其他什么原因,谢谢!

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

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

Activity

  1. dosubot commented on Sep 4, 2025

    @dosubot

    Hi @docul! I'm Dosu and I’m helping the incubator-hugegraph team.

    405 Method Not Allowed 通常说明请求的 HTTP 方法不被接口支持。HugeGraph 的 /algorithms/kout 接口明确只接受 POST 请求(见后端实现),不会因配置而禁用 POST 方法。如果你用 Docker 部署,Hubble 访问 HugeGraph Server 时,不要用 localhost 或 127.0.0.1,而应该用容器名(如 server)或主机 IP,否则请求可能被错误路由或拦截,导致方法被更改或不被识别,出现 405 错误。请检查 Hubble 的服务地址配置,以及 Docker 网络设置,确保 Hubble 能正确访问 HugeGraph Server 的 API,并且请求方法没有被代理或网关改写。相关部署说明

    To reply, just mention @dosu.


    How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other  Chat with Dosu Join Discord Share on X

  2. docul commented on Sep 4, 2025

    @docul
    Author

    version: '3'
    services:
    server:
    image: hugegraph/hugegraph:latest
    ports: ["8080:8080]
    volumes: ["server-data:/opt/hugegraph/data"]

    loader:
    image: hugegraph/loader:latest
    depends_on: ["server"]
    environment:
    - HUGEGRAPH_HOST=server

    hubble:
    image: hugegraph/hubble:latest
    ports: ["8088:8088"]
    depends_on: ["server"]

    volumes:
    server-data:

    以上是docker的配置文件,这个问题是hubble的配置问题,还是说应用本身有问题?

  3. reopened this on Sep 4, 2025
  4. transferred this issue fromapache/hugegraphon Sep 4, 2025
  5. imbajin commented on Sep 4, 2025

    @imbajin
    Member

    duplicate with #452 #573

  6. added
    bugSomething isn't working
    hubblehugegraph-hubble
    on Sep 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghubblehugegraph-hubblequestionFurther information is requested

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions