MaaAssistantArknights / MaaAssistantArknights/MaaUnified

telegram推送无效

Open Beginner friendly
#47 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
8
Forks
10
PR merge metrics
No merged PRs in 30d

Description

Image
感觉可能是拼url的时候出问题了

```
时间: 2026-07-23T20:06:13.1571836+00:00
上下文: App.DispatcherUnhandledException
错误码: UiError
消息: Global exception (handled) in App.DispatcherUnhandledException: NotSupportedException: The 'bot8282594637' scheme is not supported.
详情: Timestamp: 2026-07-23T20:06:13.1266749+00:00
Context: App.DispatcherUnhandledException
Handled: True
IsTerminating: False
ExecutableBaseDirectory: /home/sinofine/下载/MAAUnified-linux-x64(1)/MAAUnified-v6.14.2-5-gbef222bb22-linux-x64/
RuntimeBaseDirectory: /home/sinofine/下载/MAAUnified-linux-x64(1)/MAAUnified-v6.14.2-5-gbef222bb22-linux-x64
ErrorLog: /home/sinofine/下载/MAAUnified-linux-x64(1)/MAAUnified-v6.14.2-5-gbef222bb22-linux-x64/debug/avalonia-ui-errors.log
EventLog: /home/sinofine/下载/MAAUnified-linux-x64(1)/MAAUnified-v6.14.2-5-gbef222bb22-linux-x64/debug/avalonia-ui-events.log
PlatformLog: /home/sinofine/下载/MAAUnified-linux-x64(1)/MAAUnified-v6.14.2-5-gbef222bb22-linux-x64/debug/avalonia-platform-events.log

System.NotSupportedException: The 'bot8282594637' scheme is not supported.
at System.Net.Http.SocketsHttpHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at System.Net.Http.HttpClient.g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
at MAAUnified.Application.Services.Features.NotificationProviderFeatureService.DefaultSendHttpAsync(HttpRequestMessage request, CancellationToken cancellationToken) in /home/runner/work/MaaAssistantArknights/MaaAssistantArknights/src/MAAUnified/Application/Services/Features/NotificationProviderFeatureService.cs:line 376
at MAAUnified.Application.Services.Features.NotificationProviderFeatureService.SendRequestAsync(HttpRequestMessage request, String provider, CancellationToken cancellationToken, Boolean inspectJsonResponse) in /home/runner/work/MaaAssistantArknights/MaaAssistantArknights/src/MAAUnified/Application/Services/Features/NotificationProviderFeatureService.cs:line 810
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at MAAUnified.Application.Services.Features.NotificationProviderFeatureService.SendRequestAsync(HttpRequestMessage request, String provider, CancellationToken cancellationToken, Boolean inspectJsonResponse)
at MAAUnified.Application.Services.Features.NotificationProviderFeatureService.SendJsonPostAsync(Uri uri, String json, String provider, CancellationToken cancellationToken) in /home/runner/work/MaaAssistantArknights/MaaAssistantArknights/src/MAAUnified/Application/Services/Features/NotificationProviderFeatureService.cs:line 786
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at MAAUnified.Application.Services.Features.NotificationProviderFeatureService.SendJsonPostAsync(Uri uri, String json, String provider, CancellationToken cancellationToken)
at MAAUnified.Application.Services.Features.NotificationProviderFeatureService.SendTelegramAsync(IReadOnlyDictionary`2 parameters, String title, String message, CancellationToken cancellationToken) in /home/runner/work/MaaAssistantArknights/MaaAssistantArknights/src/MAAUnified/Application/Services/Features/NotificationProviderFeatureService.cs:line 554
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at MAAUnified.Application.Services.Features.NotificationProviderFeatureService.SendTelegramAsync(IReadOnlyDictionary`2 parameters, String title, String message, CancellationToken cancellationToken)
at MAAUnified.Application.Services.Features.NotificationProviderFeatureService.SendByDefaultAsync(String provider, IReadOnlyDictionary`2 parameters, String title, String message, CancellationToken cancellationToken) in /home/runner/work/MaaAssistantArknights/MaaAssistantArknights/src/MAAUnified/Application/Services/Features/NotificationProviderFeatureService.cs:line 392
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at MAAUnified.Application.Services.Features.NotificationProviderFeatureService.SendByDefaultAsync(String provider, IReadOnlyDictionary`2 parameters, String title, String message, CancellationToken cancellationToken)
at MAAUnified.Application.Services.Features.NotificationProviderFeatureService.SendTestAsync(NotificationProviderTestRequest request, CancellationToken cancellationToken) in /home/runner/work/MaaAssistantArknights/MaaAssistantArknights/src/MAAUnified/Application/Services/Features/NotificationProviderFeatureService.cs:line 136
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at MAAUnified.Application.Services.Features.NotificationProviderFeatureService.SendTestAsync(NotificationProviderTestRequest request, CancellationToken cancellationToken)
at MAAUnified.App.ViewModels.Settings.SettingsPageViewModel.TestExternalNotificationAsync(CancellationToken cancellationToken) in /home/runner/work/MaaAssistantArknights/MaaAssistantArknights/src/MAAUnified/App/ViewModels/Settings/SettingsPageViewModel.RemoteNotification.cs:line 266
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at MAAUnified.App.ViewModels.Settings.SettingsPageViewModel.TestExternalNotificationAsync(CancellationToken cancellationToken)
at MAAUnified.App.Features.Settings.ExternalNotificationSettingsView.OnTestSendClick(Object sender, RoutedEventArgs e) in /home/runner/work/MaaAssistantArknights/MaaAssistantArknights/src/MAAUnified/App/Features/Settings/ExternalNotificationSettingsView.axaml.cs:line 36
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at MAAUnified.App.Features.Settings.ExternalNotificationSettingsView.OnTestSendClick(Object sender, RoutedEventArgs e)
at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Avalonia.Interactivity.EventRoute.RaiseEventImpl(RoutedEventArgs e)
at Avalonia.Interactivity.EventRoute.RaiseEvent(Interactive source, RoutedEventArgs e)
at Avalonia.Interactivity.Interactive.RaiseEvent(RoutedEventArgs e)
at Avalonia.Controls.Button.OnClick()
at Avalonia.Controls.Button.OnPointerReleased(PointerReleasedEventArgs e)
at Avalonia.Input.InputElement.<>c.<.cctor>b__33_9(InputElement x, PointerReleasedEventArgs e)
at Avalonia.Reactive.LightweightObservableBase`1.PublishNext(T value)
at Avalonia.Interactivity.EventRoute.RaiseEventImpl(RoutedEventArgs e)
at Avalonia.Interactivity.EventRoute.RaiseEvent(Interactive source, RoutedEventArgs e)
at Avalonia.Interactivity.Interactive.RaiseEvent(RoutedEventArgs e)
at Avalonia.Input.MouseDevice.MouseUp(IMouseDevice device, UInt64 timestamp, IInputRoot root, Point p, PointerPointProperties props, KeyModifiers inputModifiers, IInputElement hitTest)
at Avalonia.Input.MouseDevice.ProcessRawEvent(RawPointerEventArgs e)
at Avalonia.Controls.TopLevel.<>c.b__150_0(Object state)
at Avalonia.Threading.Dispatcher.Send(SendOrPostCallback action, Object arg, Nullable`1 priority)
at Avalonia.Controls.TopLevel.HandleInput(RawInputEventArgs e)
at Avalonia.X11.X11PlatformThreading.RunLoop(CancellationToken cancellationToken)
at Avalonia.Threading.DispatcherFrame.Run(IControlledDispatcherImpl impl)
at Avalonia.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
at Avalonia.Threading.Dispatcher.MainLoop(CancellationToken cancellationToken)
at Avalonia.Controls.ApplicationLifetimes.ClassicDesktopStyleApplicationLifetime.StartCore(String[] args)
at Avalonia.Controls.ApplicationLifetimes.ClassicDesktopStyleApplicationLifetime.Start(String[] args)
at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime(AppBuilder builder, String[] args, Action`1 lifetimeBuilder)
at MAAUnified.App.Program.Main(String[] args) in /home/runner/work/MaaAssistantArknights/MaaAssistantArknights/src/MAAUnified/App/Program.cs:line 102
--- End of stack trace from previous location ---
at System.Net.Http.HttpClient.g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
at MAAUnified.Application.Services.Features.NotificationProviderFeatureService.SendRequestAsync(HttpRequestMessage request, String provider, CancellationToken cancellationToken, Boolean inspectJsonResponse) in /home/runner/work/MaaAssistantArknights/MaaAssistantArknights/src/MAAUnified/Application/Services/Features/NotificationProviderFeatureService.cs:line 810
at MAAUnified.Application.Services.Features.NotificationProviderFeatureService.SendJsonPostAsync(Uri uri, String json, String provider, CancellationToken cancellationToken) in /home/runner/work/MaaAssistantArknights/MaaAssistantArknights/src/MAAUnified/Application/Services/Features/NotificationProviderFeatureService.cs:line 786
at MAAUnified.Application.Services.Features.NotificationProviderFeatureService.SendTelegramAsync(IReadOnlyDictionary`2 parameters, String title, String message, CancellationToken cancellationToken) in /home/runner/work/MaaAssistantArknights/MaaAssistantArknights/src/MAAUnified/Application/Services/Features/NotificationProviderFeatureService.cs:line 554
at MAAUnified.Application.Services.Features.NotificationProviderFeatureService.SendByDefaultAsync(String provider, IReadOnlyDictionary`2 parameters, String title, String message, CancellationToken cancellationToken) in /home/runner/work/MaaAssistantArknights/MaaAssistantArknights/src/MAAUnified/Application/Services/Features/NotificationProviderFeatureService.cs:line 392
at MAAUnified.Application.Services.Features.NotificationProviderFeatureService.SendTestAsync(NotificationProviderTestRequest request, CancellationToken cancellationToken) in /home/runner/work/MaaAssistantArknights/MaaAssistantArknights/src/MAAUnified/Application/Services/Features/NotificationProviderFeatureService.cs:line 136
at MAAUnified.App.ViewModels.Settings.SettingsPageViewModel.TestExternalNotificationAsync(CancellationToken cancellationToken) in /home/runner/work/MaaAssistantArknights/MaaAssistantArknights/src/MAAUnified/App/ViewModels/Settings/SettingsPageViewModel.RemoteNotification.cs:line 266
at MAAUnified.App.Features.Settings.ExternalNotificationSettingsView.OnTestSendClick(Object sender, RoutedEventArgs e) in /home/runner/work/MaaAssistantArknights/MaaAssistantArknights/src/MAAUnified/App/Features/Settings/ExternalNotificationSettingsView.axaml.cs:line 36
at System.Threading.Tasks.Task.<>c.b__124_0(Object state)
at Avalonia.Threading.SendOrPostCallbackDispatcherOperation.InvokeCore()
建议: 可以先检查当前输入或配置,修正后重试;如仍失败,可复制错误详情并通过 IssueReport 上报。
```

```
时间: 2026-07-23T20:09:04.6433679+00:00
上下文: App.UnobservedTaskException
错误码: UiError
消息: Global exception (handled) in App.UnobservedTaskException: AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (The 'bot8282594637' scheme is not supported.)
详情: Timestamp: 2026-07-23T20:06:13.1524554+00:00
Context: App.UnobservedTaskException
Handled: True
IsTerminating: False
ExecutableBaseDirectory: /home/sinofine/下载/MAAUnified-linux-x64(1)/MAAUnified-v6.14.2-5-gbef222bb22-linux-x64/
RuntimeBaseDirectory: /home/sinofine/下载/MAAUnified-linux-x64(1)/MAAUnified-v6.14.2-5-gbef222bb22-linux-x64
ErrorLog: /home/sinofine/下载/MAAUnified-linux-x64(1)/MAAUnified-v6.14.2-5-gbef222bb22-linux-x64/debug/avalonia-ui-errors.log
EventLog: /home/sinofine/下载/MAAUnified-linux-x64(1)/MAAUnified-v6.14.2-5-gbef222bb22-linux-x64/debug/avalonia-ui-events.log
PlatformLog: /home/sinofine/下载/MAAUnified-linux-x64(1)/MAAUnified-v6.14.2-5-gbef222bb22-linux-x64/debug/avalonia-platform-events.log

System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (The 'bot8282594637' scheme is not supported.)
---> System.NotSupportedException: The 'bot8282594637' scheme is not supported.
at System.Net.Http.SocketsHttpHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at System.Net.Http.HttpClient.g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
at MAAUnified.Application.Services.Features.NotificationProviderFeatureService.DefaultSendHttpAsync(HttpRequestMessage request, CancellationToken cancellationToken) in /home/runner/work/MaaAssistantArknights/MaaAssistantArknights/src/MAAUnified/Application/Services/Features/NotificationProviderFeatureService.cs:line 376
at MAAUnified.Application.Services.Features.NotificationProviderFeatureService.SendRequestAsync(HttpRequestMessage request, String provider, CancellationToken cancellationToken, Boolean inspectJsonResponse) in /home/runner/work/MaaAssistantArknights/MaaAssistantArknights/src/MAAUnified/Application/Services/Features/NotificationProviderFeatureService.cs:line 810
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at MAAUnified.Application.Services.Features.NotificationProviderFeatureService.SendRequestAsync(HttpRequestMessage request, String provider, CancellationToken cancellationToken, Boolean inspectJsonResponse)
at MAAUnified.Application.Services.Features.NotificationProviderFeatureService.SendJsonPostAsync(Uri uri, String json, String provider, CancellationToken cancellationToken) in /home/runner/work/MaaAssistantArknights/MaaAssistantArknights/src/MAAUnified/Application/Services/Features/NotificationProviderFeatureService.cs:line 786
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at MAAUnified.Application.Services.Features.NotificationProviderFeatureService.SendJsonPostAsync(Uri uri, String json, String provider, CancellationToken cancellationToken)
at MAAUnified.Application.Services.Features.NotificationProviderFeatureService.SendTelegramAsync(IReadOnlyDictionary`2 parameters, String title, String message, CancellationToken cancellationToken) in /home/runner/work/MaaAssistantArknights/MaaAssistantArknights/src/MAAUnified/Application/Services/Features/NotificationProviderFeatureService.cs:line 554
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at MAAUnified.Application.Services.Features.NotificationProviderFeatureService.SendTelegramAsync(IReadOnlyDictionary`2 parameters, String title, String message, CancellationToken cancellationToken)
at MAAUnified.Application.Services.Features.NotificationProviderFeatureService.SendByDefaultAsync(String provider, IReadOnlyDictionary`2 parameters, String title, String message, CancellationToken cancellationToken) in /home/runner/work/MaaAssistantArknights/MaaAssistantArknights/src/MAAUnified/Application/Services/Features/NotificationProviderFeatureService.cs:line 392
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at MAAUnified.Application.Services.Features.NotificationProviderFeatureService.SendByDefaultAsync(String provider, IReadOnlyDictionary`2 parameters, String title, String message, CancellationToken cancellationToken)
at MAAUnified.Application.Services.Features.NotificationProviderFeatureService.SendTestAsync(NotificationProviderTestRequest request, CancellationToken cancellationToken) in /home/runner/work/MaaAssistantArknights/MaaAssistantArknights/src/MAAUnified/Application/Services/Features/NotificationProviderFeatureService.cs:line 136
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at MAAUnified.Application.Services.Features.NotificationProviderFeatureService.SendTestAsync(NotificationProviderTestRequest request, CancellationToken cancellationToken)
at MAAUnified.App.ViewModels.Settings.SettingsPageViewModel.TestExternalNotificationAsync(CancellationToken cancellationToken) in /home/runner/work/MaaAssistantArknights/MaaAssistantArknights/src/MAAUnified/App/ViewModels/Settings/SettingsPageViewModel.RemoteNotification.cs:line 266
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at MAAUnified.App.ViewModels.Settings.SettingsPageViewModel.TestExternalNotificationAsync(CancellationToken cancellationToken)
at MAAUnified.App.Features.Settings.ExternalNotificationSettingsView.OnTestSendClick(Object sender, RoutedEventArgs e) in /home/runner/work/MaaAssistantArknights/MaaAssistantArknights/src/MAAUnified/App/Features/Settings/ExternalNotificationSettingsView.axaml.cs:line 36
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at MAAUnified.App.Features.Settings.ExternalNotificationSettingsView.OnTestSendClick(Object sender, RoutedEventArgs e)
at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Avalonia.Interactivity.EventRoute.RaiseEventImpl(RoutedEventArgs e)
at Avalonia.Interactivity.EventRoute.RaiseEvent(Interactive source, RoutedEventArgs e)
at Avalonia.Interactivity.Interactive.RaiseEvent(RoutedEventArgs e)
at Avalonia.Controls.Button.OnClick()
at Avalonia.Controls.Button.OnPointerReleased(PointerReleasedEventArgs e)
at Avalonia.Input.InputElement.<>c.<.cctor>b__33_9(InputElement x, PointerReleasedEventArgs e)
at Avalonia.Reactive.LightweightObservableBase`1.PublishNext(T value)
at Avalonia.Interactivity.EventRoute.RaiseEventImpl(RoutedEventArgs e)
at Avalonia.Interactivity.EventRoute.RaiseEvent(Interactive source, RoutedEventArgs e)
at Avalonia.Interactivity.Interactive.RaiseEvent(RoutedEventArgs e)
at Avalonia.Input.MouseDevice.MouseUp(IMouseDevice device, UInt64 timestamp, IInputRoot root, Point p, PointerPointProperties props, KeyModifiers inputModifiers, IInputElement hitTest)
at Avalonia.Input.MouseDevice.ProcessRawEvent(RawPointerEventArgs e)
at Avalonia.Controls.TopLevel.<>c.b__150_0(Object state)
at Avalonia.Threading.Dispatcher.Send(SendOrPostCallback action, Object arg, Nullable`1 priority)
at Avalonia.Controls.TopLevel.HandleInput(RawInputEventArgs e)
at Avalonia.X11.X11PlatformThreading.RunLoop(CancellationToken cancellationToken)
at Avalonia.Threading.DispatcherFrame.Run(IControlledDispatcherImpl impl)
at Avalonia.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
at Avalonia.Threading.Dispatcher.MainLoop(CancellationToken cancellationToken)
at Avalonia.Controls.ApplicationLifetimes.ClassicDesktopStyleApplicationLifetime.StartCore(String[] args)
at Avalonia.Controls.ApplicationLifetimes.ClassicDesktopStyleApplicationLifetime.Start(String[] args)
at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime(AppBuilder builder, String[] args, Action`1 lifetimeBuilder)
at MAAUnified.App.Program.Main(String[] args) in /home/runner/work/MaaAssistantArknights/MaaAssistantArknights/src/MAAUnified/App/Program.cs:line 102
--- End of stack trace from previous location ---
at System.Net.Http.HttpClient.g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
at MAAUnified.Application.Services.Features.NotificationProviderFeatureService.SendRequestAsync(HttpRequestMessage request, String provider, CancellationToken cancellationToken, Boolean inspectJsonResponse) in /home/runner/work/MaaAssistantArknights/MaaAssistantArknights/src/MAAUnified/Application/Services/Features/NotificationProviderFeatureService.cs:line 810
at MAAUnified.Application.Services.Features.NotificationProviderFeatureService.SendJsonPostAsync(Uri uri, String json, String provider, CancellationToken cancellationToken) in /home/runner/work/MaaAssistantArknights/MaaAssistantArknights/src/MAAUnified/Application/Services/Features/NotificationProviderFeatureService.cs:line 786
at MAAUnified.Application.Services.Features.NotificationProviderFeatureService.SendTelegramAsync(IReadOnlyDictionary`2 parameters, String title, String message, CancellationToken cancellationToken) in /home/runner/work/MaaAssistantArknights/MaaAssistantArknights/src/MAAUnified/Application/Services/Features/NotificationProviderFeatureService.cs:line 554
at MAAUnified.Application.Services.Features.NotificationProviderFeatureService.SendByDefaultAsync(String provider, IReadOnlyDictionary`2 parameters, String title, String message, CancellationToken cancellationToken) in /home/runner/work/MaaAssistantArknights/MaaAssistantArknights/src/MAAUnified/Application/Services/Features/NotificationProviderFeatureService.cs:line 392
at MAAUnified.Application.Services.Features.NotificationProviderFeatureService.SendTestAsync(NotificationProviderTestRequest request, CancellationToken cancellationToken) in /home/runner/work/MaaAssistantArknights/MaaAssistantArknights/src/MAAUnified/Application/Services/Features/NotificationProviderFeatureService.cs:line 136
at MAAUnified.App.ViewModels.Settings.SettingsPageViewModel.TestExternalNotificationAsync(CancellationToken cancellationToken) in /home/runner/work/MaaAssistantArknights/MaaAssistantArknights/src/MAAUnified/App/ViewModels/Settings/SettingsPageViewModel.RemoteNotification.cs:line 266
at MAAUnified.App.Features.Settings.ExternalNotificationSettingsView.OnTestSendClick(Object sender, RoutedEventArgs e) in /home/runner/work/MaaAssistantArknights/MaaAssistantArknights/src/MAAUnified/App/Features/Settings/ExternalNotificationSettingsView.axaml.cs:line 36
at System.Threading.Tasks.Task.<>c.b__124_0(Object state)
at Avalonia.Threading.SendOrPostCallbackDispatcherOperation.InvokeCore()
--- End of inner exception stack trace ---
建议: 可以先检查当前输入或配置,修正后重试;如仍失败,可复制错误详情并通过 IssueReport 上报。
```

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in src/MAAUnified/Application/Services/Features/NotificationProviderFeatureService.cs, especially SendTelegramAsync at line 554 and SendJsonPostAsync at line 786. Reproduce the test-send flow from SettingsPageViewModel.RemoteNotification.cs and inspect the constructed URI associated with the unsupported 'bot8282594637' scheme. Done means the Telegram test request uses a supported URI and no longer raises this exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop, networking
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
64/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.