HTTP2 server occasionally sends SETTINGS ack as first frame
Maintainers usually reply within 1 day
@normanmaurer is already working on this.
Since Jan 20, 2026.
Assessment
This issue has not been assessed yet.
Description
Aleph's test suite occasionally flakes with the following error:
io.netty.handler.codec.http2.Http2Exception: First received frame was not SETTINGS. Hex dump for first 5 bytes: 0000000401
The error message is a bit misleading: It is in fact a SETTINGS frame but with the ACK bit set (see 8f334885ef58aa0dda4107391200c29527106df7 - maybe the error message could be improved here). I suspect that it's a race condition in which the server receives the client's initial SETTINGS frame before having sent its own and then immediately sends the ack frame. I've tried to construct a reproducer for this but was unsuccessful so far but wanted to share it already - maybe you can figure this out more quickly 🙏
- Dominant language
- Java
- Stars
- 35.1k
- Forks
- 16.4k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 385
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from netty/netty
-
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
Maintainers usually reply within 1 day
-
CONNECT with forbidden :scheme/:path is acceptedPossibly taken @zsewasdsdsd claimed this 42 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
Informational response HEADERS with END_STREAM is acceptedPossibly taken @kimsanhaa claimed this 58 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
resetStream can send RST_STREAM for an idle streamPossibly taken @Asthenia0412 claimed this 45 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
Deprecated code in 5.x documentationMay be free again @seanxuu claimed this 84 days ago, and no pull request is open. Open
Difficulty 1/5 1-3 hours Newbie friendliness 85/100
netty/netty#17372 · 2 comments ·
Maintainers usually reply within 1 day
Similar issues
-
Android Bug Core Drape
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
organicmaps/organicmaps#14449 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
openhab/openhab-addons#22512 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
objectionary/lints#1871 ·
Maintainers usually reply within 1 day
-
help wanted maintenance
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
apache/maven-war-plugin#694 ·
Maintainers usually reply within 1 day
-
help wanted maintenance
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
apache/maven-resolver-ant-tasks#219 ·
Maintainers usually reply within 1 day