PowerNukkit / PowerNukkit

A Nukkit fork which supports new Minecraft Bedrock features
GNU General Public License v3.0
236 stars 61 forks source link

An exception occurred in RakNet (Server) io.netty.channel.unix.Errors$NativeIoException: sendToAddress(..) failed: Invalid argument #1337

Closed PocketMiner92 closed 2 years ago

PocketMiner92 commented 2 years ago

🐞 I found a bug

Network Listener - #12] ERROR - An exception occurred in RakNet (Server) io.netty.channel.unix.Errors$NativeIoException: sendToAddress(..) failed: Invalid argument ### 📸 Screenshots / Videos

▶ Steps to Reproduce

  1. Run command '...'
  2. Click on '....'
  3. Put '....' at '...'
  4. See error

✔ Expected Behavior

❌ Actual Behavior

📋 Debug information

💢 Crash Dump, Stack Trace and Other Files

💬 Anything else we should know?

PocketMiner92 commented 2 years ago

Now this Error spams 500 Times Without Players And Crash the server

PocketMiner92 commented 2 years ago

@joserobjr I Hope you can Help Its Important We do nothing, it Happens since i use Fakeinventorys for Powernukkit.

PocketMiner92 commented 2 years ago

Any News? Issue since 9 Months bruhhhhhhhh

PleaseInsertNameHere commented 2 years ago

Could you please provide more information? Which version of FakeInventories are you using? Is there any more information provided in the recieved exception?

PocketMiner92 commented 2 years ago

Fakeinventorys 1.0.3 from Powernukkits Plugin Page. But this Happens without any Players. Ramdomly in Console.

PleaseInsertNameHere commented 2 years ago

Can you show me the whole exception?

PocketMiner92 commented 2 years ago

Its all the Same 1000 Times the same Message in Console

PleaseInsertNameHere commented 2 years ago

So its just Network Listener - #12] ERROR - An exception occurred in RakNet (Server) io.netty.channel.unix.Errors$NativeIoException: sendToAddress(..) failed: Invalid argument?

PocketMiner92 commented 2 years ago

20220419_170905.jpg

Only this

PleaseInsertNameHere commented 2 years ago

Which plugins are using FakeInventories on your server?

PocketMiner92 commented 2 years ago

Craft, AuctionHouse, Enderchest, Invsee

PocketMiner92 commented 2 years ago

I have changed nothing I Startup the Server and it spams 1000 Times. After 15 Minutes (Without Players) it spams ramdomly and the Server is crashed

PleaseInsertNameHere commented 2 years ago

Does the error still occur when you remove the plugins?

PocketMiner92 commented 2 years ago

Yes

PleaseInsertNameHere commented 2 years ago

Also removed FakeInventories?

PocketMiner92 commented 2 years ago

Yes I think it haves nothing to do with this

joserobjr commented 2 years ago

Closing as duplicated of #1056 please let's keep our effort to resolve this problem there

joserobjr commented 2 years ago

Reopening because i derped, it's invalid argument and not operation is not permitted, might be another OS related issue, but a different one from #1056

PocketMiner92 commented 2 years ago

OS is Debian 10 Buster

PleaseInsertNameHere commented 2 years ago

Yes I think it haves nothing to do with this

I also don't think so, just wanted to make sure. What I know is that .sendToAddress() is a method of io.netty.channel.unix.Socket, no idea why this is causing a problem

joserobjr commented 2 years ago

Linking related issue: #1176 https://github.com/facebookarchive/RakNet/issues/147 https://github.com/hyperxpro/SourceEngineQueryCacher/issues/30

PocketMiner92 commented 2 years ago

Hm, wait for a fix. Thanks for Help but this cant be a Plugin Issue. Because i have never seen this Error before. With this error, the Server is useless.

PleaseInsertNameHere commented 2 years ago

So this is Minehub, right? Maybe it's an issue related to your hoster or their firewall is blocking the server from starting correctly at the moment.

PocketMiner92 commented 2 years ago

I have contact Minehub and the Support say its a Issue from Powernukkit

PleaseInsertNameHere commented 2 years ago

Can you check which PN version your server is running? (/version) I want to check if I can reproduce this error in any way.

PocketMiner92 commented 2 years ago

Now i use the latest

(git 926cab2)

joserobjr commented 2 years ago

Can you test if the UDP port is open on your server?

Put the IP:Port at https://check-host.net/check-udp and check if it says "Open or filtered" and not "No route to host" example: "test.powernukkit.org:19132"

https://check-host.net/check-udp?host=test.powernukkit.org:19132

PocketMiner92 commented 2 years ago

It say's open or filtered

PocketMiner92 commented 2 years ago

Fixed because server-ip= Was empty.

It was deleted by itself lol