BeyondDimension / BeyondDimension/SteamTools

🐛[BUG] Steam令牌导入点击“确认导入”没反应

Open
#3,494 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C#
Stars
26.8k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

### 🐛 描述

### 📄 日志信息
System.Text.Json.JsonReaderException: The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true. LineNumber: 0 | BytePositionInLine: 0.
> at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan`1 bytes)
> at System.Text.Json.Utf8JsonReader.Read()
> at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
> --- End of inner exception stack trace ---
> at System.Text.Json.ThrowHelper.ReThrowWithPath(ReadStack& state, JsonReaderException ex)
> at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
> at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan`1 utf8Json, JsonTypeInfo`1 jsonTypeInfo, Nullable`1 actualByteCount)
> at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan`1 json, JsonTypeInfo`1 jsonTypeInfo)
> at System.Text.Json.JsonSerializer.Deserialize[TValue](String json, JsonTypeInfo`1 jsonTypeInfo)
> at BD.WTTS.UI.ViewModels.SteamGuardImportPageViewModel.Import()
> 2024-09-24 12:54:06.8905|Error|Toast|Import Error | System.Text.Json.JsonException: The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
> ---> System.Text.Json.JsonReaderException: The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true. LineNumber: 0 | BytePositionInLine: 0.
> at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan`1 bytes)
> at System.Text.Json.Utf8JsonReader.Read()
> at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
> --- End of inner exception stack trace ---
> at System.Text.Json.ThrowHelper.ReThrowWithPath(ReadStack& state, JsonReaderException ex)
> at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
> at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan`1 utf8Json, JsonTypeInfo`1 jsonTypeInfo, Nullable`1 actualByteCount)
> at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan`1 json, JsonTypeInfo`1 jsonTypeInfo)
> at System.Text.Json.JsonSerializer.Deserialize[TValue](String json, JsonTypeInfo`1 jsonTypeInfo)
> at BD.WTTS.UI.ViewModels.SteamGuardImportPageViewModel.Import()
> 2024-09-24 12:54:07.0664|Error|Toast|Import Error | System.Text.Json.JsonException: The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
> ---> System.Text.Json.JsonReaderException: The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true. LineNumber: 0 | BytePositionInLine: 0.
> at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan`1 bytes)
> at System.Text.Json.Utf8JsonReader.Read()
> at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
> --- End of inner exception stack trace ---
> at System.Text.Json.ThrowHelper.ReThrowWithPath(ReadStack& state, JsonReaderException ex)
> at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
> at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan`1 utf8Json, JsonTypeInfo`1 jsonTypeInfo, Nullable`1 actualByteCount)
> at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan`1 json, JsonTypeInfo`1 jsonTypeInfo)
> at System.Text.Json.JsonSerializer.Deserialize[TValue](String json, JsonTypeInfo`1 jsonTypeInfo)
> at BD.WTTS.UI.ViewModels.SteamGuardImportPageViewModel.Import()
> 2024-09-24 12:55:43.3992|Error|Toast|Import Error | System.ArgumentNullException: Value cannot be null. (Parameter 'PhoneImportUuid')
> at System.ObjectExtensions.Throw(String paramName)
> at BD.WTTS.UI.ViewModels.SteamGuardImportPageViewModel.Import()
> 2024-09-24 12:55:48.9218|Error|Toast|Import Error | System.ArgumentNullException: Value cannot be null. (Parameter 'ImportAuthNewName')
> at System.ObjectExtensions.Throw(String paramName)
> at BD.WTTS.UI.ViewModels.SteamGuardImportPageViewModel.Import()
> 2024-09-24 12:55:56.8798|Error|Toast|Import Error | System.Text.Json.JsonException: ',' is invalid after a single JSON value. Expected end of data. Path: $ | LineNumber: 0 | BytePositionInLine: 410.
> ---> System.Text.Json.JsonReaderException: ',' is invalid after a single JSON value. Expected end of data. LineNumber: 0 | BytePositionInLine: 410.
> at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan`1 bytes)
> at System.Text.Json.Utf8JsonReader.ConsumeNextToken(Byte marker)
> at System.Text.Json.Utf8JsonReader.ReadSingleSegment()
> at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
> --- End of inner exception stack trace ---
> at System.Text.Json.ThrowHelper.ReThrowWithPath(ReadStack& state, JsonReaderException ex)
> at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
> at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan`1 utf8Json, JsonTypeInfo`1 jsonTypeInfo, Nullable`1 actualByteCount)
> at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan`1 json, JsonTypeInfo`1 jsonTypeInfo)
> at System.Text.Json.JsonSerializer.Deserialize[TValue](String json, JsonTypeInfo`1 jsonTypeInfo)
> at BD.WTTS.UI.ViewModels.SteamGuardImportPageViewModel.Import()
> 2024-09-24 12:56:01.3851|Error|Toast|Import Error | System.Text.Json.JsonException: ',' is invalid after a single JSON value. Expected end of data. Path: $ | LineNumber: 0 | BytePositionInLine: 410.
> ---> System.Text.Json.JsonReaderException: ',' is invalid after a single JSON value. Expected end of data. LineNumber: 0 | BytePositionInLine: 410.
> at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan`1 bytes)
> at System.Text.Json.Utf8JsonReader.ConsumeNextToken(Byte marker)
> at System.Text.Json.Utf8JsonReader.ReadSingleSegment()
> at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
> --- End of inner exception stack trace ---
> at System.Text.Json.ThrowHelper.ReThrowWithPath(ReadStack& state, JsonReaderException ex)
> at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
> at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan`1 utf8Json, JsonTypeInfo`1 jsonTypeInfo, Nullable`1 actualByteCount)
> at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan`1 json, JsonTypeInfo`1 jsonTypeInfo)
> at System.Text.Json.JsonSerializer.Deserialize[TValue](String json, JsonTypeInfo`1 jsonTypeInfo)
> at BD.WTTS.UI.ViewModels.SteamGuardImportPageViewModel.Import()
> 2024-09-24 12:58:13.5908|Error|Toast|Import Error | System.ApplicationException: no shared_secret
> at BD.WTTS.UI.ViewModels.SteamGuardImportPageViewModel.Import()
> 2024-09-24 12:58:13.7721|Error|Toast|Import Error | System.ApplicationException: no shared_secret
> at BD.WTTS.UI.ViewModels.SteamGuardImportPageViewModel.Import()
> 2024-09-24 12:58:13.9763|Error|Toast|Import Error | System.ApplicationException: no shared_secret
> at BD.WTTS.UI.ViewModels.SteamGuardImportPageViewModel.Import()
> 2024-09-24 12:58:14.1642|Error|Toast|Import Error | System.ApplicationException: no shared_secret
> at BD.WTTS.UI.ViewModels.SteamGuardImportPageViewModel.Import()
> 2024-09-24 12:58:14.3268|Error|Toast|Import Error | System.ApplicationException: no shared_secret
> at BD.WTTS.UI.ViewModels.SteamGuardImportPageViewModel.Import()
> 2024-09-24 12:58:14.4809|Error|Toast|Import Error | System.ApplicationException: no shared_secret
> at BD.WTTS.UI.ViewModels.SteamGuardImportPageViewModel.Import()
> 2024-09-24 12:58:14.6602|Error|Toast|Import Error | System.ApplicationException: no shared_secret
> at BD.WTTS.UI.ViewModels.SteamGuardImportPageViewModel.Import()
> 2024-09-24 12:58:14.8222|Error|Toast|Import Error | System.ApplicationException: no shared_secret
> at BD.WTTS.UI.ViewModels.SteamGuardImportPageViewModel.Import()
> 2024-09-24 12:58:14.9782|Error|Toast|Import Error | System.ApplicationException: no shared_secret
> at BD.WTTS.UI.ViewModels.SteamGuardImportPageViewModel.Import()
> 2024-09-24 12:58:15.1528|Error|Toast|Import Error | System.ApplicationException: no shared_secret
> at BD.WTTS.UI.ViewModels.SteamGuardImportPageViewModel.Import()
> 2024-09-24 12:58:15.3162|Error|Toast|Import Error | System.ApplicationException: no shared_secret
> at BD.WTTS.UI.ViewModels.SteamGuardImportPageViewModel.Import()
> 2024-09-24 12:58:15.4964|Error|Toast|Import Error | System.ApplicationException: no shared_secret
> at BD.WTTS.UI.ViewModels.SteamGuardImportPageViewModel.Import()
> 2024-09-24 12:58:15.6724|Error|Toast|Import Error | System.ApplicationException: no shared_secret
> at BD.WTTS.UI.ViewModels.SteamGuardImportPageViewModel.Import()
> 2024-09-24 12:58:15.8404|Error|Toast|Import Error | System.ApplicationException: no shared_secret
> at BD.WTTS.UI.ViewModels.SteamGuardImportPageViewModel.Import()
> 2024-09-24 12:58:16.0206|Error|Toast|Import Error | System.ApplicationException: no shared_secret
> at BD.WTTS.UI.ViewModels.SteamGuardImportPageViewModel.Import()
> 2024-09-24 12:58:16.1807|Error|Toast|Import Error | System.ApplicationException: no shared_secret
> at BD.WTTS.UI.ViewModels.SteamGuardImportPageViewModel.Import()
> 2024-09-24 12:58:16.3165|Error|Toast|Import Error | System.ApplicationException: no shared_secret
> at BD.WTTS.UI.ViewModels.SteamGuardImportPageViewModel.Import()
> 2024-09-24 12:58:16.5323|Error|Toast|Import Error | System.ApplicationException: no shared_secret
> at BD.WTTS.UI.ViewModels.SteamGuardImportPageViewModel.Import()
> 2024-09-24 12:58:16.7283|Error|Toast|Import Error | System.ApplicationException: no shared_secret
> at BD.WTTS.UI.ViewModels.SteamGuardImportPageViewModel.Import()
> 2024-09-24 12:58:39.4013|Error|Toast|Import Error | System.ApplicationException: no shared_secret
> at BD.WTTS.UI.ViewModels.SteamGuardImportPageViewModel.Import()
> 2024-09-24 12:58:40.1977|Error|Toast|Import Error | System.ApplicationException: no shared_secret
> at BD.WTTS.UI.ViewModels.SteamGuardImportPageViewModel.Import()
> 2024-09-24 12:58:40.4016|Error|Toast|Import Error | System.ApplicationException: no shared_secret
> at BD.WTTS.UI.ViewModels.SteamGuardImportPageViewModel.Import()
> 2024-09-24 12:58:40.5669|Error|Toast|Import Error | System.ApplicationException: no shared_secret
> at BD.WTTS.UI.ViewModels.SteamGuardImportPageViewModel.Import()
> 2024-09-24 12:59:04.9139|Error|Toast|Import Error | System.ApplicationException: no shared_secret
> at BD.WTTS.UI.ViewModels.SteamGuardImportPageViewModel.Import()
> 2024-09-24 12:59:05.6598|Error|Toast|Import Error | System.ApplicationException: no shared_secret
> at BD.WTTS.UI.ViewModels.SteamGuardImportPageViewModel.Import()
> 2024-09-24 12:59:05.8120|Error|Toast|Import Error | System.ApplicationException: no shared_secret
> at BD.WTTS.UI.ViewModels.SteamGuardImportPageViewModel.Import()
> 2024-09-24 13:02:07.9832|Error|Toast|Import Error | System.ApplicationException: no shared_secret
> at BD.WTTS.UI.ViewModels.SteamGuardImportPageViewModel.Import()
> 2024-09-24 13:02:08.1356|Error|Toast|Import Error | System.ApplicationException: no shared_secret
> at BD.WTTS.UI.ViewModels.SteamGuardImportPageViewModel.Import()
> 2024-09-24 13:02:08.2976|Error|Toast|Import Error | System.ApplicationException: no shared_secret
> at BD.WTTS.UI.ViewModels.SteamGuardImportPageViewModel.Import()
> 2024-09-24 13:02:08.4461|Error|Toast|Import Error | System.ApplicationException: no shared_secret
> at BD.WTTS.UI.ViewModels.SteamGuardImportPageViewModel.Import()
> 2024-09-24 13:04:39.7599|Error|Toast|Import Error | System.ArgumentNullException: Value cannot be null. (Parameter 'PhoneImportUuid')
> at System.ObjectExtensions.Throw(String paramName)
> at BD.WTTS.UI.ViewModels.SteamGuardImportPageViewModel.Import()
> 2024-09-24 13:06:53.1547|Error|Toast|Import Error | System.ApplicationException: no shared_secret
> at BD.WTTS.UI.ViewModels.SteamGuardImportPageViewModel.Import()
> 2024-09-24 13:06:53.3147|Error|Toast|Import Error | System.ApplicationException: no shared_secret
> at BD.WTTS.UI.ViewModels.SteamGuardImportPageViewModel.Import()
> 2024-09-24 13:09:02.5951|Error|Toast|Import Error | System.ApplicationException: no shared_secret
> at BD.WTTS.UI.ViewModels.SteamGuardImportPageViewModel.Import()
> 2024-09-24 13:09:14.2373|Error|Toast|Import Error | System.ApplicationException: no shared_secret
> at BD.WTTS.UI.ViewModels.SteamGuardImportPageViewModel.Import()
> 2024-09-24 13:09:14.9352|Error|Toast|Import Error | System.ApplicationException: no shared_secret
> at BD.WTTS.UI.ViewModels.SteamGuardImportPageViewModel.Import()
> 2024-09-24 13:09:15.1013|Error|Toast|Import Error | System.ApplicationException: no shared_secret
> at BD.WTTS.UI.ViewModels.SteamGuardImportPageViewModel.Import()
> 2024-09-24 13:09:15.2619|Error|Toast|Import Error | System.ApplicationException: no shared_secret
> at BD.WTTS.UI.ViewModels.SteamGuardImportPageViewModel.Import()
> -->

### 🖼 截图

### 🚑 其他信息

- 版本 Windows 11 专业工作站版 Insider Preview
- 版本号 Dev
- 安装日期 ‎2024/‎8/‎31
- 评估到期日期 ‎2025/‎9/‎16 5:16
- 操作系统版本 27695.1000
- 功能包 Windows Feature Experience Pack 1000.26100.19.0

- 下载渠道:Github
- 程序版本:3.0.0-rc.10

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in BD.WTTS.UI.ViewModels.SteamGuardImportPageViewModel.Import(), using the reported PhoneImportUuid, no_shared_secret, and empty-JSON errors to trace Steam token import. Reproduce the import flow and verify that clicking “Confirm Import” completes successfully without these errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.