-
Notifications
You must be signed in to change notification settings - Fork 187
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
ListAccount is forbidden randomly #820
Comments
In order to reproduce it correctly the proxy needs to have basic auth enabled. I was not able to reproduce it until I read the logs. Starting the server with the following command: ❯ PROXY_ENABLE_BASIC_AUTH=true OCIS_LOG_LEVEL=debug go run cmd/ocis/main.go server Without |
correct. |
@dpakach is there any extra step you're doing? By running the |
@refs We first noticed this issue when running in CI. like in I just ran ocis with |
So @butonic and I were able to reproduce it by doing:
We got to jump in the sprint planning and will continue afterwards. |
@refs, I did delete both But since you reproduced it may be the real issue. |
ha, interesting. Do you happen to know in which step are the directories removed? |
@refs This is the exact steps I followed
|
In Line 5284 of https://drone.owncloud.com/owncloud/ocis/1308/19/5 we have a winner ... |
🤔 The only suspicious thing I see is an account ID |
No I think we're good on that front, the users endpoint is case insensitive |
I was looking earlier to the usage of |
next idea: Hunt down the first occurrence of this issue on CI and read the diff |
Thanks! |
Sometimes the request to list the account gives a forbidden response after the user tries to list their own account
Note this issue only occurs randomly, not every time
This issue gets fixed after restarting the server
Server logs when failing
The text was updated successfully, but these errors were encountered: