Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

实测目前 yggdrasil-api_5.1.2-5.1.5 插件均不能正常工作 #190

Open
Yue-plus opened this issue Jun 28, 2023 · 1 comment
Open

Comments

@Yue-plus
Copy link

Yue-plus commented Jun 28, 2023

因为插件市场无法打开,我是从 bs-community/plugins-dist 下载的 zip 包,然后通过插件管理上传压缩包安装的插件。

我确信我已经正确配置了 Blessing Skin 皮肤站、Authlib Injector,但是使用新版本插件就是无法登入服务器:
image

  • Blessing Skin: 6.0.2
  • Laravel: 8.75.0
  • PHP: 8.1.2-1ubuntu2.11
  • Web: Apache/2.4.52 (Ubuntu)
  • OS: Linux 5.15.0-75-generic x86_64 (Ubuntu Server 22.04.2 LTS)
  • DB: PostgreSQL 14
Log
➜  mc1.20.1 ./start.sh
[authlib-injector] [INFO] Logging file: /home/yueplus/mc1.20.1/authlib-injector.log
[authlib-injector] [INFO] Version: 1.2.3
[authlib-injector] [INFO] Authentication server: https://skin.mc.yue.zone/api/yggdrasil
[authlib-injector] [DEBUG] Metadata: {"meta":{"serverName":"YueZone MC Skin","implementationName":"Yggdrasil API for Blessing Skin","implementationVersion":"5.1.4","links":{"homepage":"https:\/\/skin.mc.yue.zone","register":"https:\/\/skin.mc.yue.zone\/auth\/register"},"feature.non_email_login":true},"skinDomains":["skin.mc.yue.zone"],"signaturePublickey":"-----BEGIN PUBLIC KEY-----\nMIICIjANBgkqhkiG9w0BAQEFAAOCAg8A...==\n-----END PUBLIC KEY-----\n"}
[authlib-injector] [DEBUG] Parsed metadata: APIMetadata [apiRoot=https://skin.mc.yue.zone/api/yggdrasil/, skinDomains=[skin.mc.yue.zone], decodedPublickey=Optional[Sun RSA public key, 4096 bits
  params: null
  modulus: 758933959159907280...
  public exponent: 65537], meta={feature.non_email_login=true, implementationName=Yggdrasil API for Blessing Skin, implementationVersion=5.1.4, links={"homepage":"https:\/\/skin.mc.yue.zone","register":"https:\/\/skin.mc.yue.zone\/auth\/register"}, serverName=YueZone MC Skin}]
Starting net.minecraft.server.Main
[authlib-injector] [INFO] Transformed [com.mojang.authlib.properties.Property] with [Yggdrasil Public Key Transformer]
[authlib-injector] [DEBUG] Adding callback metafactory
[authlib-injector] [INFO] Transformed [com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService] with [Authlib Log Interceptor]
[authlib-injector] [DEBUG] Adding callback metafactory
[authlib-injector] [INFO] Transformed [com.mojang.authlib.HttpAuthenticationService] with [Authlib Log Interceptor]
[authlib-injector] [INFO] Transformed [com.mojang.authlib.HttpAuthenticationService] with [ConcatenateURL Workaround]
[authlib-injector] [DEBUG] Adding callback metafactory
[authlib-injector] [INFO] Transformed [com.mojang.authlib.minecraft.UserApiService] with [Authlib Log Interceptor]
[authlib-injector] [DEBUG] Adding callback metafactory
[authlib-injector] [INFO] Registered log handler on java.net.URLClassLoader@3c9d0b9d
[authlib-injector] [DEBUG] Transformed url [https://authserver.mojang.com] to [https://skin.mc.yue.zone/api/yggdrasil/authserver]
[authlib-injector] [DEBUG] Transformed url [https://authserver.mojang.com] to [https://skin.mc.yue.zone/api/yggdrasil/authserver]
[authlib-injector] [INFO] Httpd is running on port 34465
[authlib-injector] [DEBUG] Transformed url [https://api.mojang.com] to [http://127.0.0.1:34465/https/api.mojang.com]
[authlib-injector] [DEBUG] Transformed url [https://sessionserver.mojang.com] to [http://127.0.0.1:34465/https/sessionserver.mojang.com]
[authlib-injector] [DEBUG] Transformed url [https://api.minecraftservices.com] to [http://127.0.0.1:34465/https/api.minecraftservices.com]
[authlib-injector] [INFO] Transformed [com.mojang.authlib.yggdrasil.YggdrasilEnvironment] with [Constant URL Transformer]
[10:52:33] [ServerMain/INFO]: Environment: authHost='https://skin.mc.yue.zone/api/yggdrasil/authserver', accountsHost='http://127.0.0.1:34465/https/api.mojang.com', sessionHost='http://127.0.0.1:34465/https/sessionserver.mojang.com', servicesHost='http://127.0.0.1:34465/https/api.minecraftservices.com', name='PROD'
[authlib-injector] [INFO] Transformed [com.mojang.authlib.yggdrasil.YggdrasilServicesKeyInfo] with [Yggdrasil Public Key Transformer]
[authlib-injector] [DEBUG] Adding callback metafactory
[authlib-injector] [DEBUG] Request to [/https/api.minecraftservices.com/publickeys] is handled by [moe.yushi.authlibinjector.httpd.PublickeysFilter@f441ebe]
[10:52:34] [ServerMain/INFO]: Loaded 7 recipes
[10:52:34] [ServerMain/INFO]: Loaded 1271 advancements
[10:52:35] [Server thread/INFO]: Starting minecraft server version 1.20.1
[10:52:35] [Server thread/INFO]: Loading properties
[10:52:35] [Server thread/INFO]: Default game type: SURVIVAL
[10:52:35] [Server thread/INFO]: Generating keypair
[10:52:35] [Server thread/INFO]: Starting Minecraft server on *:25565
[10:52:35] [Server thread/INFO]: Using epoll channel type
[10:52:35] [Server thread/INFO]: Preparing level "world"
[10:52:38] [Server thread/INFO]: Preparing start region for dimension minecraft:overworld
[10:52:40] [Worker-Main-1/INFO]: Preparing spawn area: 0%
[10:52:40] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[10:52:40] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[10:52:40] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[10:52:40] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[10:52:40] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[10:52:41] [Worker-Main-1/INFO]: Preparing spawn area: 1%
[10:52:41] [Worker-Main-1/INFO]: Preparing spawn area: 80%
[10:52:41] [Server thread/INFO]: Time elapsed: 3712 ms
[10:52:41] [Server thread/INFO]: Done (6.363s)! For help, type "help"
[authlib-injector] [INFO] Transformed [aja] with [Username Character Check Transformer]
[10:53:25] [Server thread/INFO]: com.mojang.authlib.GameProfile@ec32333[id=<null>,name=Yue_plus,properties={},legacy=false] (/192.168.100.233:7752) lost connection: Disconnected
[10:55:11] [Server thread/INFO]: com.mojang.authlib.GameProfile@47e99be8[id=<null>,name=YueZone,properties={},legacy=false] (/192.168.100.233:7907) lost connection: Disconnected

最后实测 yggdrasil-api_5.1.1 是可以正常使用的!
(实际上 LittleSkin 用的也是 5.1.1:
EK OQ$1SGKXQH ~_S4E1CRU

Orz ——仅以此 issue 祭奠我的三天光阴。

@binggo999
Copy link

可以手动补全文件。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants