[Networking] FFAPI login query handling conflicts with Sponge (indefinite wait / payload discard)
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 35/100
- Tipo de issue
- Bug
- Clareza
- Razoavelmente clara
- Status de atividade
- Estagnada
- Stack de tecnologia
- java
- Domínio
- backend, networking
Direção de pesquisa
Start by tracing FFAPI's login query packet tracking and response handling described in the issue, then compare that flow with Sponge's handling in the linked Sponge issue. Reproduce on a NeoForge 1.21.1 server with Sponge and FFAPI installed. Done means login queries are handled without hanging clients or discarding payloads needed by Sponge.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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
- Install SpongeNeo + FFAPI on a NeoForge 1.21.1 server.
- 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.
- Linguagem predominante
- Java
- Estrelas
- 181
- Forks
- 41
- Merge médio
- 16h 38min
- PRs com merge (30d)
- 1
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de Sinytra/ForgifiedFabricAPI
-
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 15/100
Sinytra/ForgifiedFabricAPI#302 · 5 comentários ·
-
1.21.x bug
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 45/100
Sinytra/ForgifiedFabricAPI#276 ·
-
1.21.x bug
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 42/100
Sinytra/ForgifiedFabricAPI#269 ·
-
1.21.x bug
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 53/100
Sinytra/ForgifiedFabricAPI#267 ·
-
1.21.x bug
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 48/100
Sinytra/ForgifiedFabricAPI#265 · 6 comentários ·
Todas as issues de Sinytra/ForgifiedFabricAPI
Issues semelhantes
-
API `/api/dataverses/{identifier}/dataset/linkingDataverses?alreadyLinking=true` returns at most 1 collectionTalvez já em andamento Um pull request vinculado a esta issue está aberto ou já foi mesclado. AbertaType: Bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
Mantenedores costumam responder em até 1 dia
-
javaoperatorsdk.client.oauth-token has no effect on the Kubernetes clientTalvez já em andamento @RaphaelFakhri assumiu hoje. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
-
MCP add-on: JSON responses with non-ASCII characters are truncated (wrong Content-Length)Talvez já em andamento @dhanushbs10 assumiu hoje. Abertaadd-on bug in:mcp
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Mantenedores costumam responder em até 1 dia
-
Map.Coordinate does not implement proper equalsTalvez já em andamento Um pull request vinculado a esta issue está aberto ou já foi mesclado. Abertavaadin-map
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
vaadin/flow-components#10586 ·
Mantenedores costumam responder em até 1 dia
-
WeReadInstaller writes the launcher database on the main thread at handover (Activity pause timeout)Abertabug good first issue
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100