-
-
Notifications
You must be signed in to change notification settings - Fork 521
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
Refresh token task warning: A separate task was already scheduled under the name #7494
Comments
There looks to be a disconnect between the naming for In Lines 857 to 870 in 8421976
However in Lines 575 to 591 in 8421976
To fix, you would probably need to add the PID to the call in the |
@sblowers, thank you for the investigation! This is an oversight. Can you submit a PR with your suggested change in |
ALL software version info
(this library, plus any other relevant software, e.g. bokeh, python, notebook, OS, browser, etc should be added within the dropdown below.)
Software Version Info
Description of expected behavior and the observed behavior
It's hard to come up with a reproducible example as it's related to auth, but recently I've started to see this following warning when a user refreshes their session or logs on again
I am using a generic auth type with an Azure B2C setup.
I'm reporting this because as far I can see the task is actually attempted to be canceled before creating the new one:
panel/panel/auth.py
Lines 1133 to 1140 in e24f443
I'm not sure where the number comes from in the task name, it seems to be attached to the user.
I don't think this is harming anything to do with the app, but it seems unexpected given the code above.
I am running the app via the CLI:
panel serve src/app.py --autoreload --static-dirs assets=./src/assets --port 5006 --setup src/app_setup.py
Complete, minimal, self-contained example code that reproduces the issue
Stack traceback and/or browser JavaScript console output
Screenshots or screencasts of the bug in action
The text was updated successfully, but these errors were encountered: