-
Notifications
You must be signed in to change notification settings - Fork 42
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
Network error after signing out #662
Comments
(Added security label in case network operations are being attempted while the user expects to be offline, which may violate their opsec expectations.) |
Actually also seeing this after just signing out without doing anything, so may be related to sync or other network operations as well. |
see related change in https://github.com/freedomofpress/securedrop-client/pull/404/files#diff-dfebdbc5258e6805fadd416909ed2a90R45 when we sign out we invalidate the token, but we should probably both add some additional logic around ApiInaccessibleError (right now we pause the queue which is why this "server cannot be reached" error pops up) and either empty the queue when the user signs out or stop the threads |
Exactly! We should just stop the "server cannot be reached" error that results from the queue being paused (intentionally by invalidating the token) if the user is signed out
I think emptying the queue makes sense, we already persist pending replies so these should show up as failed if the user logs back in, I believe. |
i will work on this |
STR:
Expected result:
Actual result:
Screenshot:
The text was updated successfully, but these errors were encountered: