itzg / mc-router

Routes Minecraft client connections to backend servers based upon the requested server address

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

problem with enforce-secure-profile

NunzioArdi opened this issue · comments

Hello,

Because of the new server.properties parameter enforce-secure-profile=true, I couldn't connect to my server through mc-router.

Log

[20:20:33 INFO]: UUID of player XXXX is XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
[20:20:33 INFO]: Disconnecting com.mojang.authlib.GameProfile@xxxxxxxx[id=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX,name=XXXX ,properties={textures=[com.mojang.authlib.properties.Property@yyyyyyyy]},legacy=false] (/12.34.56.78:99999): Missing profile public key.
This server requires secure profiles.
[20:20:33 INFO]: Disconnecting com.mojang.authlib.GameProfile@xxxxxxxx[id=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX,name=XXXX ,properties={textures=[com.mojang.authlib.properties.Property@yyyyyyyy]},legacy=false] (/12.34.56.78:99999): Missing profile public key.
This server requires secure profiles.
[20:20:33 INFO]: com.mojang.authlib.GameProfile@xxxxxxxx[id=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX,name=XXXX ,properties={textures=[com.mojang.authlib.properties.Property@yyyyyyyy]},legacy=false] (/12.34.56.78:99999) lost connection: Missing profile public key.
This server requires secure profiles.

Config

version: '3.4'

services:
  router:
    image: itzg/mc-router
    ports:
      - 11111:25565
    command: --mapping=subsub.subdomain.domain.tld=98.76.54.32:11111

Minecraft server: 1.19.2

mc-router does no modification of frames passed through. It is purposely called a router and not a proxy since it operates as the layer 4/5 OSI networking layer.

...and I just now double checked and I was able to connect to mine fine. Make sure you have logged into the client with a Microsoft migrated account.

ah yes indeed I found the problem, sorry for the inconvenience