BeyondDimension / BeyondDimension/SteamTools

🐛[BUG] 无法加速,报 StartProxyFail 错误

Open
#3,186 5 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

![image](https://github.com/BeyondDimension/SteamTools/assets/7546325/b9244a82-f7e1-4f9b-8b6b-bae4910bc82c)

报错日志:
```
2024-02-27 18:33:03.5377|Error|Toast|Notify Error | System.TypeInitializationException: The type initializer for 'Windows.UI.Notifications.ToastNotificationManager' threw an exception.
---> System.UnauthorizedAccessException: ClassFactory 无法供应请求的类

at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
at WinRT.BaseActivationFactory..ctor(String typeNamespace, String typeFullName)
at Windows.UI.Notifications.ToastNotificationManager..cctor()
--- End of inner exception stack trace ---
at Windows.UI.Notifications.ToastNotificationManager.get__objRef_global__Windows_UI_Notifications_IToastNotificationManagerStatics()
at Windows.UI.Notifications.ToastNotificationManager.CreateToastNotifier(String applicationId)
at Microsoft.Toolkit.Uwp.Notifications.ToastNotificationManagerCompat.CreateToastNotifier()
at Microsoft.Toolkit.Uwp.Notifications.ToastContentBuilder.Show(CustomizeToast customize)
at BD.WTTS.Services.Implementation.Windows10NotificationServiceImpl.BD.WTTS.Services.INotificationService.Notify(String text, NotificationType notificationType, Boolean autoCancel, String title, Entrance entrance, String requestUri)

```
- 程序版本:3.0.0-rc3

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the StartProxyFail report and the Windows10NotificationServiceImpl stack trace, especially ToastNotificationManager and ToastNotificationManagerCompat. Reproduce the acceleration failure on version 3.0.0-rc3, determine why startup fails, and verify that acceleration completes without the reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.