-
Notifications
You must be signed in to change notification settings - Fork 189
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
ocis server startup error #3900
Comments
I had this problem locally when i was running out of file descriptors. But that should not be the case in CI.
|
Setting it to p2 because startup errors like these should not happen. |
I wouldn't say normal, but it can happen when there a request issued against It looks to me as if the |
I think we found a possible race condition in the proxy that might be causing the kind of bug experienced here. From
If the settings service is not fully up at this point.
|
This reworks the assignment of the default role at login. The assignment now only happens if settings service is reachable and the current user does not have an assignment yet (we check for the NotFound status). If the settings service returns an error other than 404, the GetUserByClaims() (and with it the authentication) will also error out. Closes: owncloud#3900
This reworks the assignment of the default role at login. The assignment now only happens if settings service is reachable and the current user does not have an assignment yet (we check for the NotFound status). If the settings service returns an error other than 404, the GetUserByClaims() (and with it the authentication) will also error out. Closes: owncloud#3900
This reworks the assignment of the default role at login. The assignment now only happens if settings service is reachable and the current user does not have an assignment yet (we check for the NotFound status). If the settings service returns an error other than 404, the GetUserByClaims() (and with it the authentication) will also error out. Closes: owncloud#3900
This reworks the assignment of the default role at login. The assignment now only happens if settings service is reachable and the current user does not have an assignment yet (we check for the NotFound status). If the settings service returns an error other than 404, the GetUserByClaims() (and with it the authentication) will also error out. Closes: #3900
Author: Ralf Haferkamp <[email protected]> Date: Wed Jun 8 14:16:04 2022 +0200 Rework default role provisioning This reworks the assignment of the default role at login. The assignment now only happens if settings service is reachable and the current user does not have an assignment yet (we check for the NotFound status). If the settings service returns an error other than 404, the GetUserByClaims() (and with it the authentication) will also error out. Closes: #3900
Describe the bug
https://drone.owncloud.com/owncloud/ocis/12206/39/3
Is this a "normal" startup error message?
https://drone.owncloud.com/owncloud/ocis/12206/39/6
"something happens" (tm) sometimes on ocis startup, and admin cannot create users. So the whole CI pipeline obviously gets lots of unexpected failures.
Steps to reproduce
Run lots of CI pipelines and see one fail.
Expected behavior
ocis starts cleanly every time.
Actual behavior
ocis sometimes has an error on startup
Setup
current ocis master branch in CI
The text was updated successfully, but these errors were encountered: