BeyondDimension / BeyondDimension/SteamTools

🐛[BUG] 账号切换无法启动steam

Open
#2,400 0 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

### 🐛 描述(Description)

手动打开steam可以正常打开,但是没打开steam时无法通过steam++打开steam,而在steam正在运行的时候尝试添加账户会出现将steam停止但无法启动steam的情况,在这之后再次手动打开steam会出现登录界面,但是就算登录成功在steam++账号切换界面还是不显示账号等信息。

### 📷 复现步骤(Steps to Reproduce)

1. steam未打开时尝试点击登录steam或添加steam账户
2. steam运行时尝试点击登录steam或添加steam账户

### 📄 日志信息(Log Information)

2022-12-28 22:55:27.4304|Error|SteamworksLocalApiS|Initialize Fail. | SAM.API.ClientInitializeException: failed to get Steam install path
at SAM.API.Client.Initialize(Int64 appId)
at System.Application.Services.Implementation.SteamworksLocalApiServiceImpl.Initialize()
2022-12-28 22:55:30.4773|Error|SteamworksLocalApiS|Initialize Fail. | SAM.API.ClientInitializeException: failed to create pipe
at SAM.API.Client.Initialize(Int64 appId)
at System.Application.Services.Implementation.SteamworksLocalApiServiceImpl.Initialize()
2022-12-28 22:57:29.0616|Error|System.Application.Services.Implementation.HttpServer.Middleware.RequestLoggingMiddleware|GET https://storage.live.com/users/0x46c88207b8869927/myprofile/expressionprofile/profilephoto:UserTileStatic/p responded 502 in 1755.3496 ms
System.Net.Http.HttpRequestException: Could not find any IP that can be successfully connected. (Unable to read data from the transport connection: 远程主机强迫关闭了一个现有的连接。.) (Unable to read data from the transport connection: 远程主机强迫关闭了一个现有的连接。.) (storage.live.com:443)
---> System.AggregateException: Could not find any IP that can be successfully connected. (Unable to read data from the transport connection: 远程主机强迫关闭了一个现有的连接。.) (Unable to read data from the transport connection: 远程主机强迫关闭了一个现有的连接。.)
---> System.IO.IOException: Unable to read data from the transport connection: 远程主机强迫关闭了一个现有的连接。.
---> System.Net.Sockets.SocketException (10054): 远程主机强迫关闭了一个现有的连接。
--- End of inner exception stack trace ---
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
at System.Net.Security.SslStream.g__InternalFillHandshakeBufferAsync|189_0[TIOAdapter](TIOAdapter adap, ValueTask`1 task, Int32 minSize)
at System.Net.Security.SslStream.ReceiveBlobAsync[TIOAdapter](TIOAdapter adapter)
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](TIOAdapter adapter, Boolean receiveFirst, Byte[] reAuthenticationData, Boolean isApm)
at System.Application.Services.Implementation.Http.ReverseProxyHttpClientHandler.ConnectAsync(SocketsHttpConnectionContext context, IPEndPoint ipEndPoint, CancellationToken cancellationToken)
at System.Application.Services.Implementation.Http.ReverseProxyHttpClientHandler.ConnectCallback(SocketsHttpConnectionContext context, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at System.Application.Services.Implementation.Http.ReverseProxyHttpClientHandler.ConnectCallback(SocketsHttpConnectionContext context, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
---> (Inner Exception #1) System.IO.IOException: Unable to read data from the transport connection: 远程主机强迫关闭了一个现有的连接。.
---> System.Net.Sockets.SocketException (10054): 远程主机强迫关闭了一个现有的连接。
--- End of inner exception stack trace ---
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
at System.Net.Security.SslStream.g__InternalFillHandshakeBufferAsync|189_0[TIOAdapter](TIOAdapter adap, ValueTask`1 task, Int32 minSize)
at System.Net.Security.SslStream.ReceiveBlobAsync[TIOAdapter](TIOAdapter adapter)
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](TIOAdapter adapter, Boolean receiveFirst, Byte[] reAuthenticationData, Boolean isApm)
at System.Application.Services.Implementation.Http.ReverseProxyHttpClientHandler.ConnectAsync(SocketsHttpConnectionContext context, IPEndPoint ipEndPoint, CancellationToken cancellationToken)
at System.Application.Services.Implementation.Http.ReverseProxyHttpClientHandler.ConnectCallback(SocketsHttpConnectionContext context, CancellationToken cancellationToken)<---

--- End of inner exception stack trace ---
at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(HttpRequestMessage request)
at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.GetHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
at System.Application.Services.Implementation.Http.ReverseProxyHttpClientHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Application.Services.Implementation.Http.ReverseProxyHttpClient.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at Yarp.ReverseProxy.Forwarder.HttpForwarder.SendAsync(HttpContext context, String destinationPrefix, HttpMessageInvoker httpClient, ForwarderRequestConfig requestConfig, HttpTransformer transformer) |
2022-12-28 23:04:36.0796|Error|SteamworksLocalApiS|Initialize Fail. | SAM.API.ClientInitializeException: failed to create pipe
at SAM.API.Client.Initialize(Int64 appId)
at System.Application.Services.Implementation.SteamworksLocalApiServiceImpl.Initialize()

### 🚑 基本信息(Basic Information)

- 程序版本(Program Version):2.8.6
- 系统版本号(OS Version): Windows 11 22H2 (OS内部版本 22621.963)
- 是否为应用商店版本(Whether it is a Store version): No

### 🖼 截图(Screenshots)

None

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce both account-switching paths on the reported Windows and program versions, then inspect the SteamworksLocalApiServiceImpl.Initialize stack traces and the SAM.API initialization errors. Compare behavior when Steam is closed versus already running, including whether account information returns after login. Done means Steam can be launched or reused through SteamTools and the account-switching view shows the account information.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.