Skip to content

500 Internal Server Error: Fetching object content from https://playerdb.co/api/player/minecraft/%2Fdata%2Fops.json #3457

Open
@tobiaspm

Description

@tobiaspm

Describe the problem

When start the minecraft server in docker container try to download data from https://playerdb.co/api/player/minecraft/%2Fdata%2Fops.json but this site drops 500 Internal Server Error

Container definition

services:

  minecraft:
    image: itzg/minecraft-server:java17-alpine
    container_name: minecraft-lobby
    restart: unless-stopped
    ports:
      - "25565:25565"     # Külső port 25566 a Java szerverhez, belső 25565
      - "19132:19132/udp" # Bedrock szerver port (ugyanaz, mint az AMP konténernél)
    environment:
      - TZ=Europe/Budapest
      - UMASK_SET=022 #optional
      - EULA=TRUE         # Minecraft EULA elfogadása
      - VERSION=1.21.1    # Minecraft Java verzió (pl. 1.21.x)
      - ENABLE_FLIGHT=TRUE
      - TYPE=PAPER
      - MOTD=ZionMC
      - DIFFICULTY=normal
      - WHITELIST_FILE=/data/whitelist.json
      - ENFORCE_WHITELIST=TRUE
      - OPS=/data/ops.json
      - ENABLE_RCON=false
      - ENABLE_QUERY=false
      - MAX_PLAYERS=20
      - GENERATE_STRUCTURES=true
      - SNOOPER_ENABLED=false
      - SPAWN_ANIMALS=true
      - SPAWN_MONSTERS=true
      - SPAWN_NPCS=true
      - MODE=survival
      - ONLINE_MODE=true
      - MEMORY=6G
      - USE_AIKAR_FLAGS=true
      - ICON=/data/server
      - OVERWRITE_ICON=TRUE
    volumes:
      - /srv/omv-master-data/files/docker/volumes/minecraft/java_data/:/data
    tty: true
    stdin_open: true

Container logs

[init] Running as uid=1000 gid=1000 with /data as 'drwxr-sr-x 4 1000 1000 4096 May 18 18:03 /data'
[init] Image info: buildtime=2025-05-16T22:03:39.483Z
version=java17-alpine
revision=dc97022b98687f9eca5b6e977d7e6f02c5702138
[init] Resolving type given PAPER
[init] Copying any plugins from /plugins to /data/plugins
[init] Copying any configs from /config to /data/config
[init] Enabling whitelist functionality
[init] Setting mode
[init] Downloading default configs, if needed
[mc-image-helper] 18:05:09.024 INFO  : The file /data/config/paper-world-defaults.yml already exists
[mc-image-helper] 18:05:09.165 INFO  : The file /data/config/paper-global.yml already exists
[init] Downloading default top-level configs, if needed
[mc-image-helper] 18:05:10.905 INFO  : The file /data/bukkit.yml already exists
[mc-image-helper] 18:05:11.031 INFO  : The file /data/spigot.yml already exists
[mc-image-helper] 18:05:12.741 ERROR : 'manage-users' command failed. Version is 1.41.9
me.itzg.helpers.http.FailedRequestException: HTTP request of https://playerdb.co/api/player/minecraft/%2Fdata%2Fops.json failed with 500 Internal Server Error: Fetching object content
	at me.itzg.helpers.http.FetchBuilderBase.lambda$failedRequestMono$2(FetchBuilderBase.java:225)
	at reactor.core.publisher.MonoFlatMap$FlatMapMain.onNext(MonoFlatMap.java:132)
	at reactor.core.publisher.FluxDefaultIfEmpty$DefaultIfEmptySubscriber.onNext(FluxDefaultIfEmpty.java:122)
	at reactor.core.publisher.FluxHandle$HandleSubscriber.onNext(FluxHandle.java:129)
	at reactor.core.publisher.FluxMap$MapConditionalSubscriber.onNext(FluxMap.java:224)
	at reactor.core.publisher.FluxDoFinally$DoFinallySubscriber.onNext(FluxDoFinally.java:113)
	at reactor.core.publisher.FluxHandleFuseable$HandleFuseableSubscriber.onNext(FluxHandleFuseable.java:194)
	at reactor.core.publisher.FluxContextWrite$ContextWriteSubscriber.onNext(FluxContextWrite.java:107)
	at reactor.core.publisher.Operators$BaseFluxToMonoOperator.completePossiblyEmpty(Operators.java:2096)
	at reactor.core.publisher.MonoCollectList$MonoCollectListSubscriber.onComplete(MonoCollectList.java:118)
	at reactor.core.publisher.FluxPeek$PeekSubscriber.onComplete(FluxPeek.java:260)
	at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144)
	at reactor.netty.channel.FluxReceive.onInboundComplete(FluxReceive.java:413)
	at reactor.netty.channel.ChannelOperations.onInboundComplete(ChannelOperations.java:455)
	at reactor.netty.channel.ChannelOperations.terminate(ChannelOperations.java:509)
	at reactor.netty.http.client.HttpClientOperations.onInboundNext(HttpClientOperations.java:821)
	at reactor.netty.channel.ChannelOperationsHandler.channelRead(ChannelOperationsHandler.java:115)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
	at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:289)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
	at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:436)
	at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346)
	at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318)
	at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:251)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
	at io.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:1519)
	at io.netty.handler.ssl.SslHandler.decodeJdkCompatible(SslHandler.java:1377)
	at io.netty.handler.ssl.SslHandler.decode(SslHandler.java:1428)
	at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:530)
	at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:469)
	at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:290)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
	at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1357)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
	at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:868)
	at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:799)
	at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:501)
	at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:399)
	at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:998)
	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
	at java.base/java.lang.Thread.run(Unknown Source)
	Suppressed: java.lang.Exception: #block terminated with an error
		at reactor.core.publisher.BlockingSingleSubscriber.blockingGet(BlockingSingleSubscriber.java:104)
		at reactor.core.publisher.Mono.block(Mono.java:1779)
		at me.itzg.helpers.users.PlayerdbUserApi.resolveUser(PlayerdbUserApi.java:51)
		at me.itzg.helpers.users.ManageUsersCommand.lambda$resolveJavaUserId$1(ManageUsersCommand.java:254)
		at java.base/java.util.Optional.orElseGet(Unknown Source)
		at me.itzg.helpers.users.ManageUsersCommand.resolveJavaUserId(ManageUsersCommand.java:218)
		at me.itzg.helpers.users.ManageUsersCommand.reconcile(ManageUsersCommand.java:165)
		at me.itzg.helpers.users.ManageUsersCommand.processJavaUserIdList(ManageUsersCommand.java:138)
		at me.itzg.helpers.users.ManageUsersCommand.call(ManageUsersCommand.java:101)
		at me.itzg.helpers.users.ManageUsersCommand.call(ManageUsersCommand.java:35)
		at picocli.CommandLine.executeUserObject(CommandLine.java:2031)
		at picocli.CommandLine.access$1500(CommandLine.java:148)
		at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2469)
		at picocli.CommandLine$RunLast.handle(CommandLine.java:2461)
		at picocli.CommandLine$RunLast.handle(CommandLine.java:2423)
		at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2277)
		at picocli.CommandLine$RunLast.execute(CommandLine.java:2425)
		at picocli.CommandLine.execute(CommandLine.java:2174)
		at me.itzg.helpers.McImageHelper.main(McImageHelper.java:178)
[init] Running as uid=1000 gid=1000 with /data as 'drwxr-sr-x 4 1000 1000 4096 May 18 18:03 /data'
[init] Image info: buildtime=2025-05-16T22:03:39.483Z
version=java17-alpine
revision=dc97022b98687f9eca5b6e977d7e6f02c5702138
[init] Resolving type given PAPER

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions