#Exception thrown in RakNet pipepine

58 messages · Page 1 of 1 (latest)

wispy shoal
#

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.

https://dump.geysermc.org/NASfEtKJigMrGslhoCoxscVmwle9MlcK

placid martenBOT
remote wasp
#

!!logs

placid martenBOT
# remote wasp !!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.

wispy shoal
#

yeah one sec

placid martenBOT
# wispy shoal https://mclo.gs/WtR231b
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

remote wasp
#

uhhhhhh gonna forward that, no earthly idea what this could be

wispy shoal
#

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

placid martenBOT
remote wasp
#

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

placid martenBOT
remote wasp
#

althouhgh this would certainly be a first as far as i can tell

wispy shoal
#

well its an honor i guess

remote wasp
#

Does this exception consistenly occur after reboots too?

wispy shoal
#

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

thick dagger
#

Also try the vanilla Bedrock server and see if that acts up.

wispy shoal
#

so rebooting after adjusting some firewall settings throws the same exceptions

wispy shoal
thick dagger
wispy shoal
#

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

placid martenBOT
wispy shoal
#

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

spiral adder
#

I've only seen this happen when a server is being attacked

wispy shoal
#

well what would a server attack and my situation have in common

spiral adder
#

Out of memory perhaps

wispy shoal
#

its funny you say that

#

when i try connecting, the server memory fills up

spiral adder
#

With bedrock only?

wispy shoal
#

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)

spiral adder
#

So if you connect locally it's ok?

wispy shoal
#

yes

spiral adder
#

Hmm. I wonder if something on your network is causing a loop

wispy shoal
#

that's a good point

spiral adder
#

Could you take a packet dump with wireshark while a bedrock player tries to connect?

wispy shoal
#

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

spiral adder
#

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

wispy shoal
#

understood

#

do you want me to send the entire log in that case?

spiral adder
#

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

wispy shoal
#

for sure

#

and for what its worth this was during an attempt to connect from outside the network

wispy shoal
#

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

spiral adder
#

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