itzg / docker-minecraft-server

Docker image that provides a Minecraft Server that will automatically download selected version at startup
https://docker-minecraft-server.readthedocs.io/
Apache License 2.0
8.91k stars 1.49k forks source link

Can not connect #2963

Open badwolfunit opened 3 weeks ago

badwolfunit commented 3 weeks ago

Describe the problem

so i have made a server the same one as last time and when i go on to Minecraft i put in the IP address however it can not connect i have no idea whether it is a bug or just me being general stupid as i can not access anything else except for my Portainer instance.

Container definition

services: mc: image: itzg/minecraft-server tty: true stdin_open: true ports:

Container logs

[init] Running as uid=1000 gid=1000 with /data as 'drwxr-xr-x 14 1000 1000 4096 Jun 30 15:10 /data' [mc-image-helper] 17:25:26.383 INFO : Requested CurseForge modpack Perfect World-1.0.zip is already installed for Create: Perfect World [mc-image-helper] 17:25:26.810 INFO : Forge version 47.2.0 for minecraft version 1.20.1 is already installed [mc-image-helper] 17:25:31.191 INFO : Created/updated 3 properties in /data/server.properties [mc-image-helper] 17:25:32.953 INFO : The file /data/ops.json already exists, so no changes will be made [init] Setting initial memory to 1G and max to 1G [init] Using Forge supplied run.sh script... [17:25:46] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--launchTarget, forgeserver, --fml.forgeVersion, 47.2.0, --fml.mcVersion, 1.20.1, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20230612.114412] [17:25:46] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 10.0.9+10.0.9+main.dcd20f30 starting: java version 21.0.3 by Eclipse Adoptium; OS Linux arch amd64 version 6.6.31-linuxkit [17:25:49] [main/INFO] [ne.mi.fm.lo.ImmediateWindowHandler/]: ImmediateWindowProvider not loading because launch target is forgeserver [17:25:49] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/data/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar%2365!/ Service=ModLauncher Env=SERVER [17:25:50] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file /data/libraries/net/minecraftforge/fmlcore/1.20.1-47.2.0/fmlcore-1.20.1-47.2.0.jar is missing mods.toml file [17:25:50] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file /data/libraries/net/minecraftforge/javafmllanguage/1.20.1-47.2.0/javafmllanguage-1.20.1-47.2.0.jar is missing mods.toml file [17:25:50] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file /data/libraries/net/minecraftforge/lowcodelanguage/1.20.1-47.2.0/lowcodelanguage-1.20.1-47.2.0.jar is missing mods.toml file [17:25:50] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file /data/libraries/net/minecraftforge/mclanguage/1.20.1-47.2.0/mclanguage-1.20.1-47.2.0.jar is missing mods.toml file [17:25:51] [main/WARN] [ne.mi.ja.se.JarSelector/]: Attempted to select two dependency jars from JarJar which have the same identification: Mod File: and Mod File: . Using Mod File: [17:25:51] [main/INFO] [ne.mi.fm.lo.mo.JarInJarDependencyLocator/]: Found 18 dependencies adding them to mods collection [17:25:59] [main/INFO] [mixin/]: Compatibility level set to JAVA_17 [17:26:00] [main/ERROR] [mixin/]: Mixin config okzoomer.mixins.json does not specify "minVersion" property [17:26:00] [main/ERROR] [mixin/]: Mixin config xaeroplus.mixins.json does not specify "minVersion" property [17:26:00] [main/ERROR] [mixin/]: Mixin config xaeroplus-forge.mixins.json does not specify "minVersion" property [17:26:00] [main/INFO] [mixin/]: Successfully loaded Mixin Connector [com.sonicether.soundphysics.MixinConnector] [17:26:00] [main/INFO] [cp.mo.mo.LaunchServiceHandler/MODLAUNCHER]: Launching target 'forgeserver' with arguments [] [17:26:00] [main/WARN] [mixin/]: Reference map 'createdeco-common-refmap.json' for createdeco-common.mixins.json could not be read. If this is a development environment you can ignore this message [17:26:00] [main/WARN] [mixin/]: Reference map 'createdeco-forge-refmap.json' for createdeco.mixins.json could not be read. If this is a development environment you can ignore this message [17:26:01] [main/INFO] [ModernFix/]: Loaded configuration file for ModernFix 5.14.0+mc1.20.1: 74 options available, 0 override(s) found [17:26:01] [main/INFO] [ModernFix/]: Applying Nashorn fix [17:26:01] [main/INFO] [ModernFix/]: Applied Forge config corruption patch [17:26:01] [main/WARN] [mixin/]: Reference map 'CreateLiquidFuel.refmap.json' for createliquidfuel.mixins.json could not be read. If this is a development environment you can ignore this message [17:26:01] [main/WARN] [mixin/]: Reference map 'immersive_paintings-common-refmap.json' for immersive_paintings.mixin.json could not be read. If this is a development environment you can ignore this message [17:26:01] [main/INFO] [Canary/]: Loaded configuration file for Canary: 116 options available, 0 override(s) found [17:26:01] [main/INFO] [Puzzles Lib/]: Loading 117 mods:

itzg commented 3 weeks ago

Looks like you need to wait longer. At the very end of the massive logs you posted 😓 it says it's still loading spawn area. This is not specific to this docker image.

badwolfunit commented 3 weeks ago

Looks like you need to wait longer. At the very end of the massive logs you posted 😓 it says it's still loading spawn area. This is not specific to this docker image.

thanks probably should of seen that did you read the whole log? if you did thank you so much for taking the time out of your life to solve my problem

badwolfunit commented 3 weeks ago

hang on wait i just had a quick scroll through the logs and i saw this [17:27:06] [LanServerPinger https://github.com/itzg/docker-minecraft-server/issues/1/WARN] [minecraft/LanServerPinger]: LanServerPinger: Network is unreachable

is contributing to the problem

itzg commented 3 weeks ago

did you read the whole log?

No, I just scrolled to the end actually 😄. I like to investigate the logs from bottom and up from there.

That LanServerPinger log does seem weird. I wonder if that's a mod that can be excluded?

badwolfunit commented 1 week ago

I wonder if having 117 mods has slowed down the network speed to a standstill?