Minecraft-Console-Client icon indicating copy to clipboard operation
Minecraft-Console-Client copied to clipboard

[BUG] The Yggdrasil verification station for the second-level domain name will show a Network Error, such as myskin.good.com

Open lizheyo77 opened this issue 1 year ago • 3 comments

Prerequisites

  • [X] I made sure I am running the latest development build
  • [X] I tried to look for similar issues before opening a new one
  • [X] I have set debugmessages=true in config to diagnose my issue
  • [X] I have redacted session tokens and passwords before attaching screenshots

Minecraft Version

1.21.1

Console Client Version

build 275

Expected Behavior

For example, use the secondary domain myskin.good.com to use external login

Actual Behavior

The Yggdrasil verification station for the second-level domain name will show a Network Error, such as myskin.good.com

Steps to Reproduce the bug

  1. yes
  2. yes
  3. yes

Attach screenshot here (If applicable)

No response

Anythings that could help diagnosing the bug

No response

Device

None

Operating System

Windows

Server Address (If applicable)

No response

lizheyo77 avatar Sep 02 '24 12:09 lizheyo77

我也遇到了这种情况,不过我试了一下有方法可以解决

如果你的配置文件是如下的情况(我最开始是这样设置,可以复现网络错误):

AccountType = "yggdrasil"                   # 帐户类型:mojang 或是 microsoft 或是 yggdrasil。此项设置也会影响交互式登录。
Method = "mcc"                              # 微软账户的登录方式:mcc 或是 browser(手动在网页上登录)。
AuthServer = { Host = "https://skin.xxx.xxx/api/yggdrasil", Port = 443 }      # Yggdrasil API 认证服务器的域名与端口。

控制台日志:

Minecraft Console Client v1.20.4 - for MC 1.4.6 to 1.20.4 - Github.com/MCCTeam
GitHub build 276, built on 2024-09-06 from commit 27e6643
正在解析mc.xxx.com...
帮助我们翻译MCC:https://crwd.in/minecraft-console-client
正在连接至https://skin.xxx.xxx/api/yggdrasil...
登录失败:网络错误。

如果把配置文件的AuthServer改成只剩域名:

AccountType = "yggdrasil"                   # 帐户类型:mojang 或是 microsoft 或是 yggdrasil。此项设置也会影响交互式登录。
Method = "mcc"                              # 微软账户的登录方式:mcc 或是 browser(手动在网页上登录)。
AuthServer = { Host = "skin.xxx.xxx", Port = 443 } # Yggdrasil API 认证服务器的域名与端口。

则可以正常登录

Minecraft Console Client v1.20.4 - for MC 1.4.6 to 1.20.4 - Github.com/MCCTeam
GitHub build 276, built on 2024-09-06 from commit 27e6643
正在解析mc.xxx.com...
帮助我们翻译MCC:https://crwd.in/minecraft-console-client
正在连接至skin.xxx.xxx...
正在以 Minecraft 版本 1.20.4 (v765协议)运行
name的聊天签名密钥缓存仍然有效.
[MCC] 该版本受到支持
正在登录...
[MCC] 检查会话...
[MCC] 已成功加入服务器。

yanhy2000 avatar Nov 18 '24 03:11 yanhy2000

我也遇到了这种情况,不过我试了一下有方法可以解决

如果你的配置文件是如下的情况(我最开始是这样设置,可以复现网络错误):

AccountType = "yggdrasil"                   # 帐户类型:mojang 或是 microsoft 或是 yggdrasil。此项设置也会影响交互式登录。
Method = "mcc"                              # 微软账户的登录方式:mcc 或是 browser(手动在网页上登录)。
AuthServer = { Host = "https://skin.xxx.xxx/api/yggdrasil", Port = 443 }      # Yggdrasil API 认证服务器的域名与端口。

控制台日志:

Minecraft Console Client v1.20.4 - for MC 1.4.6 to 1.20.4 - Github.com/MCCTeam
GitHub build 276, built on 2024-09-06 from commit 27e6643
正在解析mc.xxx.com...
帮助我们翻译MCC:https://crwd.in/minecraft-console-client
正在连接至https://skin.xxx.xxx/api/yggdrasil...
登录失败:网络错误。

如果把配置文件的AuthServer改成只剩域名:

AccountType = "yggdrasil"                   # 帐户类型:mojang 或是 microsoft 或是 yggdrasil。此项设置也会影响交互式登录。
Method = "mcc"                              # 微软账户的登录方式:mcc 或是 browser(手动在网页上登录)。
AuthServer = { Host = "skin.xxx.xxx", Port = 443 } # Yggdrasil API 认证服务器的域名与端口。

则可以正常登录

Minecraft Console Client v1.20.4 - for MC 1.4.6 to 1.20.4 - Github.com/MCCTeam
GitHub build 276, built on 2024-09-06 from commit 27e6643
正在解析mc.xxx.com...
帮助我们翻译MCC:https://crwd.in/minecraft-console-client
正在连接至skin.xxx.xxx...
正在以 Minecraft 版本 1.20.4 (v765协议)运行
name的聊天签名密钥缓存仍然有效.
[MCC] 该版本受到支持
正在登录...
[MCC] 检查会话...
[MCC] 已成功加入服务器。

我的就算只改成域名也没办法正常识别,听作者说的是这部分代码损坏了

lizheyo77 avatar Dec 13 '24 02:12 lizheyo77

不知不觉一年了, 还是没有解决。

liu15210520737 avatar Nov 06 '25 16:11 liu15210520737