apache / apache/shenyu

[BUG] java.nio.channels.ClosedChannelException & writeAddress(..) failed

Open
#5,624 2 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

I'm experiencing some issues that are hard to reproduce and solve, such as the following exceptions, which occur 1000-2000 times a day in production. The exceptions are very random and difficult to reproduce directly. I need help!
![image](https://github.com/user-attachments/assets/881cddd8-0cb3-471b-99b5-3c47427a225f)
![image](https://github.com/user-attachments/assets/0920bc7c-3331-4c0d-842b-e0a437f032c1)

### Expected Behavior

_No response_

### Steps To Reproduce

The problem occurs very randomly and is difficult to reproduce directly.

### Environment

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

### Debug logs

_No response_

### Anything else?

_No response_

Contributor guide

No contributing guide indexed for this repository

Research direction

No source file, test, or entry point is identified. Start by examining the reported ClosedChannelException and writeAddress(..) failures on ShenYu 2.4.3, then collect debug logs and a reproducible scenario; done means the cause is isolated and covered by a regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend, networking
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.