[03:04:33 INFO]: Disconnecting com.mojang.authlib.GameProfile@5fe7480b[id=04f3e98c-92fd-3f42-afbe-8a91d926327c,name=FutureBadger623,properties={uploadableTextures=[com.mojang.authlib.properties.Property@65a356e4], textures=[com.mojang.authlib.properties.Property@6377831d]},legacy=false] (/127.0.0.1:58634): Invalid signature for profile public key.
Try restarting your game.
[03:04:33 INFO]: com.mojang.authlib.GameProfile@5fe7480b[id=04f3e98c-92fd-3f42-afbe-8a91d926327c,name=FutureBadger623,properties={uploadableTextures=[com.mojang.authlib.properties.Property@65a356e4], textures=[com.mojang.authlib.properties.Property@6377831d]},legacy=false] (/127.0.0.1:58634) lost connection: Invalid signature for profile public key.
Try restarting your game.
[03:13:45 WARN]: [Slimefun] Attempted to refresh skin cache, got this response: TimeoutException: null
[03:13:45 WARN]: [Slimefun] This usually means mojang.com is temporarily down or started to rate-limit this connection, nothing to worry about!
[03:14:19 INFO]: [MultiLogin] Authentication passed, login allowed. (user: FutureBadger623, in game uuid: 04f3e98c-92fd-3f42-afbe-8a91d926327c, online uuid: 04f3e98c-92fd-3f42-afbe-8a91d926327c, yggdrasil: HLGSKIN)
[03:14:19 INFO]: UUID of player FutureBadger623 is 04f3e98c-92fd-3f42-afbe-8a91d926327c
[03:14:19 ERROR]: Failed to verify Services signature
java.security.SignatureException: Signature length not correct: got 1 but was expecting 512
at sun.security.rsa.RSASignature.engineVerify(RSASignature.java:213) ~[?:?]
at java.security.Signature$Delegate.engineVerify(Signature.java:1435) ~[?:?]
at java.security.Signature.verify(Signature.java:789) ~[?:?]
at net.minecraft.util.SignatureValidator.verifySignature(SignatureValidator.java:26) ~[mirai-1.19.2.jar:git-Mirai-23]
at net.minecraft.util.SignatureValidator.lambda$from$3(SignatureValidator.java:47) ~[mirai-1.19.2.jar:git-Mirai-23]
at net.minecraft.util.SignatureValidator.validate(SignatureValidator.java:19) ~[mirai-1.19.2.jar:git-Mirai-23]
at net.minecraft.world.entity.player.ProfilePublicKey$Data.validateSignature(ProfilePublicKey.java:56) ~[?:?]
at net.minecraft.world.entity.player.ProfilePublicKey.createValidated(ProfilePublicKey.java:28) ~[mirai-1.19.2.jar:git-Mirai-23]
at net.minecraft.server.network.ServerLoginPacketListenerImpl.validatePublicKey(ServerLoginPacketListenerImpl.java:257) ~[?:?]
at net.minecraft.server.network.ServerLoginPacketListenerImpl.handleAcceptedLogin(ServerLoginPacketListenerImpl.java:180) ~[?:?]
at net.minecraft.server.network.ServerLoginPacketListenerImpl.tick(ServerLoginPacketListenerImpl.java:91) ~[?:?]
at net.minecraft.network.Connection.tick(Connection.java:568) ~[?:?]
at net.minecraft.server.network.ServerConnectionListener.tick(ServerConnectionListener.java:233) ~[?:?]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1600) ~[mirai-1.19.2.jar:git-Mirai-23]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:451) ~[mirai-1.19.2.jar:git-Mirai-23]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1432) ~[mirai-1.19.2.jar:git-Mirai-23]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1203) ~[mirai-1.19.2.jar:git-Mirai-23]
at net.minecraft.server.MinecraftServer.lambda$spin$1(MinecraftServer.java:307) ~[mirai-1.19.2.jar:git-Mirai-23]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
[03:14:19 INFO]: Disconnecting com.mojang.authlib.GameProfile@696edb0b[id=04f3e98c-92fd-3f42-afbe-8a91d926327c,name=FutureBadger623,properties={uploadableTextures=[com.mojang.authlib.properties.Property@4d9a9bd3], textures=[com.mojang.authlib.properties.Property@7ed08d11]},legacy=false] (/127.0.0.1:53136): Invalid signature for profile public key.
Try restarting your game.
[03:14:19 ERROR]: Failed to verify Services signature
java.security.SignatureException: Signature length not correct: got 1 but was expecting 512
at sun.security.rsa.RSASignature.engineVerify(RSASignature.java:213) ~[?:?]
at java.security.Signature$Delegate.engineVerify(Signature.java:1435) ~[?:?]
at java.security.Signature.verify(Signature.java:789) ~[?:?]
at net.minecraft.util.SignatureValidator.verifySignature(SignatureValidator.java:26) ~[mirai-1.19.2.jar:git-Mirai-23]
at net.minecraft.util.SignatureValidator.lambda$from$3(SignatureValidator.java:47) ~[mirai-1.19.2.jar:git-Mirai-23]
at net.minecraft.util.SignatureValidator.validate(SignatureValidator.java:19) ~[mirai-1.19.2.jar:git-Mirai-23]
at net.minecraft.world.entity.player.ProfilePublicKey$Data.validateSignature(ProfilePublicKey.java:56) ~[?:?]
at net.minecraft.world.entity.player.ProfilePublicKey.createValidated(ProfilePublicKey.java:28) ~[mirai-1.19.2.jar:git-Mirai-23]
at net.minecraft.server.network.ServerLoginPacketListenerImpl.validatePublicKey(ServerLoginPacketListenerImpl.java:257) ~[?:?]
at net.minecraft.server.network.ServerLoginPacketListenerImpl.handleAcceptedLogin(ServerLoginPacketListenerImpl.java:180) ~[?:?]
at net.minecraft.server.network.ServerLoginPacketListenerImpl.tick(ServerLoginPacketListenerImpl.java:91) ~[?:?]
at net.minecraft.network.Connection.tick(Connection.java:579) ~[?:?]
at net.minecraft.server.network.ServerConnectionListener.tick(ServerConnectionListener.java:233) ~[?:?]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1600) ~[mirai-1.19.2.jar:git-Mirai-23]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:451) ~[mirai-1.19.2.jar:git-Mirai-23]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1432) ~[mirai-1.19.2.jar:git-Mirai-23]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1203) ~[mirai-1.19.2.jar:git-Mirai-23]
at net.minecraft.server.MinecraftServer.lambda$spin$1(MinecraftServer.java:307) ~[mirai-1.19.2.jar:git-Mirai-23]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
[03:14:19 INFO]: Disconnecting com.mojang.authlib.GameProfile@696edb0b[id=04f3e98c-92fd-3f42-afbe-8a91d926327c,name=FutureBadger623,properties={uploadableTextures=[com.mojang.authlib.properties.Property@4d9a9bd3], textures=[com.mojang.authlib.properties.Property@7ed08d11]},legacy=false] (/127.0.0.1:53136): Invalid signature for profile public key.
Try restarting your game.
[03:14:19 INFO]: com.mojang.authlib.GameProfile@696edb0b[id=04f3e98c-92fd-3f42-afbe-8a91d926327c,name=FutureBadger623,properties={uploadableTextures=[com.mojang.authlib.properties.Property@4d9a9bd3], textures=[com.mojang.authlib.properties.Property@7ed08d11]},legacy=false] (/127.0.0.1:53136) lost connection: Invalid signature for profile public key.
Try restarting your game.
BUG描述
进入服务器提示 无效的个人信息公钥签名。请尝试重启游戏
[03:04:33 INFO]: Disconnecting com.mojang.authlib.GameProfile@5fe7480b[id=04f3e98c-92fd-3f42-afbe-8a91d926327c,name=FutureBadger623,properties={uploadableTextures=[com.mojang.authlib.properties.Property@65a356e4], textures=[com.mojang.authlib.properties.Property@6377831d]},legacy=false] (/127.0.0.1:58634): Invalid signature for profile public key. Try restarting your game. [03:04:33 INFO]: com.mojang.authlib.GameProfile@5fe7480b[id=04f3e98c-92fd-3f42-afbe-8a91d926327c,name=FutureBadger623,properties={uploadableTextures=[com.mojang.authlib.properties.Property@65a356e4], textures=[com.mojang.authlib.properties.Property@6377831d]},legacy=false] (/127.0.0.1:58634) lost connection: Invalid signature for profile public key. Try restarting your game.
MultiLogin版本
0.3.15
系统架构
linux/amd64
配置文件
###################################
MultiLogin
--config
###################################
在这里,设置所有的 Yggdrasil 账户验证服务器。
services:
这是一个示例配置:
节点名称 'demo' 作为混合验证系统区分 Yggdrasil 验证服务器唯一性的凭据,设置好后请不要随意的去改动它,
随意的更改节点名称将会导致二次验证系统无法验明用户身份而拒绝用户的登入请求。
可以仿写此节点用来添加新的 Yggdrasil 账户验证服务器。
HLGSKIN:
此节点代表 Minecraft 原版验证
official: name: "正版" body: url: "https://sessionserver.mojang.com/session/minecraft/hasJoined?username={username}&serverId={serverId}{passIpContent}"
设置所有网络请求的超时时间
默认值 '10000'
servicesTimeOut: 10000
全局白名单开关
默认值 'true'
whitelist: false
玩家允许设置的用户名正则,不匹配将会拒绝登入请求。
当当前 Yggdrasil 账户验证服务器设置中对应设置节点存在值时,此节点对于该验证服务器无效。
默认值 '^[0-9a-zA-Z_]{1,16}$'
nameAllowedRegular: '^[0-9a-zA-Z_]{1,16}$'
插件数据的存放方式
sql:
数据库类型设置
目前至支持以下值:
H2
MYSQL
默认值 'H2'
backend: MYSQL
数据库地址
默认值 '127.0.0.1'
ip: '127.0.0.1'
数据库端口
默认值 '3306'
port: 3306
数据库用户名
默认值 'root'
username: '私密信息'
数据库密码
默认值 '12345'
password: '私密信息'
数据库名称
默认值 'multilogin'
database: '私密信息'
前缀
默认值 'multilogin'
prefix: 'multilogin'
日志
[03:13:45 WARN]: [Slimefun] Attempted to refresh skin cache, got this response: TimeoutException: null [03:13:45 WARN]: [Slimefun] This usually means mojang.com is temporarily down or started to rate-limit this connection, nothing to worry about! [03:14:19 INFO]: [MultiLogin] Authentication passed, login allowed. (user: FutureBadger623, in game uuid: 04f3e98c-92fd-3f42-afbe-8a91d926327c, online uuid: 04f3e98c-92fd-3f42-afbe-8a91d926327c, yggdrasil: HLGSKIN) [03:14:19 INFO]: UUID of player FutureBadger623 is 04f3e98c-92fd-3f42-afbe-8a91d926327c [03:14:19 ERROR]: Failed to verify Services signature java.security.SignatureException: Signature length not correct: got 1 but was expecting 512 at sun.security.rsa.RSASignature.engineVerify(RSASignature.java:213) ~[?:?] at java.security.Signature$Delegate.engineVerify(Signature.java:1435) ~[?:?] at java.security.Signature.verify(Signature.java:789) ~[?:?] at net.minecraft.util.SignatureValidator.verifySignature(SignatureValidator.java:26) ~[mirai-1.19.2.jar:git-Mirai-23] at net.minecraft.util.SignatureValidator.lambda$from$3(SignatureValidator.java:47) ~[mirai-1.19.2.jar:git-Mirai-23] at net.minecraft.util.SignatureValidator.validate(SignatureValidator.java:19) ~[mirai-1.19.2.jar:git-Mirai-23] at net.minecraft.world.entity.player.ProfilePublicKey$Data.validateSignature(ProfilePublicKey.java:56) ~[?:?] at net.minecraft.world.entity.player.ProfilePublicKey.createValidated(ProfilePublicKey.java:28) ~[mirai-1.19.2.jar:git-Mirai-23] at net.minecraft.server.network.ServerLoginPacketListenerImpl.validatePublicKey(ServerLoginPacketListenerImpl.java:257) ~[?:?] at net.minecraft.server.network.ServerLoginPacketListenerImpl.handleAcceptedLogin(ServerLoginPacketListenerImpl.java:180) ~[?:?] at net.minecraft.server.network.ServerLoginPacketListenerImpl.tick(ServerLoginPacketListenerImpl.java:91) ~[?:?] at net.minecraft.network.Connection.tick(Connection.java:568) ~[?:?] at net.minecraft.server.network.ServerConnectionListener.tick(ServerConnectionListener.java:233) ~[?:?] at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1600) ~[mirai-1.19.2.jar:git-Mirai-23] at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:451) ~[mirai-1.19.2.jar:git-Mirai-23] at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1432) ~[mirai-1.19.2.jar:git-Mirai-23] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1203) ~[mirai-1.19.2.jar:git-Mirai-23] at net.minecraft.server.MinecraftServer.lambda$spin$1(MinecraftServer.java:307) ~[mirai-1.19.2.jar:git-Mirai-23] at java.lang.Thread.run(Thread.java:833) ~[?:?] [03:14:19 INFO]: Disconnecting com.mojang.authlib.GameProfile@696edb0b[id=04f3e98c-92fd-3f42-afbe-8a91d926327c,name=FutureBadger623,properties={uploadableTextures=[com.mojang.authlib.properties.Property@4d9a9bd3], textures=[com.mojang.authlib.properties.Property@7ed08d11]},legacy=false] (/127.0.0.1:53136): Invalid signature for profile public key. Try restarting your game. [03:14:19 ERROR]: Failed to verify Services signature java.security.SignatureException: Signature length not correct: got 1 but was expecting 512 at sun.security.rsa.RSASignature.engineVerify(RSASignature.java:213) ~[?:?] at java.security.Signature$Delegate.engineVerify(Signature.java:1435) ~[?:?] at java.security.Signature.verify(Signature.java:789) ~[?:?] at net.minecraft.util.SignatureValidator.verifySignature(SignatureValidator.java:26) ~[mirai-1.19.2.jar:git-Mirai-23] at net.minecraft.util.SignatureValidator.lambda$from$3(SignatureValidator.java:47) ~[mirai-1.19.2.jar:git-Mirai-23] at net.minecraft.util.SignatureValidator.validate(SignatureValidator.java:19) ~[mirai-1.19.2.jar:git-Mirai-23] at net.minecraft.world.entity.player.ProfilePublicKey$Data.validateSignature(ProfilePublicKey.java:56) ~[?:?] at net.minecraft.world.entity.player.ProfilePublicKey.createValidated(ProfilePublicKey.java:28) ~[mirai-1.19.2.jar:git-Mirai-23] at net.minecraft.server.network.ServerLoginPacketListenerImpl.validatePublicKey(ServerLoginPacketListenerImpl.java:257) ~[?:?] at net.minecraft.server.network.ServerLoginPacketListenerImpl.handleAcceptedLogin(ServerLoginPacketListenerImpl.java:180) ~[?:?] at net.minecraft.server.network.ServerLoginPacketListenerImpl.tick(ServerLoginPacketListenerImpl.java:91) ~[?:?] at net.minecraft.network.Connection.tick(Connection.java:579) ~[?:?] at net.minecraft.server.network.ServerConnectionListener.tick(ServerConnectionListener.java:233) ~[?:?] at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1600) ~[mirai-1.19.2.jar:git-Mirai-23] at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:451) ~[mirai-1.19.2.jar:git-Mirai-23] at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1432) ~[mirai-1.19.2.jar:git-Mirai-23] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1203) ~[mirai-1.19.2.jar:git-Mirai-23] at net.minecraft.server.MinecraftServer.lambda$spin$1(MinecraftServer.java:307) ~[mirai-1.19.2.jar:git-Mirai-23] at java.lang.Thread.run(Thread.java:833) ~[?:?] [03:14:19 INFO]: Disconnecting com.mojang.authlib.GameProfile@696edb0b[id=04f3e98c-92fd-3f42-afbe-8a91d926327c,name=FutureBadger623,properties={uploadableTextures=[com.mojang.authlib.properties.Property@4d9a9bd3], textures=[com.mojang.authlib.properties.Property@7ed08d11]},legacy=false] (/127.0.0.1:53136): Invalid signature for profile public key. Try restarting your game. [03:14:19 INFO]: com.mojang.authlib.GameProfile@696edb0b[id=04f3e98c-92fd-3f42-afbe-8a91d926327c,name=FutureBadger623,properties={uploadableTextures=[com.mojang.authlib.properties.Property@4d9a9bd3], textures=[com.mojang.authlib.properties.Property@7ed08d11]},legacy=false] (/127.0.0.1:53136) lost connection: Invalid signature for profile public key. Try restarting your game.
复现步骤
1. 2. 3. ...
确认一遍