question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Downstream packet error! Invalid packet id: 25 & more

See original GitHub issue

Describe the bug

I am on Velocity 1.1.0-SNAPSHOT and Paper 228. Geyser is installed on Velocity. Floodgate is installed on both Velocity and Paper. This bug occurs when a Bedrock player attempts to connect to the Velocity proxy. The player connects without anything loaded for a split second, and then disconnects with “Connection closed.” message.

Here is a full log of the error on Paper: https://paste.mod.gg/sadecefuha.md.

The Geyser plugin on Velocity spits this out:

[15:00:51 INFO] [geyser]: Attempting to login using floodgate mode... authentication will be encrypted.                                     
[15:00:51 INFO] [geyser]: Loaded Floodgate key!
[15:00:52 INFO] [geyser]: Kot9744 (logged in as: Kot9744) has connected to remote java server on address 127.0.0.1                          
[15:00:53 WARN] [geyser]: Downstream packet error! Invalid packet id: 25                                                                    
[15:00:53 INFO] [geyser]: Kot9744 has disconnected from remote Java server on address 127.0.0.1 because of Connection closed.               
[15:00:53 INFO] [geyser]: Bedrock user with ip: /MY-IP has disconnected for reason CLOSED_BY_REMOTE_PEER

To Reproduce

I have not tried to reproduce this bug, but it is fairly straightforward TMK.

  1. Download Velocity
  2. Download Paper
  3. Install Geyser and Floodgate on Velocity.
  4. Install Floodgate on Paper.
  5. Configure both instances to use Floodgate. Copy the private keys to the floodgates, and the public key to Geyser.
  6. Attempt to connect using a Bedrock client.

Expected behavior

The user can connect to the server.

Server Version

Velocity: Velocity 1.1.0-SNAPSHOT (git-3b1009ca-b262) Paper: This server is running Paper version git-Paper-228 (MC: 1.16.3) (Implementing API version 1.16.3-R0.1-SNAPSHOT)

Geyser Version

Geyser is on version 1.1.0. Floodgate is on 1.0-SNAPSHOT I am using Floodgate-Velocity on Velocity, Floodgate-Bukkit on Paper.

Minecraft: Bedrock Edition Version

1.16.40 - I was told there are no protocol revisions between 1.16.2 and 1.16.40.

Additional Context

Here is the Geyser dump. https://dump.geysermc.org/Q6Td3MZ5dLqkxvnBul1fp7UKsvldT93U

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:16 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
Magi1053commented, Oct 15, 2020

I can confirm that changing remote address from 127.0.0.1 to auto fixes this issue for me

2reactions
Camotoycommented, Oct 15, 2020

Not quite sure how you got 30066 as a port when your reported Velocity port is 25565, but I assume you tried changing things in an attempt to debug a situation that ultimately was corrupt Floodgate keys after all.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Developers - Bad Packet - - Bountysource
... no bungee or velocity. I keep getting the same error, [Geyser-Spigot] Downstream packet error! Invalid packet id: 25.
Read more >
bad packet id 26 - error : r/aternos - Reddit
i'm having this bad packet id 26 error when trying to conect to my friends server and i can't find any solucion on...
Read more >
bad packet id 27 (Help please) | SpigotMC - SpigotMC
Hi guys, i have this problem when i try to connect to the server. Help me please error text: Internal Exception: io.netty.handler.codec.
Read more >
RFC 2205: Resource ReSerVation Protocol (RSVP)
Here DestAddress, the IP destination address of the data packets, may be a unicast or multicast address. ProtocolId is the IP protocol ID....
Read more >
Bad Packet ID:25 - General - Aternos Community
Hi, Me and my friends aren't able to play modded (pixelmon forge) in the aternos server due to this showing up everytime we...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found