AlexProgrammerDE / balena-minecraft-server

Build a Minecraft Server using a Raspberry Pi 4! Supports common Servers, SCP, RCON and Wifi Connect.
Apache License 2.0
199 stars 67 forks source link

Server crashes randomly #11

Closed acryllect closed 4 years ago

acryllect commented 4 years ago

I followed the tutorial on the Balena website (which is the same one that is written on this github page) and for some reason, it just sometimes restarts randomly. It does this a lot to the point it is very frustrating. I believe this is something to do with wifi-connect since the mc-server service gives no output. The wifi-connect service on the other hand prints out a random line and then "Skipping Wifi Connect".

AlexProgrammerDE commented 4 years ago

@acryllect what device are you using. I had this issue on my Raspberry Pi 4 1GB

acryllect commented 4 years ago

@AlexProgrammerDE Raspberry Pi 4 4GB with a 2GB of RAM allowance

AlexProgrammerDE commented 4 years ago

@acryllect what is with the output. The ones of wifi-connect are normal. They indicate that it doesn´t open the wifi discovery. Aren´t there any logs on boot? You can try to reboot and wait for the logs.

acryllect commented 4 years ago

@AlexProgrammerDE The output just before it starts loading the MC world and loading the spawn area: 13.03.20 19:39:30 (+0100) Supervisor starting 13.03.20 19:39:19 (+0100) wifi-connect Spider mode enabled. Check if remote file exists. 13.03.20 19:39:19 (+0100) wifi-connect --2020-03-13 18:39:19-- http://google.com/ 13.03.20 19:39:19 (+0100) wifi-connect Resolving google.com (google.com)... 216.58.208.174, 2a00:1450:4002:806::200e 13.03.20 19:39:19 (+0100) wifi-connect Connecting to google.com (google.com)|216.58.208.174|:80... connected. 13.03.20 19:39:19 (+0100) wifi-connect HTTP request sent, awaiting response... 301 Moved Permanently 13.03.20 19:39:19 (+0100) wifi-connect Location: http://www.google.com/ [following] 13.03.20 19:39:19 (+0100) wifi-connect Spider mode enabled. Check if remote file exists. 13.03.20 19:39:19 (+0100) wifi-connect --2020-03-13 18:39:19-- http://www.google.com/ 13.03.20 19:39:19 (+0100) wifi-connect Resolving www.google.com (www.google.com)... 216.58.206.36, 2a00:1450:4002:805::2004 13.03.20 19:39:19 (+0100) wifi-connect Connecting to www.google.com (www.google.com)|216.58.206.36|:80... connected. 13.03.20 19:39:20 (+0100) wifi-connect HTTP request sent, awaiting response... 200 OK 13.03.20 19:39:20 (+0100) wifi-connect Length: unspecified [text/html] 13.03.20 19:39:20 (+0100) wifi-connect Remote file exists and could contain further links, 13.03.20 19:39:20 (+0100) wifi-connect but recursion is disabled -- not retrieving. 13.03.20 19:39:20 (+0100) wifi-connect 13.03.20 19:39:20 (+0100) wifi-connect Skipping WiFi Connect 13.03.20 19:39:40 (+0100) mc-server [18:39:40 INFO]: Starting minecraft server version 1.15.2 13.03.20 19:39:40 (+0100) mc-server [18:39:40 INFO]: Loading properties [18:39:41 INFO]: This server is running Paper version git-Paper-132 (MC: 1.15.2) (Implementing API version 1.15.2-R0.1-SNAPSHOT) [18:39:43 INFO]: Server Ping Player Sample Count: 12 [18:39:43 INFO]: Using 4 threads for Netty based IO [18:39:43 INFO]: Debug logging is disabled [18:39:43 INFO]: Default game type: SURVIVAL [18:39:43 INFO]: Generating keypair [18:39:44 INFO]: Starting Minecraft server on *:25565 [18:39:44 INFO]: Using default channel type [18:39:45 INFO]: Server permissions file permissions.yml is empty, ignoring it [18:39:45 INFO]: Preparing level "world" [18:39:46 INFO]: Reloading ResourceManager: Default, bukkit 13.03.20 19:40:20 (+0100) wifi-connect Spider mode enabled. Check if remote file exists. 13.03.20 19:40:20 (+0100) wifi-connect --2020-03-13 18:40:20-- http://google.com/ 13.03.20 19:40:20 (+0100) wifi-connect Resolving google.com (google.com)... 216.58.208.174, 2a00:1450:4002:806::200e 13.03.20 19:40:20 (+0100) wifi-connect Connecting to google.com (google.com)|216.58.208.174|:80... connected. 13.03.20 19:40:20 (+0100) wifi-connect HTTP request sent, awaiting response... 301 Moved Permanently 13.03.20 19:40:20 (+0100) wifi-connect Location: http://www.google.com/ [following] 13.03.20 19:40:20 (+0100) wifi-connect Spider mode enabled. Check if remote file exists. 13.03.20 19:40:20 (+0100) wifi-connect --2020-03-13 18:40:20-- http://www.google.com/ 13.03.20 19:40:20 (+0100) wifi-connect Resolving www.google.com (www.google.com)... 216.58.206.36, 2a00:1450:4002:805::2004 13.03.20 19:40:20 (+0100) wifi-connect Connecting to www.google.com (www.google.com)|216.58.206.36|:80... connected. 13.03.20 19:40:20 (+0100) wifi-connect HTTP request sent, awaiting response... 200 OK 13.03.20 19:40:20 (+0100) wifi-connect Length: unspecified [text/html] 13.03.20 19:40:20 (+0100) wifi-connect Remote file exists and could contain further links, 13.03.20 19:40:20 (+0100) wifi-connect but recursion is disabled -- not retrieving. 13.03.20 19:40:20 (+0100) wifi-connect 13.03.20 19:40:20 (+0100) wifi-connect Skipping WiFi Connect

The full output file as a txt I directly downloaded from the cloud dashboard can be found here on GDrive.

Something that might deserve attention is the following notice (which can also be found in the log above): [18:41:20 WARN]: Unable to determine local host IP, please set server-ip in server.properties: balenaminecraftserver: balenaminecraftserver: No address associated with hostname

Also, here's a paste of the full output log, in case it's easier for you: `13.03.20 19:39:30 (+0100) Supervisor starting 13.03.20 19:39:19 (+0100) wifi-connect Spider mode enabled. Check if remote file exists. 13.03.20 19:39:19 (+0100) wifi-connect --2020-03-13 18:39:19-- http://google.com/ 13.03.20 19:39:19 (+0100) wifi-connect Resolving google.com (google.com)... 216.58.208.174, 2a00:1450:4002:806::200e 13.03.20 19:39:19 (+0100) wifi-connect Connecting to google.com (google.com)|216.58.208.174|:80... connected. 13.03.20 19:39:19 (+0100) wifi-connect HTTP request sent, awaiting response... 301 Moved Permanently 13.03.20 19:39:19 (+0100) wifi-connect Location: http://www.google.com/ [following] 13.03.20 19:39:19 (+0100) wifi-connect Spider mode enabled. Check if remote file exists. 13.03.20 19:39:19 (+0100) wifi-connect --2020-03-13 18:39:19-- http://www.google.com/ 13.03.20 19:39:19 (+0100) wifi-connect Resolving www.google.com (www.google.com)... 216.58.206.36, 2a00:1450:4002:805::2004 13.03.20 19:39:19 (+0100) wifi-connect Connecting to www.google.com (www.google.com)|216.58.206.36|:80... connected. 13.03.20 19:39:20 (+0100) wifi-connect HTTP request sent, awaiting response... 200 OK 13.03.20 19:39:20 (+0100) wifi-connect Length: unspecified [text/html] 13.03.20 19:39:20 (+0100) wifi-connect Remote file exists and could contain further links, 13.03.20 19:39:20 (+0100) wifi-connect but recursion is disabled -- not retrieving. 13.03.20 19:39:20 (+0100) wifi-connect
13.03.20 19:39:20 (+0100) wifi-connect Skipping WiFi Connect 13.03.20 19:39:40 (+0100) mc-server [18:39:40 INFO]: Starting minecraft server version 1.15.2 13.03.20 19:39:40 (+0100) mc-server [18:39:40 INFO]: Loading properties [18:39:41 INFO]: This server is running Paper version git-Paper-132 (MC: 1.15.2) (Implementing API version 1.15.2-R0.1-SNAPSHOT) [18:39:43 INFO]: Server Ping Player Sample Count: 12 [18:39:43 INFO]: Using 4 threads for Netty based IO [18:39:43 INFO]: Debug logging is disabled [18:39:43 INFO]: Default game type: SURVIVAL [18:39:43 INFO]: Generating keypair [18:39:44 INFO]: Starting Minecraft server on *:25565 [18:39:44 INFO]: Using default channel type [18:39:45 INFO]: Server permissions file permissions.yml is empty, ignoring it [18:39:45 INFO]: Preparing level "world" [18:39:46 INFO]: Reloading ResourceManager: Default, bukkit 13.03.20 19:40:20 (+0100) wifi-connect Spider mode enabled. Check if remote file exists. 13.03.20 19:40:20 (+0100) wifi-connect --2020-03-13 18:40:20-- http://google.com/ 13.03.20 19:40:20 (+0100) wifi-connect Resolving google.com (google.com)... 216.58.208.174, 2a00:1450:4002:806::200e 13.03.20 19:40:20 (+0100) wifi-connect Connecting to google.com (google.com)|216.58.208.174|:80... connected. 13.03.20 19:40:20 (+0100) wifi-connect HTTP request sent, awaiting response... 301 Moved Permanently 13.03.20 19:40:20 (+0100) wifi-connect Location: http://www.google.com/ [following] 13.03.20 19:40:20 (+0100) wifi-connect Spider mode enabled. Check if remote file exists. 13.03.20 19:40:20 (+0100) wifi-connect --2020-03-13 18:40:20-- http://www.google.com/ 13.03.20 19:40:20 (+0100) wifi-connect Resolving www.google.com (www.google.com)... 216.58.206.36, 2a00:1450:4002:805::2004 13.03.20 19:40:20 (+0100) wifi-connect Connecting to www.google.com (www.google.com)|216.58.206.36|:80... connected. 13.03.20 19:40:20 (+0100) wifi-connect HTTP request sent, awaiting response... 200 OK 13.03.20 19:40:20 (+0100) wifi-connect Length: unspecified [text/html] 13.03.20 19:40:20 (+0100) wifi-connect Remote file exists and could contain further links, 13.03.20 19:40:20 (+0100) wifi-connect but recursion is disabled -- not retrieving. 13.03.20 19:40:20 (+0100) wifi-connect
13.03.20 19:40:20 (+0100) wifi-connect Skipping WiFi Connect [18:40:50 INFO]: Loaded 6 recipes [18:40:52 INFO]: -------- World Settings For [world] -------- [18:40:52 INFO]: Mob Spawn Range: 8 [18:40:52 INFO]: Experience Merge Radius: 3.0 [18:40:52 INFO]: Cactus Growth Modifier: 100% [18:40:52 INFO]: Cane Growth Modifier: 100% [18:40:52 INFO]: Melon Growth Modifier: 100% [18:40:52 INFO]: Mushroom Growth Modifier: 100% [18:40:52 INFO]: Pumpkin Growth Modifier: 100% [18:40:52 INFO]: Sapling Growth Modifier: 100% [18:40:52 INFO]: Beetroot Growth Modifier: 100% [18:40:52 INFO]: Carrot Growth Modifier: 100% [18:40:52 INFO]: Potato Growth Modifier: 100% [18:40:52 INFO]: Wheat Growth Modifier: 100% [18:40:52 INFO]: NetherWart Growth Modifier: 100% [18:40:52 INFO]: Vine Growth Modifier: 100% [18:40:52 INFO]: Cocoa Growth Modifier: 100% [18:40:52 INFO]: Bamboo Growth Modifier: 100% [18:40:52 INFO]: SweetBerry Growth Modifier: 100% [18:40:52 INFO]: Kelp Growth Modifier: 100% [18:40:52 INFO]: Entity Activation Range: An 32 / Mo 32 / Ra 48 / Mi 16 / Tiv true [18:40:52 INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64 [18:40:52 INFO]: Hopper Transfer: 8 Hopper Check: 1 Hopper Amount: 1 [18:40:52 INFO]: Custom Map Seeds: Village: 10387312 Desert: 14357617 Igloo: 14357618 Jungle: 14357619 Swamp: 14357620 Monument: 10387313 Ocean: 14357621 Shipwreck: 165745295 Slime: 987234911 [18:40:52 INFO]: Max TNT Explosions: 100 [18:40:52 INFO]: Tile Max Tick Time: 50ms Entity max Tick Time: 50ms [18:40:52 INFO]: View Distance: 10 [18:40:52 INFO]: Allow Zombie Pigmen to spawn from portal blocks: true [18:40:52 INFO]: Item Despawn Rate: 6000 [18:40:52 INFO]: Item Merge Radius: 2.5 [18:40:52 INFO]: Arrow Despawn Rate: 1200 Trident Respawn Rate:1200 [18:40:52 INFO]: Zombie Aggressive Towards Villager: true [18:40:52 INFO]: Nerfing mobs spawned from spawners: false [18:40:52 INFO]: -------- World Settings For [world_nether] -------- [18:40:52 INFO]: Mob Spawn Range: 8 [18:40:52 INFO]: Experience Merge Radius: 3.0 [18:40:52 INFO]: Cactus Growth Modifier: 100% [18:40:52 INFO]: Cane Growth Modifier: 100% [18:40:52 INFO]: Melon Growth Modifier: 100% [18:40:52 INFO]: Mushroom Growth Modifier: 100% [18:40:52 INFO]: Pumpkin Growth Modifier: 100% [18:40:52 INFO]: Sapling Growth Modifier: 100% [18:40:52 INFO]: Beetroot Growth Modifier: 100% [18:40:52 INFO]: Carrot Growth Modifier: 100% [18:40:52 INFO]: Potato Growth Modifier: 100% [18:40:52 INFO]: Wheat Growth Modifier: 100% [18:40:52 INFO]: NetherWart Growth Modifier: 100% [18:40:52 INFO]: Vine Growth Modifier: 100% [18:40:52 INFO]: Cocoa Growth Modifier: 100% [18:40:52 INFO]: Bamboo Growth Modifier: 100% [18:40:52 INFO]: SweetBerry Growth Modifier: 100% [18:40:52 INFO]: Kelp Growth Modifier: 100% [18:40:52 INFO]: Entity Activation Range: An 32 / Mo 32 / Ra 48 / Mi 16 / Tiv true [18:40:52 INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64 [18:40:52 INFO]: Hopper Transfer: 8 Hopper Check: 1 Hopper Amount: 1 [18:40:52 INFO]: Custom Map Seeds: Village: 10387312 Desert: 14357617 Igloo: 14357618 Jungle: 14357619 Swamp: 14357620 Monument: 10387313 Ocean: 14357621 Shipwreck: 165745295 Slime: 987234911 [18:40:52 INFO]: Max TNT Explosions: 100 [18:40:52 INFO]: Tile Max Tick Time: 50ms Entity max Tick Time: 50ms [18:40:52 INFO]: View Distance: 10 [18:40:52 INFO]: Allow Zombie Pigmen to spawn from portal blocks: true [18:40:52 INFO]: Item Despawn Rate: 6000 [18:40:52 INFO]: Item Merge Radius: 2.5 [18:40:52 INFO]: Arrow Despawn Rate: 1200 Trident Respawn Rate:1200 [18:40:52 INFO]: Zombie Aggressive Towards Villager: true [18:40:52 INFO]: Nerfing mobs spawned from spawners: false [18:40:53 INFO]: -------- World Settings For [world_the_end] -------- [18:40:53 INFO]: Mob Spawn Range: 8 [18:40:53 INFO]: Experience Merge Radius: 3.0 [18:40:53 INFO]: Cactus Growth Modifier: 100% [18:40:53 INFO]: Cane Growth Modifier: 100% [18:40:53 INFO]: Melon Growth Modifier: 100% [18:40:53 INFO]: Mushroom Growth Modifier: 100% [18:40:53 INFO]: Pumpkin Growth Modifier: 100% [18:40:53 INFO]: Sapling Growth Modifier: 100% [18:40:53 INFO]: Beetroot Growth Modifier: 100% [18:40:53 INFO]: Carrot Growth Modifier: 100% [18:40:53 INFO]: Potato Growth Modifier: 100% [18:40:53 INFO]: Wheat Growth Modifier: 100% [18:40:53 INFO]: NetherWart Growth Modifier: 100% [18:40:53 INFO]: Vine Growth Modifier: 100% [18:40:53 INFO]: Cocoa Growth Modifier: 100% [18:40:53 INFO]: Bamboo Growth Modifier: 100% [18:40:53 INFO]: SweetBerry Growth Modifier: 100% [18:40:53 INFO]: Kelp Growth Modifier: 100% [18:40:53 INFO]: Entity Activation Range: An 32 / Mo 32 / Ra 48 / Mi 16 / Tiv true [18:40:53 INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64 [18:40:53 INFO]: Hopper Transfer: 8 Hopper Check: 1 Hopper Amount: 1 [18:40:53 INFO]: Custom Map Seeds: Village: 10387312 Desert: 14357617 Igloo: 14357618 Jungle: 14357619 Swamp: 14357620 Monument: 10387313 Ocean: 14357621 Shipwreck: 165745295 Slime: 987234911 [18:40:53 INFO]: Max TNT Explosions: 100 [18:40:53 INFO]: Tile Max Tick Time: 50ms Entity max Tick Time: 50ms [18:40:53 INFO]: View Distance: 10 [18:40:53 INFO]: Allow Zombie Pigmen to spawn from portal blocks: true [18:40:53 INFO]: Item Despawn Rate: 6000 [18:40:53 INFO]: Item Merge Radius: 2.5 [18:40:53 INFO]: Arrow Despawn Rate: 1200 Trident Respawn Rate:1200 [18:40:53 INFO]: Zombie Aggressive Towards Villager: true [18:40:53 INFO]: Nerfing mobs spawned from spawners: false [18:40:53 INFO]: Preparing start region for dimension 'world'/minecraft:overworld [18:40:55 INFO]: Preparing spawn area: 0% [18:40:55 INFO]: Preparing spawn area: 0% [18:40:55 INFO]: Preparing spawn area: 0% [18:40:55 INFO]: Preparing spawn area: 0% [18:40:55 INFO]: Preparing spawn area: 0% [18:40:55 INFO]: Preparing spawn area: 0% [18:40:56 INFO]: Preparing spawn area: 0% [18:40:56 INFO]: Preparing spawn area: 0% [18:40:58 INFO]: Preparing spawn area: 10% [18:40:58 INFO]: Preparing spawn area: 10% [18:40:58 INFO]: Preparing spawn area: 10% [18:40:59 INFO]: Preparing spawn area: 100% [18:40:59 INFO]: Preparing spawn area: 100% [18:40:59 INFO]: Preparing spawn area: 100% [18:41:00 INFO]: Preparing spawn area: 100% [18:41:00 INFO]: Preparing spawn area: 100% [18:41:01 INFO]: Loaded 441 spawn chunks for world world [18:41:01 INFO]: Time elapsed: 8002 ms [18:41:01 INFO]: Preparing start region for dimension 'world_nether'/minecraft:the_nether [18:41:01 INFO]: Preparing spawn area: 0% [18:41:01 INFO]: Preparing spawn area: 0% [18:41:02 INFO]: Preparing spawn area: 43% [18:41:02 INFO]: Preparing spawn area: 66% [18:41:03 INFO]: Preparing spawn area: 94% [18:41:03 INFO]: Preparing spawn area: 100% [18:41:04 INFO]: Preparing spawn area: 100% [18:41:04 INFO]: Preparing spawn area: 100% [18:41:05 INFO]: Preparing spawn area: 100% [18:41:05 INFO]: Preparing spawn area: 100% [18:41:06 INFO]: Preparing spawn area: 100% [18:41:06 INFO]: Preparing spawn area: 100% [18:41:07 INFO]: Preparing spawn area: 100% [18:41:07 INFO]: Preparing spawn area: 100% [18:41:08 INFO]: Preparing spawn area: 100% [18:41:08 INFO]: Preparing spawn area: 100% [18:41:09 INFO]: Preparing spawn area: 100% [18:41:09 INFO]: Preparing spawn area: 100% [18:41:10 INFO]: Preparing spawn area: 100% [18:41:10 INFO]: Preparing spawn area: 100% [18:41:11 INFO]: Preparing spawn area: 100% [18:41:11 INFO]: Preparing spawn area: 100% [18:41:12 INFO]: Preparing spawn area: 100% [18:41:12 INFO]: Loaded 441 spawn chunks for world world_nether [18:41:12 INFO]: Time elapsed: 11385 ms [18:41:12 INFO]: Preparing start region for dimension 'world_the_end'/minecraft:the_end [18:41:12 INFO]: Preparing spawn area: 0% [18:41:13 INFO]: Preparing spawn area: 34% [18:41:13 INFO]: Preparing spawn area: 100% [18:41:14 INFO]: Preparing spawn area: 100% [18:41:14 INFO]: Preparing spawn area: 100% [18:41:15 INFO]: Preparing spawn area: 100% [18:41:15 INFO]: Preparing spawn area: 100% [18:41:16 INFO]: Preparing spawn area: 100% [18:41:16 INFO]: Preparing spawn area: 100% [18:41:17 INFO]: Preparing spawn area: 100% [18:41:17 INFO]: Preparing spawn area: 100% [18:41:18 INFO]: Preparing spawn area: 100% [18:41:18 INFO]: Preparing spawn area: 100% [18:41:19 INFO]: Preparing spawn area: 100% [18:41:19 INFO]: Preparing spawn area: 100% 18:41:20 INFO: Loaded 441 spawn chunks for world world_the_end 18:41:20 INFO: Time elapsed: 7366 ms

18:41:20 INFO: Starting GS4 status listener [18:41:20 WARN]: Unable to determine local host IP, please set server-ip in server.properties: balenaminecraftserver: balenaminecraftserver: No address associated with hostname 18:41:20 INFO: Starting remote control listener 18:41:20 INFO: Query running on 0.0.0.0:25565 18:41:20 INFO: RCON running on 0.0.0.0:25575 18:41:20 INFO: Timings Reset 13.03.20 19:41:20 (+0100) wifi-connect Spider mode enabled. Check if remote file exists. 13.03.20 19:41:20 (+0100) wifi-connect --2020-03-13 18:41:20-- http://google.com/ 13.03.20 19:41:20 (+0100) wifi-connect Resolving google.com (google.com)... 216.58.208.174, 2a00:1450:4002:806::200e 13.03.20 19:41:20 (+0100) wifi-connect Connecting to google.com (google.com)|216.58.208.174|:80... connected. 13.03.20 19:41:20 (+0100) wifi-connect HTTP request sent, awaiting response... 301 Moved Permanently 13.03.20 19:41:20 (+0100) wifi-connect Location: http://www.google.com/ [following] 13.03.20 19:41:20 (+0100) wifi-connect Spider mode enabled. Check if remote file exists. 13.03.20 19:41:20 (+0100) wifi-connect --2020-03-13 18:41:20-- http://www.google.com/ 13.03.20 19:41:20 (+0100) wifi-connect Resolving www.google.com (www.google.com)... 216.58.206.68, 2a00:1450:4002:805::2004 13.03.20 19:41:20 (+0100) wifi-connect Connecting to www.google.com (www.google.com)|216.58.206.68|:80... connected. 13.03.20 19:41:20 (+0100) wifi-connect HTTP request sent, awaiting response... 200 OK 13.03.20 19:41:20 (+0100) wifi-connect Length: unspecified [text/html] 13.03.20 19:41:20 (+0100) wifi-connect Remote file exists and could contain further links, 13.03.20 19:41:20 (+0100) wifi-connect but recursion is disabled -- not retrieving. 13.03.20 19:41:20 (+0100) wifi-connect
13.03.20 19:41:20 (+0100) wifi-connect Skipping WiFi Connect 13.03.20 19:42:20 (+0100) wifi-connect Spider mode enabled. Check if remote file exists. 13.03.20 19:42:20 (+0100) wifi-connect --2020-03-13 18:42:20-- http://google.com/ 13.03.20 19:42:20 (+0100) wifi-connect Resolving google.com (google.com)... 216.58.208.174, 2a00:1450:4002:806::200e 13.03.20 19:42:20 (+0100) wifi-connect Connecting to google.com (google.com)|216.58.208.174|:80... connected. 13.03.20 19:42:20 (+0100) wifi-connect HTTP request sent, awaiting response... 301 Moved Permanently 13.03.20 19:42:20 (+0100) wifi-connect Location: http://www.google.com/ [following] 13.03.20 19:42:20 (+0100) wifi-connect Spider mode enabled. Check if remote file exists. 13.03.20 19:42:20 (+0100) wifi-connect --2020-03-13 18:42:20-- http://www.google.com/ 13.03.20 19:42:20 (+0100) wifi-connect Resolving www.google.com (www.google.com)... 216.58.206.68, 2a00:1450:4002:805::2004 13.03.20 19:42:20 (+0100) wifi-connect Connecting to www.google.com (www.google.com)|216.58.206.68|:80... connected. 13.03.20 19:42:20 (+0100) wifi-connect HTTP request sent, awaiting response... 200 OK 13.03.20 19:42:20 (+0100) wifi-connect Length: unspecified [text/html] 13.03.20 19:42:20 (+0100) wifi-connect Remote file exists and could contain further links, 13.03.20 19:42:20 (+0100) wifi-connect but recursion is disabled -- not retrieving. 13.03.20 19:42:20 (+0100) wifi-connect
13.03.20 19:42:20 (+0100) wifi-connect Skipping WiFi Connect 13.03.20 19:43:20 (+0100) wifi-connect Spider mode enabled. Check if remote file exists. 13.03.20 19:43:20 (+0100) wifi-connect --2020-03-13 18:43:20-- http://google.com/ 13.03.20 19:43:20 (+0100) wifi-connect Resolving google.com (google.com)... 216.58.208.174, 2a00:1450:4002:806::200e 13.03.20 19:43:21 (+0100) wifi-connect Connecting to google.com (google.com)|216.58.208.174|:80... connected. 13.03.20 19:43:21 (+0100) wifi-connect HTTP request sent, awaiting response... 301 Moved Permanently 13.03.20 19:43:21 (+0100) wifi-connect Location: http://www.google.com/ [following] 13.03.20 19:43:21 (+0100) wifi-connect Spider mode enabled. Check if remote file exists. 13.03.20 19:43:21 (+0100) wifi-connect --2020-03-13 18:43:21-- http://www.google.com/ 13.03.20 19:43:21 (+0100) wifi-connect Resolving www.google.com (www.google.com)... 216.58.206.68, 2a00:1450:4002:805::2004 13.03.20 19:43:21 (+0100) wifi-connect Connecting to www.google.com (www.google.com)|216.58.206.68|:80... connected. 13.03.20 19:43:21 (+0100) wifi-connect HTTP request sent, awaiting response... 200 OK 13.03.20 19:43:21 (+0100) wifi-connect Length: unspecified [text/html] 13.03.20 19:43:21 (+0100) wifi-connect Remote file exists and could contain further links, 13.03.20 19:43:21 (+0100) wifi-connect but recursion is disabled -- not retrieving. 13.03.20 19:43:21 (+0100) wifi-connect
13.03.20 19:43:21 (+0100) wifi-connect Skipping WiFi Connect 13.03.20 19:44:21 (+0100) wifi-connect Spider mode enabled. Check if remote file exists. 13.03.20 19:44:21 (+0100) wifi-connect --2020-03-13 18:44:21-- http://google.com/ 13.03.20 19:44:21 (+0100) wifi-connect Resolving google.com (google.com)... 216.58.206.46, 2a00:1450:4002:805::200e 13.03.20 19:44:21 (+0100) wifi-connect Connecting to google.com (google.com)|216.58.206.46|:80... connected. 13.03.20 19:44:21 (+0100) wifi-connect HTTP request sent, awaiting response... 301 Moved Permanently 13.03.20 19:44:21 (+0100) wifi-connect Location: http://www.google.com/ [following] 13.03.20 19:44:21 (+0100) wifi-connect Spider mode enabled. Check if remote file exists. 13.03.20 19:44:21 (+0100) wifi-connect --2020-03-13 18:44:21-- http://www.google.com/ 13.03.20 19:44:21 (+0100) wifi-connect Resolving www.google.com (www.google.com)... 216.58.206.68, 2a00:1450:4002:804::2004 13.03.20 19:44:21 (+0100) wifi-connect Connecting to www.google.com (www.google.com)|216.58.206.68|:80... connected. 13.03.20 19:44:21 (+0100) wifi-connect HTTP request sent, awaiting response... 200 OK 13.03.20 19:44:21 (+0100) wifi-connect Length: unspecified [text/html] 13.03.20 19:44:21 (+0100) wifi-connect Remote file exists and could contain further links, 13.03.20 19:44:21 (+0100) wifi-connect but recursion is disabled -- not retrieving. 13.03.20 19:44:21 (+0100) wifi-connect
13.03.20 19:44:21 (+0100) wifi-connect Skipping WiFi Connect 13.03.20 19:45:21 (+0100) wifi-connect Spider mode enabled. Check if remote file exists. 13.03.20 19:45:21 (+0100) wifi-connect --2020-03-13 18:45:21-- http://google.com/ 13.03.20 19:45:21 (+0100) wifi-connect Resolving google.com (google.com)... 216.58.206.46, 2a00:1450:4002:805::200e 13.03.20 19:45:21 (+0100) wifi-connect Connecting to google.com (google.com)|216.58.206.46|:80... connected. 13.03.20 19:45:21 (+0100) wifi-connect HTTP request sent, awaiting response... 301 Moved Permanently 13.03.20 19:45:21 (+0100) wifi-connect Location: http://www.google.com/ [following] 13.03.20 19:45:21 (+0100) wifi-connect Spider mode enabled. Check if remote file exists. 13.03.20 19:45:21 (+0100) wifi-connect --2020-03-13 18:45:21-- http://www.google.com/ 13.03.20 19:45:21 (+0100) wifi-connect Resolving www.google.com (www.google.com)... 216.58.206.68, 2a00:1450:4002:804::2004 13.03.20 19:45:21 (+0100) wifi-connect Connecting to www.google.com (www.google.com)|216.58.206.68|:80... connected. 13.03.20 19:45:21 (+0100) wifi-connect HTTP request sent, awaiting response... 200 OK 13.03.20 19:45:21 (+0100) wifi-connect Length: unspecified [text/html] 13.03.20 19:45:21 (+0100) wifi-connect Remote file exists and could contain further links, 13.03.20 19:45:21 (+0100) wifi-connect but recursion is disabled -- not retrieving. 13.03.20 19:45:21 (+0100) wifi-connect
13.03.20 19:45:21 (+0100) wifi-connect Skipping WiFi Connect `

AlexProgrammerDE commented 4 years ago

@acryllect the [18:41:20 WARN]: Unable to determine local host IP, please set server-ip in server.properties: balenaminecraftserver: balenaminecraftserver: No address associated with hostname is normal. It´s there because the hostname isn´t set in the server.properties file, but you can play without setting it.

You have some timeouts i will look later into it. The file is very large.

acryllect commented 4 years ago

@AlexProgrammerDE most entries are just basic world loading entries I've seen on server hosting websites before, so nothing too tricky. Of course, I might be mistaken but that's why I'm asking someone who knows better :P

AlexProgrammerDE commented 4 years ago

@acryllect when does it crash? Everything you showed me here: https://github.com/AlexProgrammerDE/balena-minecraft-server/issues/11#issuecomment-598863737 was normal loading. Can you replicate the error and try to give me the logs of the error?

acryllect commented 4 years ago

@AlexProgrammerDE I'll try later but everytime it's happened, I get the default wifi-connect logs, as i mentioned above. I'll also send you the error the server gives me when kicking me out

acryllect commented 4 years ago

@AlexProgrammerDE So here is what happens. The log prints this:

14.03.20 12:12:20 (+0100)  mc-server  Setting device hostname to: balenaminecraftserver
14.03.20 12:12:20 (+0100)  mc-server  curl: (7) Failed to connect to 127.0.0.1 port 48484: Connection refused

14.03.20 12:12:20 (+0100)  mc-server  Starting jar file

And the server gives me this message: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: And nothing else. You can find a full log since I first started the server today over here on GDrive

acryllect commented 4 years ago

@AlexProgrammerDE Just before printing that it kicks me out with: Internal Exception: java.io.IOException: Connection reset by peer

acryllect commented 4 years ago

@AlexProgrammerDE The server keeps reloading randomly and going back in time about 10 minutes every time it does. It's really annoying. Is there any setting I can change for this not to happen?

AlexProgrammerDE commented 4 years ago

@acryllect do you have an fan cooler on your Pi?

acryllect commented 4 years ago

@AlexProgrammerDE indeed, my Pi has a fan. It also has (and I quote):

One premium copper heatsink and two aluminum ones with better heat dissipation than only two aluminum heatsinks, and that prevent system failure.

You can read about all the details of my kit here on Amazon

I will note that I have since equipped my Pi with a cabled ethernet connection and it has been happening less, and when it has happened I can assume it's because my cable was bumped into and unplugged. I'll see what happens in the next few days, if the issue stops presenting itself I'll close this thread.

AlexProgrammerDE commented 4 years ago

@acryllect ok. By the way i use the same kit. 😄 I don´t have any problems over wifi. Maybe are it some connection issues with the router.

acryllect commented 4 years ago

@AlexProgrammerDE nice! Yeah, I think it has to do with the IP address changing while we're playing, and when it's using a cabled connection, it doesn't change. This might be a really stupid thing to say, but I'm just your average tech guy, not too advanced.

AlexProgrammerDE commented 4 years ago

@acryllect you can try to give the Pi a static IP in the router settings. But it should also work over the hostname. By default it is balenaminecraftserver

AlexProgrammerDE commented 4 years ago

@acryllect i will close this issue for now. Feel free to reopen it if the issue occurs again.

acryllect commented 4 years ago

@AlexProgrammerDE Yes, sorry I forgot to close it. The solution for me, was to just switch over to ethernet instead of a wireless connection. So simple.