hey all, ive been doing some research into the error i've been getting and it seems to be generally solved by switching to a paper server. even after i run my server using paper, i still get this long string of exceptions about raknet etc. i've attached a link to my dump. if there's anything obvious i havent seen that may be the issue, i'd appreciate a guide in the right direction.
#Exception thrown in RakNet pipepine
58 messages · Page 1 of 1 (latest)
Platform
Spigot
Listen address
0.0.0.0:19132 (internal IP)
Remote address
***:25565
Auth type
FLOODGATE
Server version
1.21-1-21c9a7c (MC: 1.21)
Autoconfigured remote?
Yes
!!logs
An entire log file is a very useful way of debugging any issues with plugins. Sometimes a snippet of a log doesn't tell the whole story!
You can upload your log file into this channel, or you can use https://mclo.gs/ to censor all IPs present in your log.
For BungeeCord (not Waterfall) there is a proxy.log.0 file in the root and for everything else it is latest.log in logs folder.
Found errors in the log!
See below for details and possible fixes
io.netty.handler.codec.DecoderException: java.lang.NullPointerException: Cannot invoke "io.netty.buffer.ByteBuf.release()" because "this.buffer" is null
Unknown fix!
Class: RakConnectionRequestHandler
Method: channelRead
Line: 80
Link: RakConnectionRequestHandler.java#L80
java.lang.IndexOutOfBoundsException: index: 0, length: 1 (expected: range(0, 0))
Unknown fix!
Class: RakConnectionRequestHandler
Method: channelRead
Line: 80
Link: RakConnectionRequestHandler.java#L80
uhhhhhh gonna forward that, no earthly idea what this could be
hahaha its all good
thank you for looking into it though
if anyone else looks in this thread by any chance, it is worth mentioning that this happens when a bedrock player tries connecting via my public ip/port. it's completely fine when someone within my network connects. i've determined it may be a udp connection issue but if i find a solution i'll post
Level Up!
You leveled up to level 1!
Tried running 1.21 paper and latest geyser/floodgate versions on my end; that seems to work fine
!!howtoportforward try giving the page below a look, might help
Here you can find a guide on how to set up port forwarding. Geyser uses the UDP protocol and the default Minecraft Bedrock port is 19132.
althouhgh this would certainly be a first as far as i can tell
well its an honor i guess
Does this exception consistenly occur after reboots too?
you know i never considered rebooting my computer
i did add some udp exceptions to windows firewall and that could be it
ill try rebooting though
Also try the vanilla Bedrock server and see if that acts up.
so rebooting after adjusting some firewall settings throws the same exceptions
vanilla bedrock server? as in standalone geyser?
gotcha will try
the same results happen with the vanilla bedrock server. i can join fine as a lan game but the public ip and port simply dont connect
for some context i'm using a tunnel instead of port forwarding. my friends who play on java can connect from the ip and port just fine, but it's only when bedrock players try to connect from the public ip that this happens
Level Up!
You leveled up to level 2!
like i said, this leads me to think my computer has some issue with udp connections. it's weird considering i added the exception to my firewall and powershell etc etc
but some connection has clearly been established since i get the long log of errors. either way i appreciate you both for trying to help
I've only seen this happen when a server is being attacked
well what would a server attack and my situation have in common
Out of memory perhaps
With bedrock only?
though im kind of intent on inbound packets being blocked at some point
yes
java players have no issue connection whether they're inside my network or outside of it
whereas this only happens when a bedrock user tries connecting from outside of my network (using the public ip attached to my server)
So if you connect locally it's ok?
yes
Hmm. I wonder if something on your network is causing a loop
that's a good point
Could you take a packet dump with wireshark while a bedrock player tries to connect?
yeah for sure
i havent used wireshark in nearly a decade but i'll report back once it's installed
so according to the log, there seem to be regular "unconnected" pings and pongs on the raknet protocol
Unconnected ping/pong is just for the server menu
Mainly interested in what you see when a user outside the network tries to join since you said the issue only happens during that
If you could save it as a pcap and send it yes that would be helpful. Feel free to dm it if you do want to share IPs
for sure
and for what its worth this was during an attempt to connect from outside the network
i would like to say for anyone else in the future who has this same issue: do not use localxpose when trying to set up a server with geyser. localxpose screws up the packets for some reason and you are better off using playit.gg
yeah so I had someone else check just to make sure its not different on andorid and ios... and the ips in that packet i mentioned in dm should definitely always be local addresses... so I am really perplexed by the fact that it's the IP of the tunnel service, and that it's just new incoming connection packets