apache / apache/hugegraph-toolchain

[Bug] 执行"算法分析"的任意算法,均返回"网络异常,请稍后重试"

Open
#452 7 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
121
Forks
125
Avg merge
10d 10h
Merged PRs (30d)
3

Description

### Bug Type (问题类型)

exception / error (异常报错)

### Before submit

- [X] I had searched in the [issues](https://github.com/apache/hugegraph-toolchain/issues) and found no similar issues.

### Environment (环境信息)

- Server Version: v1.0.0
- Toolchain Version: v1.0.0
- Data Size: 9000 vertices, 20000 edges

执行"算法分析"的任意算法,均返回"网络异常,请稍后重试"
试过 hubble 原生版本 以及 最新docker版本,均报错。

看了下网络:

请求 URL: http://xxxx/api/v1.2/graph-connections/2/algorithms/sameneighbors
请求方法: POST
状态代码: 405

响应:{"timestamp":"2023-04-21 15:39:21","status":405,"error":"Method Not Allowed","message":"Request method 'POST' not supported","path":"/api/v1.2/graph-connections/2/algorithms/sameneighbors"}

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

不应返回该类报错

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

_No response_

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

_No response_

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the request to /api/v1.2/graph-connections/2/algorithms/sameneighbors described in the report, using the stated v1.0.0 environment or Docker setup. Trace the API handling for algorithm analysis and compare the requested POST method with the endpoint’s supported method; done means algorithm requests no longer return HTTP 405 or the generic network-error message.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.