session.GetItemAsync("authToken") - does not return the value nor does it throw an exception
On each call to the request gateway from the library code the login token Is fetched from sessionStorage except in some case it just returns - no exception thrown nor is the code execution completed.
Hosting Model (is this issue happening with a certain hosting model?):
- Blazor Server
- Windows 11
Additional context The following link is a short video with a breakpoint that is manually toggled so show the continuation of the execution up until it just returns without a token or exception.
https://app.screencast.com/Cc9PMBodePFLZ
Check out output. I can almost guarantee there will be at least one exception coming from SignalR. Make sure to go to your exception settings and turn on Common Language Runtime Exceptions otherwise it will probably swallow it but it will always give some sort of feedback in the output terminal. In my case often when I get or set, it totally crashes my application.
If I'm correct, this will be another example of why #47 from 2021 should have been fixed instead of just closing it. I just opened #89 to directly address this issue.
I'm not positive, but I'm pretty confident. Let me know if you need additional help debugging.