GeyserMC / Geyser

A bridge/proxy allowing you to connect to Minecraft: Java Edition servers with Minecraft: Bedrock Edition.
https://geysermc.org
MIT License
4.71k stars 676 forks source link

Kicks all bedrock player when joining server and says "timed out" #2194

Closed ieatsunchips closed 1 year ago

ieatsunchips commented 3 years ago

Describe the bug

When joining the game as a bedrock player, it lets you join a game but then immediately kicks you saying "timed out"

To Reproduce

1.Join game

  1. Get kicked

Expected behaviour

Every time.

Screenshots / Videos

No response

Server Version and Plugins

Yatopia version git-Yatopia-ver/1.16.5-42 (MC: 1.16.5)

Geyser Dump

https://dump.geysermc.org/ItaSqwrt5HUgB61o5xzgkLobX20JRX63

Geyser Version

Geyser version 1.2.1-SNAPSHOT (git-master-ce000a4)

Minecraft: Bedrock Edition Version

1.16. 221

Additional Context

No response

Camotoy commented 3 years ago

Please provide a log of this happening.

ieatsunchips commented 3 years ago

Please provide a log of this happening.

https://mclo.gs/ctWc2AC

Camotoy commented 3 years ago

Could you try with the Paper server software?

xOnlyFadi commented 3 years ago

I got the same problem as him using paper 1.8.8 or spigot 1.8.8 but java player joins normally but bedrock doesn't

BirbEXE commented 3 years ago

I use paper 1.16 same issue

BirbEXE commented 3 years ago

My dump https://dump.geysermc.org/7HHBy51jY77vccRs66u1rqEvbK1NWmf8

S0M0G commented 3 years ago

I have the same problem. 1.16.5 PaperMC

Camotoy commented 3 years ago

@BlackHummingBird try setting your remote address to auto.

S0M0G commented 3 years ago

I have the same problem. 1.16.5 PaperMC

Here's the dump: https://dump.geysermc.org/z5kEz7kkA8CDid0qfyxR7BeUS1ZBcR7E

BirbEXE commented 3 years ago

@BlackHummingBird try setting your remote address to auto.

Worked for like 10 mins then broke again

BirbEXE commented 3 years ago
06.05 09:00:16 [Server] INFO [Geyser-Spigot] /********* tried to connect!
06.05 09:00:19 [Server] INFO [Geyser-Spigot] Player connected with username BlakHmngBrd
06.05 09:00:23 [Server] INFO [Geyser-Spigot] Attempting to login using floodgate mode... authentication will be encrypted.
06.05 09:00:23 [Server] INFO [Geyser-Spigot] Loaded Floodgate key!
06.05 09:00:23 [Server] INFO [Geyser-Spigot] BlakHmngBrd (logged in as: BlakHmngBrd) has connected to remote java server on address ****
06.05 09:00:23 [Server] INFO [floodgate-bukkit] Added BlackHummingBird
06.05 09:00:23 [Server] INFO UUID of player BlackHummingBird is ****
06.05 09:00:24 [Server] INFO [DiscordSRV] Player BlackHummingBird joined with silent joining permission, not sending a join message
06.05 09:00:24 [Connect] User BlackHummingBird, IP ********
06.05 09:00:24 [PebbleHost] BlackHummingBird ran command Message of the Day
06.05 09:00:25 [Disconnect] User BlackHummingBird has disconnected, reason: Timed out
06.05 09:00:25 [Server] INFO [DiscordSRV] Player BlackHummingBird quit with silent quitting permission, not sending a quit message
06.05 09:00:25 [Server] INFO Removed Bedrock player who was logged in as *************
06.05 09:00:27 [Server] INFO [Geyser-Spigot] BlakHmngBrd has disconnected from remote Java server on address ******* because of Timed out
06.05 09:00:31 [Server] INFO [Geyser-Spigot] Bedrock user with ip: /***** has disconnected for reason CLOSED_BY_REMOTE_PEER
BirbEXE commented 3 years ago

Video relating to those logs https://youtu.be/fAcj8nzdku0

monty-dev commented 3 years ago

Using JDK 16 was the issue for me. Downgrading resolved.


From: xOnlyFadi @.> Sent: Tuesday, May 4, 2021 9:11 PM To: GeyserMC/Geyser @.> Cc: Subscribed @.***> Subject: Re: [GeyserMC/Geyser] Kicks all bedrock player when joining server and says "timed out" (#2194)

I got the same problem as him using paper 1.8.8 or spigot 1.8.8

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/GeyserMC/Geyser/issues/2194#issuecomment-832384915, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGTOLCEPLL7S7KAGVPQ5N5LTMCZMJANCNFSM44DMSWUA.

S0M0G commented 3 years ago

Using JDK 16 was the issue for me. Downgrading resolved. ____ From: xOnlyFadi @.> Sent: Tuesday, May 4, 2021 9:11 PM To: GeyserMC/Geyser @.> Cc: Subscribed @.***> Subject: Re: [GeyserMC/Geyser] Kicks all bedrock player when joining server and says "timed out" (#2194) I got the same problem as him using paper 1.8.8 or spigot 1.8.8 — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub<#2194 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGTOLCEPLL7S7KAGVPQ5N5LTMCZMJANCNFSM44DMSWUA.

Which version of Java did u use?

monty-dev commented 3 years ago

Originally I was using JDK 16 latest, GraalVM when users were disconnected. I downgraded to JDK 15 from Zulu.

Get Outlook for iOShttps://aka.ms/o0ukef


From: S0M0G @.> Sent: Thursday, May 6, 2021 8:27:43 AM To: GeyserMC/Geyser @.> Cc: Montel Edwards @.>; Comment @.> Subject: Re: [GeyserMC/Geyser] Kicks all bedrock player when joining server and says "timed out" (#2194)

Using JDK 16 was the issue for me. Downgrading resolved. … ____ From: xOnlyFadi @.> Sent: Tuesday, May 4, 2021 9:11 PM To: GeyserMC/Geyser @.> Cc: Subscribed @.***> Subject: Re: [GeyserMC/Geyser] Kicks all bedrock player when joining server and says "timed out" (#2194https://github.com/GeyserMC/Geyser/issues/2194) I got the same problem as him using paper 1.8.8 or spigot 1.8.8 — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub<#2194 (comment)https://github.com/GeyserMC/Geyser/issues/2194#issuecomment-832384915>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGTOLCEPLL7S7KAGVPQ5N5LTMCZMJANCNFSM44DMSWUA.

Which version of Java did u use?

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/GeyserMC/Geyser/issues/2194#issuecomment-833567663, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGTOLCBXWY4CN5EJ62MM7ULTMKRN7ANCNFSM44DMSWUA.

BirbEXE commented 3 years ago

@monty-dev I am on java 11 I feel like it isnt java messing up here

BirbEXE commented 3 years ago

Don't really know though

RedSmarty commented 3 years ago

Can this be because java 16 no longer allows illegal reflections? I once saw in logs that bedrock network library that geyser uses does some illegal reflections. PS :- I don't really know what illegal reflections are or if they are no longer allowed in java 16, this is just a guess of mine. Sorry if I am wrong.

Camotoy commented 3 years ago

While that could be a problem, other users are on 11, so if there is a core issue to this it's not that.

RedSmarty commented 3 years ago

I thought I should report it nonetheless. image

Camotoy commented 3 years ago

We are aware of that bug and it's likely unrelated.

Camotoy commented 3 years ago

Are any of you guys with this problem on a hosting provider?

BirbEXE commented 3 years ago

@ieatsunchips my anticheat was timing out frequently, try dialogue it, they fixed the issue for me

DurianCube commented 3 years ago

I can confirm this as a issue because it happen frequently. When i try to request some help on discord , most of player asking me to update the geyser but im using the latest one from jenkins. Im using floodgate 2.0 btw

Camotoy commented 3 years ago

Please provide a Geyser dump:

Run geyser dump (server console) / /geyser dump (ingame chat) on your Geyser instance or server, then copy the link it will give you and paste it here. A Geyser dump is a way of providing us with a bunch of useful information about your server and Geyser config. This doesn't include any IPs or sensitive data.

Please also provide your server logs when this occurs.

DurianCube commented 3 years ago

Please provide a Geyser dump:

Run geyser dump (server console) / /geyser dump (ingame chat) on your Geyser instance or server, then copy the link it will give you and paste it here. A Geyser dump is a way of providing us with a bunch of useful information about your server and Geyser config. This doesn't include any IPs or sensitive data.

Please also provide your server logs when this occurs.

Basically i already done it , idk if the bot are not updated yet or what but i installing the latest geyser and it keep saying im outdated. This problem with bedrock player getting kick already happen long ago even at floodgate 1.0 . Once a bedrock player being kickout by the server , every bedrock player on the server getting the same action even most of my player got a really strong internet connection.

Camotoy commented 3 years ago

You need to provide the link it gives you here, as well as the server logs.

DurianCube commented 3 years ago

https://dump.geysermc.org/LDPUGLLsHIRAAIikFnPM7fHFXgakkskI

here is the Geyser dump, to make thinks clear i just updated my geyser a few second ago and paste the url into the discord bot and it says "You aren't on the latest Geyser version! Please download the latest version" again.

BirbEXE commented 3 years ago

Try disabling spartan (not a permanent solution just for testing)

DurianCube commented 3 years ago

After a long time of testing it by disabling the anticheat seems that that not the problem. It still happen but not everytime. If one bedrock kicked out i can believe that maybe their connection problem but is kick out all the bedrock player at the same time. Java player seem unaffected

MrZomka commented 3 years ago

https://dump.geysermc.org/LDPUGLLsHIRAAIikFnPM7fHFXgakkskI

here is the Geyser dump, to make thinks clear i just updated my geyser a few second ago and paste the url into the discord bot and it says "You aren't on the latest Geyser version! Please download the latest version" again.

image

DurianCube commented 3 years ago

Tq for your reply, yes we are enable the offline mode in order to make the bungeecord works. Because of the bedrock player getting disconnected , we already try various method in order to detect the problem and even by disconnecting the bungeecord connection. The reason we not using the online mode back after disconnecting it because we dont want to have double uuid and player data in the same server.

Chew commented 3 years ago

You shouldn't have Geyser on any target server. You only need it on the Bungee server, which should most definitely be online.

MasqueOu commented 3 years ago

Exact same prob here, paperspigot 1.17 - latest geyser - java 16

haner24 commented 2 years ago

Exact same problem here, paperspigot 1.18 server with java 17.0.1 - latest geyser

emcpwns commented 2 years ago

Same issue. Running 1.18 Paper/Geyser/Floodgate with BisectHosting Premium (with UDP enabled). Dump: https://dump.geysermc.org/nqcmC3CuE8Yg6CkefgBFnZmxSEDKwYPq

Camotoy commented 2 years ago

Can you update to the latest Geyser build and make a new Geyser dump? And @haner24 can you also share a Geyser dump?

emcpwns commented 2 years ago

Updating to the very latest version seems to have fixed it for me. I just downloaded Geyser last night so I didn't think to even check for a new version. Thanks for the help! (also here's my new dump in case it helps at all https://dump.geysermc.org/XZ3B226Dw4qvsZt4L0TLxkPMkuLC8pR0)

Camotoy commented 2 years ago

...We didn't change anything network-wise to fix the issue, but if it's solved then great. I just asked for the up-to-date dump since I added a new dump field.

danny0x4 commented 2 years ago

same issue here. running 1.18 server and with java 16 - lastest geyser

crolopez commented 2 years ago

Are any of you guys with this problem on a hosting provider?

Me! I'm using the last version from Adoptium, the last GeyserMC build, and the last PaperMC (1.18.1) build. Java players can play normally and Bedrock players are randomly kicked with TIME_OUT.

Hosted on a Debian 10.

Thank you in advance.

pupshadow commented 2 years ago

This issue happens with me as well all Java players have no issues but when it comes to bedrock players they seem to always disconnect within a few moments of connecting. Because of reason timed out

Redned235 commented 2 years ago

Is this still occurring?

TeemoCell commented 2 years ago

Ye, i have the same issue.

lChrisjm commented 2 years ago

Ye, i have the same issue.

Got the same issue

TypicalShavonne commented 2 years ago

this is still occuring :)

Apilancus commented 2 years ago

I had the same issue. Are you using a forced resource pack for bedrock? The resource pack (outdated, different version) and my server/geyser had a conflict somehow i guess. Removing it was the solution for me.

AndyIsHereBoi commented 1 year ago

[21:32:32 INFO] AndyIsHereBoi has disconnected from remote Java server on address my-server-address because of Bedrock client timed out i always get these logs

pcboii commented 1 year ago

Any solution to this?

We have bedrock players reporting they are constantly getting disconnected, no issue w/ Java players.

For my specific scenario, our server is located in US-West and the affected bedrock players are in the UK.

Dump: https://dump.geysermc.org/IaoOerQdSBnjf6UfaZxmvbE4RSKdwwey

BigD57 commented 1 year ago

Anyone ever find a fix for this? Im having the same stuff happen except my PS4 connects just fine as well as my java account but my friends ps4 and xbox connect for 5 minutes and then simultaneously get kicked and the same “bedrock client timed out” message shows up in the console