When trying to refresh a Ely.by account after successful initial login shows a 404 unauthorized error. This also happens when trying to load a Minecraft game
I expected the token to be refreshed for the account
Environment
Windows Build Number: 26100.1 (Windows 11 Pro Insider)
Fluent Launcher version: 2.2.8.0
Attachment
Log File from Error:
System.Net.Http.HttpRequestException
System.Net.Http.HttpRequestException: Response status code does not indicate success: 401 (Unauthorized).
at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
at Nrk.FluentCore.Authentication.YggdrasilAuthenticator.ParseResponseAsync(HttpResponseMessage responseMessage)
at Nrk.FluentCore.Authentication.YggdrasilAuthenticator.RefreshAsync(YggdrasilAccount account)
at Natsurainko.FluentLauncher.Services.Accounts.AccountService.RefreshAccount(Account account)
at Natsurainko.FluentLauncher.Services.Accounts.AccountService.RefreshActiveAccount()
at Natsurainko.FluentLauncher.ViewModels.Settings.AccountViewModel.Refresh()
at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask)
at System.Threading.Tasks.Task.<>c.b128_0(Object state)
at Microsoft.UI.Dispatching.DispatcherQueueSynchronizationContext.<>c__DisplayClass2_0.b0()
Describe the bug
When trying to refresh a Ely.by account after successful initial login shows a 404 unauthorized error. This also happens when trying to load a Minecraft game
Steps to reproduce the bug
Logging in with yggdrasil account with server url - https://account.ely.by/api/authlib-injector then clicking refresh
Expected behavior
I expected the token to be refreshed for the account
Environment
Windows Build Number: 26100.1 (Windows 11 Pro Insider) Fluent Launcher version: 2.2.8.0
Attachment
Log File from Error:
System.Net.Http.HttpRequestException System.Net.Http.HttpRequestException: Response status code does not indicate success: 401 (Unauthorized). at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode() at Nrk.FluentCore.Authentication.YggdrasilAuthenticator.ParseResponseAsync(HttpResponseMessage responseMessage) at Nrk.FluentCore.Authentication.YggdrasilAuthenticator.RefreshAsync(YggdrasilAccount account) at Natsurainko.FluentLauncher.Services.Accounts.AccountService.RefreshAccount(Account account) at Natsurainko.FluentLauncher.Services.Accounts.AccountService.RefreshActiveAccount() at Natsurainko.FluentLauncher.ViewModels.Settings.AccountViewModel.Refresh() at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask) at System.Threading.Tasks.Task.<>c.b128_0(Object state)
at Microsoft.UI.Dispatching.DispatcherQueueSynchronizationContext.<>c__DisplayClass2_0.b 0()