apache / apache/shenyu

"code": 500,"message": "Internal Server Error"

Open
#5,520 0 comments 0 reactions 0 assignees View on GitHub
type: bug
Dominant language
Java
Stars
8.8k
Forks
3.1k
Avg merge
7d 1h
Merged PRs (30d)
85

Description

### Is there an existing issue for this?

- [X] I have searched the existing issues

### Current Behavior

![image](https://github.com/apache/shenyu/assets/14136245/d7b10211-1d3a-4a26-94f0-a97dbe7bdf64)

### Expected Behavior

![image](https://github.com/apache/shenyu/assets/14136245/8cf7478b-d0c4-4ba9-bafb-2511e14e0582)

### Steps To Reproduce

_No response_

### Environment

```markdown
ShenYu version(s):2.5.1
```

### Debug logs

_No response_

### Anything else?

I hope that when the gateway request times out, it will return specific times out messages to the requesting system instead of returning 500,Internal Server Error

Contributor guide

No contributing guide indexed for this repository

Research direction

No source file, test, or reproducible steps are provided. Start by reproducing the gateway timeout on ShenYu 2.5.1, then trace the request's timeout handling and compare the observed 500 response with the expected behavior shown in the issue images. Done means a timeout returns a specific timeout message instead of Internal Server Error.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.