Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

session.GetItemAsync("authToken") - does not return the value nor does it throw an exception #83

Open
mdchafin opened this issue Mar 6, 2024 · 1 comment
Labels
Bug Something isn't working Triage Issue needs to be triaged

Comments

@mdchafin
Copy link

mdchafin commented Mar 6, 2024

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

@mdchafin mdchafin added Bug Something isn't working Triage Issue needs to be triaged labels Mar 6, 2024
@Bond-Addict
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Triage Issue needs to be triaged
Projects
None yet
Development

No branches or pull requests

2 participants