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]: 当账户的流量为无限时,无法完成授权登陆 #220

Closed
5 tasks done
Suisuroru opened this issue Dec 23, 2024 · 18 comments
Closed
5 tasks done

[BUG]: 当账户的流量为无限时,无法完成授权登陆 #220

Suisuroru opened this issue Dec 23, 2024 · 18 comments
Labels
bug:漏洞 有些东西坏掉了 upstream:上游 不是猫猫的错QWQ

Comments

@Suisuroru
Copy link

问前检查

  • 我在提问之前,已经自己排查过问题
  • 我确保我已经搜索了相关资料,但仍无法解决
  • 我确保这个 BUG 未曾被报告过
  • 我确保这个 BUG 在最新版本可复现
  • 我确保我已经熟记提问的智慧

问题描述&复现过程

点击授权按钮后会跳转至
http://localhost:5173/auth/oauth/authorize?app_id=1&scopes=User,Proxy,Sign&redirect_url=http://localhost:21131/oauth/callback):5173/auth/oauth/authorize?app_id=1&scopes=User,Proxy,Sign&redirect_url=http://localhost:21131/oauth/callback
我并不知道这是否是正常的地址(我并不知道是否使用了本地服务器验证),但跳转后会提示此页面无法完成验证
image

版本

1.0.0(+1)

运行日志

[2024-12-23 16:12:14.640195][INFO]: Instance "GetMaterialController" has been created
[2024-12-23 16:12:14.640195][INFO]: Instance "GetMaterialController" has been initialized
[2024-12-23 16:12:14.641199][INFO]: Instance "HomeController" has been created
[2024-12-23 16:12:14.641199][INFO]: Instance "HomeController" has been initialized
[2024-12-23 16:12:14.642200][INFO]: Instance "FrpcController" has been created
[2024-12-23 16:12:14.642200][INFO]: Instance "FrpcController" has been initialized
[2024-12-23 16:12:14.642200][INFO]: Instance "ConsoleController" has been created
[2024-12-23 16:12:14.643199][INFO]: Instance "ConsoleController" has been initialized
[2024-12-23 16:12:14.643199][INFO]: Instance "UserController" has been created
[2024-12-23 16:12:14.644368][INFO]: Instance "UserController" has been initialized
[2024-12-23 16:12:16.213390][INFO]: Instance "_Controller" has been created
[2024-12-23 16:12:16.216395][INFO]: Instance "_Controller" has been initialized
[2024-12-23 16:12:58.071202][INFO]: OPEN DIALOG 760314201
[2024-12-23 16:13:00.271429][INFO]: Killing all process
[2024-12-23 16:13:00.272430][INFO]: All process killed
[2024-12-23 16:13:16.553268][INFO]: Instance "GetMaterialController" has been created
[2024-12-23 16:13:16.553772][INFO]: Instance "GetMaterialController" has been initialized
[2024-12-23 16:13:16.554776][INFO]: Instance "HomeController" has been created
[2024-12-23 16:13:16.554776][INFO]: Instance "HomeController" has been initialized
[2024-12-23 16:13:16.555776][INFO]: Instance "FrpcController" has been created
[2024-12-23 16:13:16.556775][INFO]: Instance "FrpcController" has been initialized
[2024-12-23 16:13:16.556775][INFO]: Instance "ConsoleController" has been created
[2024-12-23 16:13:16.557775][INFO]: Instance "ConsoleController" has been initialized
[2024-12-23 16:13:16.558775][INFO]: Instance "UserController" has been created
[2024-12-23 16:13:16.558775][INFO]: Instance "UserController" has been initialized
[2024-12-23 16:13:17.853494][INFO]: Instance "_Controller" has been created
[2024-12-23 16:13:17.856017][INFO]: Instance "_Controller" has been initialized
[2024-12-23 16:13:23.578988][INFO]: Instance "FrpcSettingController" has been created
[2024-12-23 16:13:23.581989][INFO]: Instance "FrpcSettingController" has been initialized
[2024-12-23 16:13:23.581989][INFO]: Instance "LauncherSettingLauncherController" has been created
[2024-12-23 16:13:23.583494][INFO]: Instance "LauncherSettingLauncherController" has been initialized
[2024-12-23 16:13:23.584501][INFO]: 
=== [DATA START] ===
[]
=== [DATA END] ===
[2024-12-23 16:13:23.584501][INFO]: Build windows platform arch list
[2024-12-23 16:14:12.884287][INFO]: 
=== [DATA START] ===
[]
=== [DATA END] ===
[2024-12-23 16:14:12.884287][INFO]: Build windows platform arch list
[2024-12-23 16:14:26.375627][INFO]: Selected arch: amd64
[2024-12-23 16:14:26.960529][INFO]: OPEN DIALOG 229980335
[2024-12-23 16:14:38.336630][INFO]: CLOSE DIALOG 229980335
[2024-12-23 16:14:38.338630][INFO]: 
=== [DATA START] ===
[
  "0.51.3-6"
]
=== [DATA END] ===
[2024-12-23 16:14:38.338630][INFO]: Build windows platform arch list
[2024-12-23 16:15:37.043593][INFO]: OPEN DIALOG 280763286
[2024-12-23 16:15:37.866903][INFO]: Killing all process
[2024-12-23 16:15:37.873608][INFO]: All process killed
[2024-12-23 16:15:54.810919][INFO]: Instance "GetMaterialController" has been created
[2024-12-23 16:15:54.812426][INFO]: Instance "GetMaterialController" has been initialized
[2024-12-23 16:15:54.813460][INFO]: Instance "HomeController" has been created
[2024-12-23 16:15:54.814433][INFO]: Instance "HomeController" has been initialized
[2024-12-23 16:15:54.814433][INFO]: Instance "FrpcController" has been created
[2024-12-23 16:15:54.815431][INFO]: Instance "FrpcController" has been initialized
[2024-12-23 16:15:54.816432][INFO]: Instance "ConsoleController" has been created
[2024-12-23 16:15:54.816432][INFO]: Instance "ConsoleController" has been initialized
[2024-12-23 16:15:54.817432][INFO]: Instance "UserController" has been created
[2024-12-23 16:15:54.817432][INFO]: Instance "UserController" has been initialized
[2024-12-23 16:15:56.078203][INFO]: Instance "_Controller" has been created
[2024-12-23 16:15:56.088250][INFO]: Instance "_Controller" has been initialized
@Suisuroru Suisuroru added the bug:漏洞 有些东西坏掉了 label Dec 23, 2024
@Suisuroru
Copy link
Author

我未注意到维护时间,维护后再看看是否存在

@Suisuroru Suisuroru closed this as not planned Won't fix, can't repro, duplicate, stale Dec 23, 2024
@Suisuroru Suisuroru reopened this Dec 27, 2024
@Suisuroru
Copy link
Author

今天仍然有这个问题,感觉是跳转页面地址不正确(

@Suisuroru Suisuroru reopened this Dec 27, 2024
@Muska-Ami
Copy link
Owner

你应该更新到v1.0.0+3

@Suisuroru
Copy link
Author

这是否是意料之外的情况(
image

@Suisuroru
Copy link
Author

[2024-12-23 16:12:14.640195][INFO]: Instance "GetMaterialController" has been created
[2024-12-23 16:12:14.640195][INFO]: Instance "GetMaterialController" has been initialized
[2024-12-23 16:12:14.641199][INFO]: Instance "HomeController" has been created
[2024-12-23 16:12:14.641199][INFO]: Instance "HomeController" has been initialized
[2024-12-23 16:12:14.642200][INFO]: Instance "FrpcController" has been created
[2024-12-23 16:12:14.642200][INFO]: Instance "FrpcController" has been initialized
[2024-12-23 16:12:14.642200][INFO]: Instance "ConsoleController" has been created
[2024-12-23 16:12:14.643199][INFO]: Instance "ConsoleController" has been initialized
[2024-12-23 16:12:14.643199][INFO]: Instance "UserController" has been created
[2024-12-23 16:12:14.644368][INFO]: Instance "UserController" has been initialized
[2024-12-23 16:12:16.213390][INFO]: Instance "_Controller" has been created
[2024-12-23 16:12:16.216395][INFO]: Instance "_Controller" has been initialized
[2024-12-23 16:12:58.071202][INFO]: OPEN DIALOG 760314201
[2024-12-23 16:13:00.271429][INFO]: Killing all process
[2024-12-23 16:13:00.272430][INFO]: All process killed
[2024-12-23 16:13:16.553268][INFO]: Instance "GetMaterialController" has been created
[2024-12-23 16:13:16.553772][INFO]: Instance "GetMaterialController" has been initialized
[2024-12-23 16:13:16.554776][INFO]: Instance "HomeController" has been created
[2024-12-23 16:13:16.554776][INFO]: Instance "HomeController" has been initialized
[2024-12-23 16:13:16.555776][INFO]: Instance "FrpcController" has been created
[2024-12-23 16:13:16.556775][INFO]: Instance "FrpcController" has been initialized
[2024-12-23 16:13:16.556775][INFO]: Instance "ConsoleController" has been created
[2024-12-23 16:13:16.557775][INFO]: Instance "ConsoleController" has been initialized
[2024-12-23 16:13:16.558775][INFO]: Instance "UserController" has been created
[2024-12-23 16:13:16.558775][INFO]: Instance "UserController" has been initialized
[2024-12-23 16:13:17.853494][INFO]: Instance "_Controller" has been created
[2024-12-23 16:13:17.856017][INFO]: Instance "_Controller" has been initialized
[2024-12-23 16:13:23.578988][INFO]: Instance "FrpcSettingController" has been created
[2024-12-23 16:13:23.581989][INFO]: Instance "FrpcSettingController" has been initialized
[2024-12-23 16:13:23.581989][INFO]: Instance "LauncherSettingLauncherController" has been created
[2024-12-23 16:13:23.583494][INFO]: Instance "LauncherSettingLauncherController" has been initialized
[2024-12-23 16:13:23.584501][INFO]:
=== [DATA START] ===
[]
=== [DATA END] ===
[2024-12-23 16:13:23.584501][INFO]: Build windows platform arch list
[2024-12-23 16:14:12.884287][INFO]:
=== [DATA START] ===
[]
=== [DATA END] ===
[2024-12-23 16:14:12.884287][INFO]: Build windows platform arch list
[2024-12-23 16:14:26.375627][INFO]: Selected arch: amd64
[2024-12-23 16:14:26.960529][INFO]: OPEN DIALOG 229980335
[2024-12-23 16:14:38.336630][INFO]: CLOSE DIALOG 229980335
[2024-12-23 16:14:38.338630][INFO]:
=== [DATA START] ===
[
"0.51.3-6"
]
=== [DATA END] ===
[2024-12-23 16:14:38.338630][INFO]: Build windows platform arch list
[2024-12-23 16:15:37.043593][INFO]: OPEN DIALOG 280763286
[2024-12-23 16:15:37.866903][INFO]: Killing all process
[2024-12-23 16:15:37.873608][INFO]: All process killed
[2024-12-23 16:15:54.810919][INFO]: Instance "GetMaterialController" has been created
[2024-12-23 16:15:54.812426][INFO]: Instance "GetMaterialController" has been initialized
[2024-12-23 16:15:54.813460][INFO]: Instance "HomeController" has been created
[2024-12-23 16:15:54.814433][INFO]: Instance "HomeController" has been initialized
[2024-12-23 16:15:54.814433][INFO]: Instance "FrpcController" has been created
[2024-12-23 16:15:54.815431][INFO]: Instance "FrpcController" has been initialized
[2024-12-23 16:15:54.816432][INFO]: Instance "ConsoleController" has been created
[2024-12-23 16:15:54.816432][INFO]: Instance "ConsoleController" has been initialized
[2024-12-23 16:15:54.817432][INFO]: Instance "UserController" has been created
[2024-12-23 16:15:54.817432][INFO]: Instance "UserController" has been initialized
[2024-12-23 16:15:56.078203][INFO]: Instance "_Controller" has been created
[2024-12-23 16:15:56.088250][INFO]: Instance "_Controller" has been initialized
[2024-12-23 16:24:36.118071][INFO]: OPEN DIALOG 811042637
[2024-12-23 16:24:36.991495][INFO]: Killing all process
[2024-12-23 16:24:36.993521][INFO]: All process killed
[2024-12-27 15:54:35.189934][INFO]: Instance "GetMaterialController" has been created
[2024-12-27 15:54:35.190938][INFO]: Instance "GetMaterialController" has been initialized
[2024-12-27 15:54:35.191936][INFO]: Instance "HomeController" has been created
[2024-12-27 15:54:35.192934][INFO]: Instance "HomeController" has been initialized
[2024-12-27 15:54:35.192934][INFO]: Instance "FrpcController" has been created
[2024-12-27 15:54:35.193932][INFO]: Instance "FrpcController" has been initialized
[2024-12-27 15:54:35.194932][INFO]: Instance "ConsoleController" has been created
[2024-12-27 15:54:35.195933][INFO]: Instance "ConsoleController" has been initialized
[2024-12-27 15:54:35.195933][INFO]: Instance "UserController" has been created
[2024-12-27 15:54:35.196934][INFO]: Instance "UserController" has been initialized
[2024-12-27 15:54:37.129865][INFO]: Instance "_Controller" has been created
[2024-12-27 15:54:37.130862][INFO]: Instance "_Controller" has been initialized
[2024-12-27 16:12:37.413227][INFO]: Instance "FrpcSettingController" has been created
[2024-12-27 16:12:37.417372][INFO]: Instance "FrpcSettingController" has been initialized
[2024-12-27 16:12:37.418409][INFO]: Instance "LauncherSettingLauncherController" has been created
[2024-12-27 16:12:37.418935][INFO]: Instance "LauncherSettingLauncherController" has been initialized
[2024-12-27 16:12:37.419978][INFO]:
=== [DATA START] ===
[
"0.51.3-6"
]
=== [DATA END] ===
[2024-12-27 16:12:37.420571][INFO]: Build windows platform arch list
[2024-12-27 16:14:01.821313][INFO]: OPEN DIALOG 914688617
[2024-12-27 16:14:06.620276][INFO]: Killing all process
[2024-12-27 16:14:06.621469][INFO]: All process killed
[2024-12-27 16:14:24.770364][INFO]: Instance "GetMaterialController" has been created
[2024-12-27 16:14:24.771371][INFO]: Instance "GetMaterialController" has been initialized
[2024-12-27 16:14:24.772801][INFO]: Instance "HomeController" has been created
[2024-12-27 16:14:24.772801][INFO]: Instance "HomeController" has been initialized
[2024-12-27 16:14:24.774307][INFO]: Instance "FrpcController" has been created
[2024-12-27 16:14:24.774307][INFO]: Instance "FrpcController" has been initialized
[2024-12-27 16:14:24.775312][INFO]: Instance "ConsoleController" has been created
[2024-12-27 16:14:24.775312][INFO]: Instance "ConsoleController" has been initialized
[2024-12-27 16:14:24.776312][INFO]: Instance "UserController" has been created
[2024-12-27 16:14:24.777312][INFO]: Instance "UserController" has been initialized
[2024-12-27 16:14:24.789097][ERROR]: PathNotFoundException: Cannot open file, path = 'C:\Users\qwert\AppData\Roaming\moe.muska.ami\nyanana/session.json' (OS Error: 系统找不到指定的文件。
, errno = 2)
Trace:
#0 _checkForErrorResponse (dart:io/common.dart:55)
#1 _File.open. (dart:io/file_impl.dart:381)

#2 _File.readAsBytes. (dart:io/file_impl.dart:562)

#3 _File.readAsString (dart:io/file_impl.dart:621)

#4 UserInfoStorage.read (package:nyalcf_core/storages/stores/user_info_storage.dart:26)

#5 HomeController.load (package:nyalcf_ui/views/home.dart:163)

[2024-12-27 16:14:27.118010][INFO]: Instance "_Controller" has been created
[2024-12-27 16:14:27.126949][INFO]: Instance "_Controller" has been initialized

@Muska-Ami
Copy link
Owner

暂时不清楚原因,我这边测试环境是正常的,晚点看看能不能复现

@Suisuroru Suisuroru changed the title [BUG]: 无法正常跳转授权 [BUG]: 无法正常完成授权 Dec 27, 2024
@Muska-Ami
Copy link
Owner

Maybe fix this issue: #224

@Suisuroru
Copy link
Author

这个问题在我的设备上仍然存在,我并不确定是否只有我的设备出现了此问题,因为似乎没有其他人有一致的问题
image

@Suisuroru
Copy link
Author

run.log
日志文件

@Muska-Ami
Copy link
Owner

貌似没有在日志中找到什么有效的信息,或许应该打开 DEBUG Logger 以获取更详细的日志

@Suisuroru
Copy link
Author

Suisuroru commented Jan 7, 2025 via email

@Muska-Ami
Copy link
Owner

请不要通过邮件附件,GitHub 并不会一并上传附件

@Suisuroru
Copy link
Author

Suisuroru commented Jan 7, 2025 via email

@Muska-Ami
Copy link
Owner

@Suisuroru 直接登录面板没有问题嘛?只看到了两个网络请求错误,没有找到什么其他有效的数据

@Suisuroru
Copy link
Author

面板的登陆无异常,只有启动器的登陆存在问题,网页授权也能正常完成

@Muska-Ami
Copy link
Owner

@Suisuroru 删除数据目录下的 shared_preferences.json 重试一下试试

@Suisuroru
Copy link
Author

Suisuroru commented Jan 7, 2025 via email

@Suisuroru Suisuroru changed the title [BUG]: 无法正常完成授权 [BUG]: 当账户的流量为无限时,无法完成授权登陆 Jan 7, 2025
@Muska-Ami
Copy link
Owner

此问题经排查为流量数值异常为 INF 导致,已超出设计范围,是一个上游 BUG,可行的解决方案:

  • 重置账户流量

此问题将被关闭,因为并非启动器本身导致

@Muska-Ami Muska-Ami closed this as not planned Won't fix, can't repro, duplicate, stale Jan 8, 2025
@Muska-Ami Muska-Ami added the upstream:上游 不是猫猫的错QWQ label Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug:漏洞 有些东西坏掉了 upstream:上游 不是猫猫的错QWQ
Projects
None yet
Development

No branches or pull requests

2 participants