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

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

Open
4 tasks done
lizheyo77 opened this issue Sep 2, 2024 · 2 comments
Labels
a:bug Crash or feature not working as expected

Comments

@lizheyo77
Copy link

Prerequisites

  • I made sure I am running the latest development build
  • I tried to look for similar issues before opening a new one
  • I have set debugmessages=true in config to diagnose my issue
  • 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 lizheyo77 added the a:bug Crash or feature not working as expected label Sep 2, 2024
@yanhy2000
Copy link

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

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

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
Copy link
Author

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

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

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] 已成功加入服务器。

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:bug Crash or feature not working as expected
Projects
None yet
Development

No branches or pull requests

2 participants