BeyondDimension / BeyondDimension/SteamTools
🐛[BUG] 内置 Steam 令牌功能无法通过 Steam 账户导入令牌
- Dominant language
- C#
- Stars
- 26.8k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
## 请认真检查以下清单中的每一项
- [ √] 已经搜索过,没有发现类似的 issue
- [ √] 已经搜索过文档,没有发现相关内容
- [ √] 已经尝试使用过最新版,问题依旧存在
- [ √] 使用的是官方版本(未替换及修改过安装目录程序文件)
### 🐛 描述
当我在尝试通过 “Steam 账号导入” 功能导入 Steam 令牌时,提示
"Error enrolling new authenticator
The remote server returned an error: (404) Not Found.
The remote server returned an error: (404) Not Found."
已开启加速器且非共享加速器;确定节点可以与 Steam 伺服器通讯
### 📷 复现步骤
1. 启动 Watt Tookit
2. 在“令牌”页面点击“新增”
3. 通过 ”Steam 账号导入“ 导入令牌
### 📄 日志信息
WinAuth.WinAuthInvalidRequestException: The remote server returned an error: (404) Not Found.
---> System.Net.WebException: The remote server returned an error: (404) Not Found.
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.WebRequest.<>c.b__68_2(IAsyncResult iar)
at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
--- End of stack trace from previous location ---
at System.Application.Models.GAPAuthenticatorValueDTO.SteamAuthenticator.Request(String url, String method, NameValueCollection data, CookieContainer cookies, NameValueCollection headers, Int32 timeout)
--- End of inner exception stack trace ---
at System.Application.Models.GAPAuthenticatorValueDTO.SteamAuthenticator.Request(String url, String method, NameValueCollection data, CookieContainer cookies, NameValueCollection headers, Int32 timeout)
at System.Application.Models.GAPAuthenticatorValueDTO.SteamAuthenticator.Enroll(EnrollState state)
--- End of inner exception stack trace ---
at System.Application.Models.GAPAuthenticatorValueDTO.SteamAuthenticator.Enroll(EnrollState state)
at System.Application.UI.ViewModels.AddAuthWindowViewModel.LoginSteamImport()
2023-04-23 00:44:02.1348|Error|AddAuthWindowViewModel|LoginSteamImport | WinAuth.WinAuthInvalidEnrollResponseException: Error enrolling new authenticator
---> WinAuth.WinAuthInvalidRequestException: The remote server returned an error: (404) Not Found.
---> System.Net.WebException: The remote server returned an error: (404) Not Found.
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.WebRequest.<>c.b__68_2(IAsyncResult iar)
at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
--- End of stack trace from previous location ---
at System.Application.Models.GAPAuthenticatorValueDTO.SteamAuthenticator.Request(String url, String method, NameValueCollection data, CookieContainer cookies, NameValueCollection headers, Int32 timeout)
--- End of inner exception stack trace ---
at System.Application.Models.GAPAuthenticatorValueDTO.SteamAuthenticator.Request(String url, String method, NameValueCollection data, CookieContainer cookies, NameValueCollection headers, Int32 timeout)
at System.Application.Models.GAPAuthenticatorValueDTO.SteamAuthenticator.Enroll(EnrollState state)
--- End of inner exception stack trace ---
at System.Application.Models.GAPAuthenticatorValueDTO.SteamAuthenticator.Enroll(EnrollState state)
at System.Application.UI.ViewModels.AddAuthWindowViewModel.LoginSteamImport()
2023-04-23 00:44:10.4634|Error|AddAuthWindowViewModel|LoginSteamImport | WinAuth.WinAuthInvalidEnrollResponseException: Error enrolling new authenticator
---> WinAuth.WinAuthInvalidRequestException: The remote server returned an error: (404) Not Found.
---> System.Net.WebException: The remote server returned an error: (404) Not Found.
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.WebRequest.<>c.b__68_2(IAsyncResult iar)
at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
--- End of stack trace from previous location ---
at System.Application.Models.GAPAuthenticatorValueDTO.SteamAuthenticator.Request(String url, String method, NameValueCollection data, CookieContainer cookies, NameValueCollection headers, Int32 timeout)
--- End of inner exception stack trace ---
at System.Application.Models.GAPAuthenticatorValueDTO.SteamAuthenticator.Request(String url, String method, NameValueCollection data, CookieContainer cookies, NameValueCollection headers, Int32 timeout)
at System.Application.Models.GAPAuthenticatorValueDTO.SteamAuthenticator.Enroll(EnrollState state)
--- End of inner exception stack trace ---
at System.Application.Models.GAPAuthenticatorValueDTO.SteamAuthenticator.Enroll(EnrollState state)
at System.Application.UI.ViewModels.AddAuthWindowViewModel.LoginSteamImport()
2023-04-23 00:44:40.9430|Error|AddAuthWindowViewModel|LoginSteamImport | WinAuth.WinAuthInvalidEnrollResponseException: Error enrolling new authenticator
---> WinAuth.WinAuthInvalidRequestException: The remote server returned an error: (404) Not Found.
---> System.Net.WebException: The remote server returned an error: (404) Not Found.
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.WebRequest.<>c.b__68_2(IAsyncResult iar)
at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
--- End of stack trace from previous location ---
at System.Application.Models.GAPAuthenticatorValueDTO.SteamAuthenticator.Request(String url, String method, NameValueCollection data, CookieContainer cookies, NameValueCollection headers, Int32 timeout)
--- End of inner exception stack trace ---
at System.Application.Models.GAPAuthenticatorValueDTO.SteamAuthenticator.Request(String url, String method, NameValueCollection data, CookieContainer cookies, NameValueCollection headers, Int32 timeout)
at System.Application.Models.GAPAuthenticatorValueDTO.SteamAuthenticator.Enroll(EnrollState state)
--- End of inner exception stack trace ---
at System.Application.Models.GAPAuthenticatorValueDTO.SteamAuthenticator.Enroll(EnrollState state)
at System.Application.UI.ViewModels.AddAuthWindowViewModel.LoginSteamImport()
2023-04-23 00:44:44.1230|Error|AddAuthWindowViewModel|LoginSteamImport | WinAuth.WinAuthInvalidEnrollResponseException: Error enrolling new authenticator
---> WinAuth.WinAuthInvalidRequestException: The remote server returned an error: (404) Not Found.
---> System.Net.WebException: The remote server returned an error: (404) Not Found.
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.WebRequest.<>c.b__68_2(IAsyncResult iar)
at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
--- End of stack trace from previous location ---
at System.Application.Models.GAPAuthenticatorValueDTO.SteamAuthenticator.Request(String url, String method, NameValueCollection data, CookieContainer cookies, NameValueCollection headers, Int32 timeout)
--- End of inner exception stack trace ---
at System.Application.Models.GAPAuthenticatorValueDTO.SteamAuthenticator.Request(String url, String method, NameValueCollection data, CookieContainer cookies, NameValueCollection headers, Int32 timeout)
at System.Application.Models.GAPAuthenticatorValueDTO.SteamAuthenticator.Enroll(EnrollState state)
--- End of inner exception stack trace ---
at System.Application.Models.GAPAuthenticatorValueDTO.SteamAuthenticator.Enroll(EnrollState state)
at System.Application.UI.ViewModels.AddAuthWindowViewModel.LoginSteamImport()
2023-04-23 01:24:02.4954|Error|AddAuthWindowViewModel|LoginSteamImport | WinAuth.WinAuthInvalidEnrollResponseException: Error enrolling new authenticator
---> WinAuth.WinAuthInvalidRequestException: The remote server returned an error: (404) Not Found.
---> System.Net.WebException: The remote server returned an error: (404) Not Found.
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.WebRequest.<>c.b__68_2(IAsyncResult iar)
at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
--- End of stack trace from previous location ---
at System.Application.Models.GAPAuthenticatorValueDTO.SteamAuthenticator.Request(String url, String method, NameValueCollection data, CookieContainer cookies, NameValueCollection headers, Int32 timeout)
--- End of inner exception stack trace ---
at System.Application.Models.GAPAuthenticatorValueDTO.SteamAuthenticator.Request(String url, String method, NameValueCollection data, CookieContainer cookies, NameValueCollection headers, Int32 timeout)
at System.Application.Models.GAPAuthenticatorValueDTO.SteamAuthenticator.Enroll(EnrollState state)
--- End of inner exception stack trace ---
at System.Application.Models.GAPAuthenticatorValueDTO.SteamAuthenticator.Enroll(EnrollState state)
at System.Application.UI.ViewModels.AddAuthWindowViewModel.LoginSteamImport()
`
-->
### 🖼 截图

### 🚑 其他信息
- 处理器体系结构: x64
- 系统版本号: Windows 11 Professional 22621.1413
- 下载渠道: GitHub
- 程序版本:2.8.6
- 是否包含独立运行时:包含
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at AddAuthWindowViewModel.LoginSteamImport and follow GAPAuthenticatorValueDTO.SteamAuthenticator.Enroll and Request while reproducing the Steam account import flow that returns 404. Done means Steam token import completes without the enrollment error; the issue names no test file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- authentication
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100