-
Notifications
You must be signed in to change notification settings - Fork 103
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
Desktop process stuck in state where all client requests return "connection refused" #1999
Comments
My hunch is this is slightly misreported... I cannot imagine |
I noticed that the UID was |
We've solved at least some of the mystery:
We will update to count the above scenario as successful rather than failed, which will fix the behavior that prompted filing this issue. I'm leaving the issue open because I think it's still useful to track down why devices get stuck in a state with all desktop process requests for a particular user being "connection refused" -- like James mentioned, maybe something went wrong with user switching, and we had a desktop process still extant that should've been cleaned up. I'll edit the title and description accordingly. |
nice sleuthing |
A device began reporting "connection refused" repeatedly when talking to the
/refresh
endpoint on Dec 11 for the process for user 502, and then stayed in this state through "failing" to send notifications to user 502 on Dec 12.Notifications did go through for user 501. @James-Pickett suggests that launcher didn't handle user switching appropriately. When looking through similar logs in Cloud Log, we noticed that this "connection refused" error appears pretty regularly when a user exists with a UID greater than 501 -- i.e. on devices with multiple user accounts.
We should investigate how devices are getting stuck in this state, and figure out an appropriate way to remediate the issue.
Example log:
The text was updated successfully, but these errors were encountered: