Skip to content

Failed to Ping localhost:25565 #3358

@jasperchess

Description

@jasperchess

Describe the problem

Hello!

I am running the latest version of the itzg/docker-minecraft:stable image and since yesterday the autostop seems to have stopped working.

In the logs I see:

failed to ping localhost:25565 : All attempts fail:
#1: failed to read response packet ID: read tcp [::1]:49732->[::1]:25565: i/o timeoutfailed to ping localhost:25565 : All attempts fail:

I'm unsure what exactly is causing these logs, I searched through the codebase and couldn't find where these are output.

It might be a redherring, but I haven't seen these logs before and now autostop seems to not be working

Container definition

	_, err = f.docker.ContainerCreate(context.TODO(), &container.Config{
		Image: correctImage,
		ExposedPorts: nat.PortSet{
			tcpPort: struct{}{},
		},
		Env: allArgs,
		Labels: map[string]string{
			labelKey:            worldId,
		},
		Volumes: map[string]struct{}{worldId: {}},
	}, &container.HostConfig{
		PublishAllPorts: true,
		Resources: container.Resources{
			NanoCPUs: 2 * int64(math.Pow(10, 9)),
		},
		Binds: []string{
			fmt.Sprintf("%s/%s:/data", basePath(), worldId),
		},
	}, networkConf(), nil, worldId)

Container logs

failed to ping localhost:25565 : All attempts fail:
#1: failed to read response packet ID: read tcp [::1]:49732->[::1]:25565: i/o timeoutfailed to ping localhost:25565 : All attempts fail:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugstatus/ready to testAn image or docs update is ready to be tested by the reporter

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions