Skip to content

Unable to initialise query system #65

@meyverick

Description

@meyverick

Describe the bug

[09:50:07] [Server thread/WARN]: Unable to initialise query system on 0.0.0.0:25565
java.net.BindException: Address already in use: bind
        at java.base/sun.nio.ch.Net.bind0(Native Method) ~[?:?]
        at java.base/sun.nio.ch.Net.bind(Net.java:565) ~[?:?]
        at java.base/sun.nio.ch.DatagramChannelImpl.bindInternal(DatagramChannelImpl.java:1347) ~[?:?]
        at java.base/sun.nio.ch.DatagramChannelImpl.bind(DatagramChannelImpl.java:1317) ~[?:?]
        at java.base/sun.nio.ch.DatagramSocketAdaptor.bind(DatagramSocketAdaptor.java:108) ~[?:?]
        at java.base/java.net.DatagramSocket.createDelegate(DatagramSocket.java:1433) ~[?:?]
        at java.base/java.net.DatagramSocket.<init>(DatagramSocket.java:328) ~[?:?]
        at java.base/java.net.DatagramSocket.<init>(DatagramSocket.java:387) ~[?:?]
        at knot//MC/net.minecraft.server.rcon.QueryResponseHandler.initialize(QueryResponseHandler.java:312) ~[server-intermediary.jar:?]
        at knot//MC/net.minecraft.server.rcon.QueryResponseHandler.start(QueryResponseHandler.java:288) ~[server-intermediary.jar:?]
        at knot//MC/net.minecraft.server.rcon.QueryResponseHandler.create(QueryResponseHandler.java:91) ~[server-intermediary.jar:?]
        at knot//MC/net.minecraft.server.dedicated.MinecraftDedicatedServer.setupServer(MinecraftDedicatedServer.java:196) ~[server-intermediary.jar:?]
        at knot/net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:678) ~[server-intermediary.jar:?]
        at knot/net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:292) ~[server-intermediary.jar:?]
        at java.base/java.lang.Thread.run(Thread.java:1575) [?:?]

To Reproduce
Steps to reproduce the behavior:

  1. Install the mod.
  2. Start the server.
  3. See error

Expected behavior
No error.

Runtime info (please complete the following information):

  • OS: W11
  • Minecraft version: 1.21.4
  • Mod version: 0.1.0+alpha.5.160

Other mods

[09:49:48] [main/INFO]: Loading 182 mods:
        - achiopt 2.0.0
        - adaptiveview 2.4.0+1.21.4
        - alternate-current 1.9.1
        - annuus 1.0.6
        - architectury 15.0.3
        - async 0.1.7+alpha.1-1.21.4
           |-- com_electronwill_night-config_core 3.8.1
           |-- com_electronwill_night-config_toml 3.8.1
           \-- mixinsquared 0.2.0-beta.6
        - balm-fabric 21.4.17
           \-- kuma_api 21.4.5
        - better-fabric-console 1.2.2
           |-- adventure-platform-fabric 6.2.0
           |    |-- net_kyori_adventure-api 4.18.0
           |    |-- net_kyori_adventure-key 4.18.0
           |    |-- net_kyori_adventure-platform-api 4.3.4
           |    |-- net_kyori_adventure-platform-mod-shared-fabric-repack 6.2.0
           |    |-- net_kyori_adventure-text-logger-slf4j 4.18.0
           |    |-- net_kyori_adventure-text-minimessage 4.18.0
           |    |-- net_kyori_adventure-text-serializer-ansi 4.18.0
           |    |-- net_kyori_adventure-text-serializer-gson 4.18.0
           |    |-- net_kyori_adventure-text-serializer-json 4.18.0
           |    |-- net_kyori_adventure-text-serializer-plain 4.18.0
           |    |-- net_kyori_ansi 1.1.1
           |    |-- net_kyori_examination-api 1.3.0
           |    |-- net_kyori_examination-string 1.3.0
           |    \-- net_kyori_option 1.0.0
           |-- net_fabricmc_mapping-io 0.6.1
           |-- org_fusesource_jansi_jansi 2.4.1
           |-- org_jline_jline 3.28.0
           |-- org_jline_jline-terminal-jansi 3.28.0
           |-- org_spongepowered_configurate-core 4.1.2
           \-- org_spongepowered_configurate-hocon 4.1.2
        - boring_default_game_rules 1.3.0+1.21.3
           \-- wrench_wrapper 0.5.0
        - c2me 0.3.1.2+rc.1.0+1.21.4
           |-- c2me-base 0.3.1.2+rc.1.0+1.21.4
           |-- c2me-client-uncapvd 0.3.1.2+rc.1.0+1.21.4
           |-- c2me-fixes-chunkio-threading-issues 0.3.1.2+rc.1.0+1.21.4
           |-- c2me-fixes-general-threading-issues 0.3.1.2+rc.1.0+1.21.4
           |-- c2me-fixes-worldgen-threading-issues 0.3.1.2+rc.1.0+1.21.4
           |-- c2me-fixes-worldgen-vanilla-bugs 0.3.1.2+rc.1.0+1.21.4
           |-- c2me-notickvd 0.3.1.2+rc.1.0+1.21.4
           |-- c2me-opts-allocs 0.3.1.2+rc.1.0+1.21.4
           |-- c2me-opts-chunkio 0.3.1.2+rc.1.0+1.21.4
           |-- c2me-opts-dfc 0.3.1.2+rc.1.0+1.21.4
           |-- c2me-opts-math 0.3.1.2+rc.1.0+1.21.4
           |-- c2me-opts-natives-math 0.3.1.2+rc.1.0+1.21.4
           |-- c2me-opts-scheduling 0.3.1.2+rc.1.0+1.21.4
           |-- c2me-opts-worldgen-general 0.3.1.2+rc.1.0+1.21.4
           |-- c2me-opts-worldgen-vanilla 0.3.1.2+rc.1.0+1.21.4
           |-- c2me-rewrites-chunk-serializer 0.3.1.2+rc.1.0+1.21.4
           |-- c2me-rewrites-chunk-system 0.3.1.2+rc.1.0+1.21.4
           |-- c2me-rewrites-chunkio 0.3.1.2+rc.1.0+1.21.4
           |-- c2me-server-utils 0.3.1.2+rc.1.0+1.21.4
           |-- c2me-threading-lighting 0.3.1.2+rc.1.0+1.21.4
           |-- com_ibm_async_asyncutil 0.1.0
           |-- io_reactivex_rxjava3_rxjava 3.1.8
           |-- net_objecthunter_exp4j 0.4.8
           |-- org_jctools_jctools-core 4.0.5
           \-- org_reactivestreams_reactive-streams 1.0.4
        - carpet 1.4.161+v241203
        - carpet-extra 1.4.161
        - carpet-tis-addition 1.65.2
           \-- conditional-mixin 0.6.3
        - chunky 1.4.27
        - cloth-config 17.0.144
           \-- cloth-basic-math 0.6.1
        - clumps 22.0.0.1
        - collective 7.94
        - debugify 1.21.4+1.1
        - fabric-api 0.118.0+1.21.4
           |-- fabric-api-base 0.4.54+b47eab6b04
           |-- fabric-api-lookup-api-v1 1.6.86+b1caf1e904
           |-- fabric-biome-api-v1 15.0.6+b1c29d8e04
           |-- fabric-block-api-v1 1.0.31+7feeb73304
           |-- fabric-block-view-api-v2 1.0.19+7feeb73304
           |-- fabric-blockrenderlayer-v1 2.0.8+7feeb73304
           |-- fabric-client-tags-api-v1 1.1.29+20ea1e2304
           |-- fabric-command-api-v1 1.2.62+f71b366f04
           |-- fabric-command-api-v2 2.2.41+e496eb1504
           |-- fabric-commands-v0 0.2.79+df3654b304
           |-- fabric-content-registries-v0 9.1.19+25d1a67604
           |-- fabric-convention-tags-v1 2.1.17+7f945d5b04
           |-- fabric-convention-tags-v2 2.13.0+360374ac04
           |-- fabric-crash-report-info-v1 0.3.6+7feeb73304
           |-- fabric-data-attachment-api-v1 1.6.0+4e7c604904
           |-- fabric-data-generation-api-v1 22.2.12+60b6f1b704
           |-- fabric-dimensions-v1 4.0.10+7feeb73304
           |-- fabric-entity-events-v1 2.0.14+da99546b04
           |-- fabric-events-interaction-v0 4.0.3+a4eebcf004
           |-- fabric-game-rule-api-v1 1.0.63+7d48d43904
           |-- fabric-item-api-v1 11.3.0+ee91fa1f04
           |-- fabric-item-group-api-v1 4.2.2+fcb9601404
           |-- fabric-key-binding-api-v1 1.0.57+7d48d43904
           |-- fabric-keybindings-v0 0.2.55+df3654b304
           |-- fabric-lifecycle-events-v1 2.5.4+bf2a60eb04
           |-- fabric-loot-api-v2 3.0.38+3f89f5a504
           |-- fabric-loot-api-v3 1.0.26+203e6b2304
           |-- fabric-message-api-v1 6.0.25+7feeb73304
           |-- fabric-model-loading-api-v1 4.3.0+ae23723504
           |-- fabric-networking-api-v1 4.3.10+8998135104
           |-- fabric-object-builder-api-v1 18.0.13+7d48d43904
           |-- fabric-particles-v1 4.0.14+7feeb73304
           |-- fabric-recipe-api-v1 8.1.0+640e77ae04
           |-- fabric-registry-sync-v0 6.1.9+360374ac04
           |-- fabric-renderer-api-v1 5.0.3+50f0feb204
           |-- fabric-renderer-indigo 2.0.3+50f0feb204
           |-- fabric-rendering-data-attachment-v1 0.3.57+73761d2e04
           |-- fabric-rendering-fluids-v1 3.1.19+7feeb73304
           |-- fabric-rendering-v1 10.2.1+0d31b09f04
           |-- fabric-resource-conditions-api-v1 5.0.13+203e6b2304
           |-- fabric-resource-loader-v0 3.1.1+360374ac04
           |-- fabric-screen-api-v1 2.0.38+7feeb73304
           |-- fabric-screen-handler-api-v1 1.3.116+7feeb73304
           |-- fabric-sound-api-v1 1.0.32+7feeb73304
           |-- fabric-tag-api-v1 1.0.7+7d48d43904
           |-- fabric-transfer-api-v1 5.4.9+efa825c904
           \-- fabric-transitive-access-wideners-v1 6.3.2+56e78b9b04
        - fabric-language-kotlin 1.13.1+kotlin.2.1.10
           |-- org_jetbrains_kotlin_kotlin-reflect 2.1.10
           |-- org_jetbrains_kotlin_kotlin-stdlib 2.1.10
           |-- org_jetbrains_kotlin_kotlin-stdlib-jdk7 2.1.10
           |-- org_jetbrains_kotlin_kotlin-stdlib-jdk8 2.1.10
           |-- org_jetbrains_kotlinx_atomicfu-jvm 0.27.0
           |-- org_jetbrains_kotlinx_kotlinx-coroutines-core-jvm 1.10.1
           |-- org_jetbrains_kotlinx_kotlinx-coroutines-jdk8 1.10.1
           |-- org_jetbrains_kotlinx_kotlinx-datetime-jvm 0.6.1
           |-- org_jetbrains_kotlinx_kotlinx-io-bytestring-jvm 0.6.0
           |-- org_jetbrains_kotlinx_kotlinx-io-core-jvm 0.6.0
           |-- org_jetbrains_kotlinx_kotlinx-serialization-cbor-jvm 1.8.0
           |-- org_jetbrains_kotlinx_kotlinx-serialization-core-jvm 1.8.0
           \-- org_jetbrains_kotlinx_kotlinx-serialization-json-jvm 1.8.0
        - fabricloader 0.16.10
           \-- mixinextras 0.4.1
        - faster-random 5.1.0
        - ferritecore 7.1.1
        - forgeconfigapiport 21.4.1
           |-- com_electronwill_night-config_core 3.8.1
           \-- com_electronwill_night-config_toml 3.8.1
        - getittogetherdrops fabric-1.21-1.3.1
        - java 23
        - krypton 0.2.8
           \-- com_velocitypowered_velocity-native 3.3.0-SNAPSHOT
        - leaves_us_in_peace 1.7.2
        - lithium 0.14.8+mc1.21.4
        - mc-258859 1.0
        - minecraft 1.21.4
        - mixintrace 1.1.1+1.17
        - modernfix 5.20.3+mc1.21.4
        - mr_chunky_playerpause 1.0.1
        - noisium 2.5.0+mc1.21.4
        - player-statistics 1.21.4-2.1.1
           |-- com_typesafe_config 1.4.3
           |-- io_javalin_javalin 6.4.0
           |-- org_eclipse_jetty_jetty-http 11.0.24
           |-- org_eclipse_jetty_jetty-io 11.0.24
           |-- org_eclipse_jetty_jetty-security 11.0.24
           |-- org_eclipse_jetty_jetty-server 11.0.24
           |-- org_eclipse_jetty_jetty-servlet 11.0.24
           |-- org_eclipse_jetty_jetty-util 11.0.24
           |-- org_eclipse_jetty_jetty-webapp 11.0.24
           \-- org_eclipse_jetty_toolchain_jetty-jakarta-servlet-api 5.0.2
        - puzzleslib 21.4.10
        - raknetify 0.1.0+alpha.5.160
        - resourcefulconfig 3.4.3
        - scalablelux 0.1.2+beta.1+fabric.6d46f24
        - servercore 1.5.8+1.21.4
           |-- fabric-permissions-api-v0 0.3.3
           |-- org_yaml_snakeyaml 2.2
           |-- placeholder-api 2.5.1+1.21.3
           |-- space_arim_dazzleconf_dazzleconf-core 1.3.0-M2
           \-- space_arim_dazzleconf_dazzleconf-ext-snakeyaml 1.3.0-M2
        - spark 1.10.121
           \-- fabric-permissions-api-v0 0.3.3
        - stackdeobfuscator 1.4.3+08e71cc
           |-- net_fabricmc_mapping-io 0.6.1
           \-- stackdeobfuscator-common 1.4.3+08e71cc
        - structure_layout_optimizer 1.1.1
        - tabtps-fabric 1.3.26
           |-- adventure-platform-fabric 6.2.0
           |    |-- net_kyori_adventure-api 4.18.0
           |    |-- net_kyori_adventure-key 4.18.0
           |    |-- net_kyori_adventure-platform-api 4.3.4
           |    |-- net_kyori_adventure-platform-mod-shared-fabric-repack 6.2.0
           |    |-- net_kyori_adventure-text-logger-slf4j 4.18.0
           |    |-- net_kyori_adventure-text-minimessage 4.18.0
           |    |-- net_kyori_adventure-text-serializer-ansi 4.18.0
           |    |-- net_kyori_adventure-text-serializer-gson 4.18.0
           |    |-- net_kyori_adventure-text-serializer-json 4.18.0
           |    |-- net_kyori_adventure-text-serializer-plain 4.18.0
           |    |-- net_kyori_ansi 1.1.1
           |    |-- net_kyori_examination-api 1.3.0
           |    |-- net_kyori_examination-string 1.3.0
           |    \-- net_kyori_option 1.0.0
           |-- cloud 2.0.0-beta.10
           |    |-- io_leangen_geantyref_geantyref 1.3.15
           |    |-- org_incendo_cloud-brigadier 2.0.0-beta.10
           |    |-- org_incendo_cloud-core 2.0.0
           |    |-- org_incendo_cloud-minecraft-modded-common-fabric-repack 2.0.0-beta.10
           |    \-- org_incendo_cloud-services 2.0.0
           |-- com_typesafe_config 1.4.3
           |-- fabric-permissions-api-v0 0.3.3
           |-- net_kyori_adventure-serializer-configurate4 4.18.0
           |-- net_kyori_adventure-text-feature-pagination 4.0.0-SNAPSHOT
           |-- net_kyori_adventure-text-serializer-legacy 4.18.0
           |-- org_incendo_cloud-minecraft-extras 2.0.0-beta.10
           |-- org_spongepowered_configurate-core 4.1.2
           \-- org_spongepowered_configurate-hocon 4.1.2
        - trashslot 21.4.3
        - tt20 0.7.1
           \-- net_snackbag_shit_shit 1.2.3
        - vmp 0.2.0+beta.7.191+1.21.4
           \-- com_ibm_async_asyncutil 0.1.0
        - worldborder 4.8
        - yet_another_config_lib_v3 3.6.3+1.21.4-fabric
        - yosbr 0.1.2

Checklist

  • I am using the official version of the mod.
  • I tried the latest development version but the issue persists.
  • I searched for similar open issues and could not find an existing bug report on this.

Additional context

  • I think it could be related to Krypton

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions