Skip to content
This repository has been archived by the owner on Oct 20, 2023. It is now read-only.

Server crashes unexpectedly #31

Closed
Rattlyy opened this issue Oct 20, 2019 · 11 comments
Closed

Server crashes unexpectedly #31

Rattlyy opened this issue Oct 20, 2019 · 11 comments

Comments

@Rattlyy
Copy link

Rattlyy commented Oct 20, 2019

Don't know what happened. I was 40 on 350 queue then saw this on site:
image.

Seemed a bit strange, so, decided to check the console.
This is the error:
err { Error: Serialization error for play.toServer : SizeOf error for name : undefined is not in the mappings value
at ProtoDef.sizeOfMapper (C:\Users\User\Creative Cloud Files\Desktop\2bored2wait-0.0.1\node_modules\protodef\src\datatypes\utils.js:59:34)
at ProtoDef.sizeOf (C:\Users\User\Creative Cloud Files\Desktop\2bored2wait-0.0.1\node_modules\protodef\src\protodef.js:127:31)
at tryDoc (C:\Users\User\Creative Cloud Files\Desktop\2bored2wait-0.0.1\node_modules\protodef\src\datatypes\structures.js:72:30)
at tryCatch (C:\Users\User\Creative Cloud Files\Desktop\2bored2wait-0.0.1\node_modules\protodef\src\utils.js:50:16)
at tryDoc (C:\Users\User\Creative Cloud Files\Desktop\2bored2wait-0.0.1\node_modules\protodef\src\utils.js:54:10)
at typeArgs.reduce (C:\Users\User\Creative Cloud Files\Desktop\2bored2wait-0.0.1\node_modules\protodef\src\datatypes\structures.js:72:12)
at Array.reduce ()
at ProtoDef.sizeOfContainer (C:\Users\User\Creative Cloud Files\Desktop\2bored2wait-0.0.1\node_modules\protodef\src\datatypes\structures.js:71:25)
at ProtoDef.sizeOf (C:\Users\User\Creative Cloud Files\Desktop\2bored2wait-0.0.1\node_modules\protodef\src\protodef.js:40:67)
at ProtoDef.sizeOf (C:\Users\User\Creative Cloud Files\Desktop\2bored2wait-0.0.1\node_modules\protodef\src\protodef.js:127:31) field: 'play.toServer' }
events.js:183
throw er; // Unhandled 'error' event
^

Error: listen EADDRINUSE 0.0.0.0:25565
at Object._errnoException (util.js:992:11)
at _exceptionWithHostPort (util.js:1014:20)
at Server.setupListenHandle [as _listen2] (net.js:1355:14)
at listenInCluster (net.js:1396:12)
at doListen (net.js:1505:7)
at _combinedTickCallback (internal/process/next_tick.js:141:11)
at process._tickCallback (internal/process/next_tick.js:180:9)

@Rattlyy
Copy link
Author

Rattlyy commented Oct 20, 2019

Update:
Tryed reinstalling. Now it gives me this:

err SyntaxError: Unexpected token < in JSON at position 0 at JSON.parse () at C:\Users\User\Creative Cloud Files\Desktop\2bored2wait-0.0.1\node_modules\yggdrasil\lib\utils.js:28:23 at IncomingMessage. (C:\Users\User\Creative Cloud Files\Desktop\2bored2wait-0.0.1\node_modules\phin\lib\phin.compiled.js:1:2162) at emitNone (events.js:111:20) at IncomingMessage.emit (events.js:208:7) at endReadableNT (_stream_readable.js:1064:12) at _combinedTickCallback (internal/process/next_tick.js:138:11) at process._tickCallback (internal/process/next_tick.js:180:9)

@themoonisacheese
Copy link
Owner

the first error was caused by something already using the port specified in the config for minecraft. maybe you have another server running, or maybe you launched it twice?

the second looks like bad data was recieved from the server. please try again.

@Rattlyy
Copy link
Author

Rattlyy commented Oct 21, 2019

Yeah, tryed again alot.
Seems like smth broke

@Rattlyy
Copy link
Author

Rattlyy commented Nov 8, 2019

@themoonisacheese bump

@themoonisacheese
Copy link
Owner

would you happen to play using a wifi hotspot?

@Rattlyy
Copy link
Author

Rattlyy commented Nov 12, 2019

nope

@themoonisacheese
Copy link
Owner

then I have absolutely no clue. the only thing left is your firewall, or the default windows one if you don't have any, but that shouldn't cause this type of error.

@sijanec
Copy link

sijanec commented Dec 28, 2019

maybe try on linux as root, that should give you full perms and probably avoid problems with iptables and other stuff... Windows can sometimes prompt you with a dialog box and checkboxes for private and public networks, I usually check both and hit okay... Idk how it determines if a network is public or private...

edit: I am getting the same error on linux with root privileges....

@qualk
Copy link
Contributor

qualk commented Nov 17, 2020

nope

@AverageComet250
Copy link
Contributor

Windows requires you to say if a network is public or private and sets new networks to public by default (at least on win 10). On windows 10 you have to open your WiFi properties (place where you can find default gateway and private IP) and change it from public to private.

@MrGeorgen
Copy link
Collaborator

I guess it is fixed

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

No branches or pull requests

6 participants