Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Geyser isn't working with TCPShield? #2812

Closed
tdeverx opened this issue Feb 3, 2022 · 12 comments
Closed

Geyser isn't working with TCPShield? #2812

tdeverx opened this issue Feb 3, 2022 · 12 comments

Comments

@tdeverx
Copy link

tdeverx commented Feb 3, 2022

Describe the bug

Sorry if I've taken this issue to the wrong repository, but I something isn't working correctly.

When I don't have TCPShield installed, everything works correctly! But, for some reason, when I add the plugin bedrock players aren't syncing correctly.

I can still login on bedrock, but I'm joining as a "guest" and it's acting like a separate account. I played around with the setting and found that this is still present even when I force floodgate account link, it logs in. When floodgate is disabled nothing pops up to login.. I think the strangest thing about this, is I correctly get kicked from the server from logging in from a different location? Super strange.

To Reproduce

  1. Install TCPShield & ProtocolLib.
  2. Setup TCPShield (enable Geyser support).
  3. Connect to bedrock locally (bedrock access won't be public).
  4. Issues.

Expected behaviour

For Geyser to work with TCPShield.

Server Version

Paper version git-Paper-126 (MC: 1.18.1)

Plugins

No response

Geyser Dump

https://dump.geysermc.org/NlLm2szfPEWq14GjRqwMo280Kyw5NgKx

Geyser Version

Geyser version 2.0.0-SNAPSHOT (git-master-7853e8c)

Minecraft: Bedrock Edition Version

No response

Additional Context

Apologies in advance if this isn't a Geyser issue and more of a TCPShield issue

@Camotoy
Copy link
Member

Camotoy commented Feb 3, 2022

I can still login on bedrock, but I'm joining as a "guest" and it's acting like a separate account.

Can you explain this in more detail? I don't quite understand.

@tdeverx
Copy link
Author

tdeverx commented Feb 3, 2022

My bad, sorry about that. I'm using LuckPerms and have some prefixes setup. So "Guest", just means the default user. When I'm logged in on java, I have prefixes, nickname, items etc.. but when I login on bedrock everything is set to default, as if it's a different account. Works perfectly fine when I removed TCPShield however..

@Camotoy
Copy link
Member

Camotoy commented Feb 3, 2022

Yeah, this smells like a TCPShield issue. Please send a full server log?

@tdeverx
Copy link
Author

tdeverx commented Feb 3, 2022

@RealCallum
Copy link

Check their pricing plans, it clearly states that only certain ones support Geyser.
They will also need to provide you with a bedrock tunnel (which is currently being manually provisioned) so open a support ticket with them.

@tdeverx
Copy link
Author

tdeverx commented Feb 4, 2022

Oh sorry I should've been a little clearer,

Connect to bedrock locally

I'm not connecting to bedrock through TCPShield, I'm just using my local IP address. I don't intend on making bedrock public, its mostly just a convince thing for myself / friends to play cross platform. Only "java" will be routed through TCPShield and made public. This is why I'm confused as to why it's not working, because i'm technically not using that service for bedrock, does that make sense?

@Camotoy
Copy link
Member

Camotoy commented Feb 4, 2022

I think this is a TCPShield issue. It seems to be completely bypassing the Floodgate code.

@tdeverx
Copy link
Author

tdeverx commented Feb 4, 2022

Seeming that way, I'll take this issue over to their GitHub. Thanks for looking into it anyway! Appreciated it.

@ghost
Copy link

ghost commented Feb 10, 2022

Seeming that way, I'll take this issue over to their GitHub. Thanks for looking into it anyway! Appreciated it.
Bedrock runs on UDP. Java on TCP.

@tdeverx
Copy link
Author

tdeverx commented Feb 10, 2022

TCPShield has support for bedrock using Geyser.

@wildmaster84
Copy link

TCPShield blocks access to connecting to the server using the direct ip for security. It is not recommended to allow users to connect to your server with the direct ip, but change "only-allow-proxy-connections" to false in the TCPShield config and it will allow you to connect with bedrock.

@Redned235
Copy link
Member

Steps above should work. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants