Skip to content

how to disable shouldAuthenticate? #360

@viane

Description

@viane

Im trying to connect to the offline mode server via a bungeecord proxy (validated by using the official client to connect to the bungeecord proxy -> server). And I have tested that I can use the webclient to connect to the server directly.

But when I try to use the webclient to connect to the bungeecord proxy -> server, I got kicked by server due to auth rejection.

{"minecraftVersion":"1.21.4"}

S login:encryption_begin 12:59:39.73 {"serverId":"107b0326da71e51c","publicKey":{"type":"Buffer","data":[48,129,159,48,13,6,9,42,134,72,134,247,13,1,1,1,5,0,3,129,141,0,48,129,137,2,129,129,0,159,211,244,232,171,240,148,241,215,118,163,17,87,228,103,8,41,50,27,29,162,13,193,238,59,176,232,184,207,51,186,88,29,32,217,117,199,96,192,211,136,231,119,243,65,38,113,108,250,124,227,142,168,180,43,80,176,132,237,216,238,16,51,193,240,172,27,64,202,242,95,139,107,156,223,254,249,170,149,34,121,203,207,29,62,7,28,8,48,174,241,192,178,64,36,135,222,164,88,116,195,81,194,58,254,4,203,95,72,181,54,216,156,217,191,173,118,144,227,21,144,115,99,128,198,189,188,61,2,3,1,0,1]},"verifyToken":{"type":"Buffer","data":[150,75,187,84]},"shouldAuthenticate":true}
S login:disconnect 12:59:40.22 {"reason":"{\"extra\":[{\"color\":\"red\",\"text\":\"Not authenticated with \"},{\"color\":\"red\",\"clickEvent\":{\"action\":\"open_url\",\"value\":\"http://Minecraft.net\"},\"text\":\"Minecraft.net\"},{\"color\":\"red\",\"clickEvent\":{\"action\":\"open_url\",\"value\":\"http://Minecraft.net\"},\"text\":\"\"}],\"text\":\"\"}"}

I can't tell if this is due to the bungeecord proxy or the "shouldAuthenticate":true option from above, can you enlighten me?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions