Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[Networking] FFAPI login query handling conflicts with Sponge (indefinite wait / payload discard)

オープン
#241 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

この issue はまだ評価されていません。

説明

1.21.x bug
Minecraft version

1.21.1

Describe the bug

When running a Sponge-powered NeoForge server together with FFAPI, login custom query handling may hang or drop because of FFAPI’s current packet tracking logic

Steps to reproduce
  1. Install SpongeNeo + FFAPI on a NeoForge 1.21.1 server.
  2. Let both mods send/expect login queries during handshake.

Observe: Clients hang indefinitely (“waiting for login response”), or Disconnect with Unexpected custom data from client.

Logs

No response

Additional context

When running a Sponge-powered NeoForge server together with FFAPI, login custom query handling may hang or drop because of FFAPI’s current packet tracking logic:

  • FFAPI records every outgoing login query (regardless of who sent it).
  • On receiving, FFAPI expects to see a response for every recorded query, and tries to handle it.
  • If FFAPI fails to handle, it discards the payload content.

This leads to two conflict scenarios with Sponge:

  • Sponge handles first → FFAPI never sees the outgoing query, but still expects a response → indefinite wait.
  • FFAPI handles first but fails → payload is discarded → Sponge no longer has access to the content → unexpected disconnect.

The issues from Sponge is here: https://github.com/SpongePowered/Sponge/issues/4228#issuecomment-3282821486

I am doing my work (try to write some mods to mixin that cause the problem's code)

If possible, we could try to fix that together.

主要言語
Java
スター
181
フォーク
41
平均マージ
19日 17時間
マージ済み PR(30日)
1

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Sinytra/ForgifiedFabricAPI のほかの issue

Sinytra/ForgifiedFabricAPI の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。