SteamTools
SteamTools copied to clipboard
🐛[BUG] 报错提示框序列化报错
请认真检查以下清单中的每一项
- [x] 已经搜索过,没有发现类似的 issue
- [x] 已经搜索过文档,没有发现相关内容
- [x] 已经尝试使用过最新版,问题依旧存在
- [x] 使用的是官方版本(未替换及修改过安装目录程序文件)
🐛 描述
在 Watt Toolkit 3.1.0版本中,我遇到了issue #4150 ,但是报错框只有短短的:
OnStartedShowToastReturnProxyStatus Error
Serialization and deserialization of
'System.Reflection.MethodBase' instances is not supported.
Path: $.Exception.TargetSite.
我降级到旧的 3.0.0-rc16版本,报错框很长一串:
System.Exception:以一种访问权限不允许的方式做了一个访问套接字的尝试。
at
System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error,BooleandisconnectOnFailure,String callerName)
at System.Net.Sockets.Socket.DoBind(EndPoint
endPointSnapshot,SocketAddress socketAddress)at System.Net.Sockets.Socket.Bind(EndPoint localEP)at
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportOptions.CreateDefaultBoundListenSocket(EndPoint endpoint)
at
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.Bind()
at
MicrosoftAspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportFactory.BindAsync(EndPoint endpoint,CancellationToken cancellationToken)
at
Microsoft.AspNetCore.Server.Kestrel.Core.Internal.nfrastructure.TransportManager.BindAsync(EndPoint endPoint,ConnectionDelegate connectionDelegate,EndpointConfigendpointConfig,CancellationToken cancellationToken)at
Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerlmpl.>c_DisplayClass28_0`1.<<StartAsync>g_OnBind|0>d.MoveNext()
---End of stack trace from previous location ---at
Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindEndpointAsync(ListenOptions endpoint,AddressBindContext context,CancellationTokencancellationToken)
at
MicrosoftAspNetCore.Server.Kestrel.Core.ListenOptions.BindAsync(AddressBindContext context,CancellationTokencancellationToken)
at
Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.EndpointsStrategy.BindAsync(AddressBindContextcontext,CancellationToken cancellationToken)at
Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerlmpl.BindAsync(CancellationToken cancellationToken)at
Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerlmpl.StartAsync[TContext](IHttpApplication`1 application,CancellationToken cancellationToken)
at
Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
at
Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>b_14_1(IHostedService service,CancellationToken token)at
Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services,CancellationToken token,Booleanconcurrent,Boolean abortOnFirstException,List`1exceptions,Func3 operation)
at
Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)at
Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host,CancellationToken token)at
Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host,CancellationToken token)
at
Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(IHost host)
at
BD.WTTS.Services.Implementation.YarpReverseProxyServicelmpl.<>c_DisplayClass19_0.<StartProxyCore>b_30
📷 复现步骤
复现issue #4150
- 确保Windows 版本号为 26300.9818
- 确保启动模式为host模式,并以管理员身份允许
- 勾选或不勾选加速项都会报错,最后点击“一键加速”
📄 日志信息
Accelerator/nlog-all-2026-10-31-3.0.0rc16.log Accelerator/nlog-all-2026-10-31-3.1.0.log
nlog-all-2026-10-31-3.0.0rc16.log nlog-all-2026-10-31-3.1.0.log
🖼 截图
3.1.0版本:
3.0.0rc16版本:
🚑 其他信息
- 处理器体系结构:x64
- 系统版本号:Windows 11 26H2 26300.9818
- 下载渠道:Gitee
- 程序版本:3.1.0
- 是否包含独立运行时:是
https://github.com/BeyondDimension/SteamTools/issues/4150#issuecomment-6558009558
已经修复。