#Vanilla Java Client can connect, but Bedrock will not.

83 messages · Page 1 of 1 (latest)

cedar saffron
#

Yet another post like this. I promise I'm not dumb though.

Geyser 2.8.3-b921
Java 21
Fabric 1.21.8
Bedrock 1.21.101
Running Ubuntu on a self-hosted machine

I have a feeling it may be something to do with the reverse proxy I have set up through Amazon Web Services. Though, when I run the command inside of the EC2 "ss -lnu | grep 19132" to make sure traffic from that port can come through, everything looks fine. My dump link is below.

https://dump.geysermc.org/luAoNuS7vIJDcVhej9tJKK4JQbQxD43g

digital shuttleBOT
delicate condor
cedar saffron
#

I'm new to this, apologies.

delicate condor
#

I don’t remember the option specifically but your welcome to look through the link above

#

For the option you need

cedar saffron
#

Thanks G

#

I see lemme see if that works

delicate condor
#

If you make any changes to the config

#

Restart the server

cedar saffron
#

Yes sensei

cedar saffron
swift idol
#

If it’s ALB then yes i belive

cedar saffron
#

Wait

#

Its NGINX

cedar saffron
#

Additionally, I've tried setting enable-proxy-protocol and use-proxy-protocol to false but left the proxypass value to true

#

It's an EC2 instance running NGINX

swift idol
#

NGINX doesn’t handle udp by default I don’t think

#

stream {
server {
listen 19132 udp;
proxy_pass 127.0.0.1:19132;
}
}

#

Should work

swift idol
# cedar saffron Can you dumb this down for someone who doesnt pay attention in their compsci lec...
  1. Bedrock Edition talks to servers using UDP, not TCP/HTTP.
    • Think of TCP/HTTP like sending a letter by mail with a return address — very structured.
    • UDP is like throwing a paper airplane — fast, no checks if it arrives.
    2. AWS ALB / CloudFront = mail sorting machine for letters (TCP/HTTP)
    • It only knows how to handle the “letters” (HTTP/TCP).
    • If you throw a paper airplane (UDP) at it, it ignores it — the server never sees it.
    3. Network Load Balancer (NLB) = a bucket that catches both letters and paper airplanes
    • It can forward both TCP and UDP.
    • So Bedrock (UDP) works if you send it through an NLB.
    4. NGINX on EC2 = a mailroom that only handles letters (HTTP/TCP) by default.
    • If you want it to handle paper airplanes (UDP), you need to tell it: “Hey, catch UDP too!” using stream{} blocks.
swift idol
swift idol
#

I would try configing it for udp then trying

cedar saffron
cedar saffron
#

And specified UDP

cedar saffron
#

Wait... does it matter that i have a few serverside mods?

delicate condor
#

Nope.

#

Wouldn’t affect gameplay.

#

Well networking*

cedar saffron
#

Like Toms Mobs, Friends and Foes, Farmers Delight Polymerized, Enderscape Polymerized

delicate condor
#

Should be fine.

#

If they are server sided and not client sided mods

cedar saffron
#

Yeah vanilla java client can connect fine

delicate condor
#

Friends and foes might have some issues with bedrock gameplay wise probably

#

If it uses entities

cedar saffron
#

Toms mobs and friends and foes introduce new mobs

#

With a resource pack from polymer

delicate condor
#

Oh uh

#

I believe Tom’s mod would work

#

Idk about friends and foes however

cedar saffron
#

There is a polymer patch im using for it

delicate condor
#

Ah lol

cedar saffron
#

Yeah so i really am stumped with this

#

Nothing is wrong with my NGINX config

#

When i listen for udp on port 19132 on the EC2 i get a response

delicate condor
#

Idk 🤷 sadly I don’t have that much tech experience lol so I can’t help u in that division at least haha

cedar saffron
#

Hmmmmmm

delicate condor
#

No experience with reverse udp’s or nginx

cedar saffron
#

Escalate me to Super Hyper Extreme Support 1 Billion

#

🤣

cedar saffron
#

Same man. Yeah that cat was me at 2:30a last night

swift idol
#

Maybe try using sudo tcpdump -n udp port 19132?

#

Since ss-lnu only shows listening

#

Also the address on bedrock is commented out idk if that would break it but strange

swift idol
#

It seems to be fine but yeah a dump on udp port would be great to debug if you did with proxy off and on and with that other thing off and on if you observe changes tell me or give all

digital shuttleBOT
#

Post is tagged with Answered

cedar saffron
#

Not answered yet

cedar saffron
delicate condor
cedar saffron
#

Ohhh

#

Silly user me

cedar saffron
#

No idea why but i believe its working...

#

After migrating from a vm to proxmox

swift idol
#

So I’m guesssing you needed forward hostname then since the load balancer changed the headers

#

Well cool it works yay

cedar saffron
#

they can still play but its a desync of literally like 60 seconds

swift idol
#

ip link show vmbr0 and ip link show eth0 should show mtu
ip link set dev vmbr0 mtu 1400
ip link set dev eth0 mtu 1400 can set

cedar saffron
#

Thanks, gonna try this later on

swift idol
#

Give it a public IP or a straight port-forward so the UDP packets aren’t double-NATed too btw

#

Alright hope it helps