-
Notifications
You must be signed in to change notification settings - Fork 262
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
Unable to create a new project via Money Buster - "The server could not verify that you are authorized to access the URL requested". #920
Comments
No issues when using the REST API with this, for instance:
|
Server logs: ihatemoney.org — - - [14/Nov/2021:22:19:00 +0100] "POST /api/projects HTTP/1.1" 201 10 "-" "MoneyBuster/0.1.11"
ihatemoney.org — - - [14/Nov/2021:22:19:00 +0100] "GET /api/projects/Yayaaaa/members HTTP/1.1" 401 236 "-" "MoneyBuster/0.1.11" So, the project is created, but not available via Money Buster? |
Yes, it's the case. I don't understand why moneybuster cannot access the newly created project (it can access other projects created a long time ago) |
Discovered that the error message was the default message for a HTTP 401 in Werkzeug. The question is now why are we returning a 401 here. |
|
Setting |
Using latest master doesn't solve the issue, and I cannot reproduce locally. I think something is odd with the deploy. I'm out of luck for tonight. I will check later if I can find some time. Don't hesitate to take over if you feel like it :-) |
Possibly a lowercase/uppercase issue? Did you have an uppercase letter in your project ID when creating it? In this case the API apparently converts it to lowercase when returning the ID, so there may be some confusion somewhere. |
Just tested this on my instance:
-> both username (for auth) and project name need to be lower case, even though I asked for a project ID equal to "ABC" when creating the project. Clearly it's not intuitive, we might want to improve that, maybe refuse creation in this case... Or if we want to keep this behaviour, it needs to be well documented, and check MoneyBuster to see if it handles this case. |
Thanks @zorun , it seems related to this, yes. What about |
Here is a copy of what I see when trying to create a new project using Money Buster.
This is when using the last release. I deactivated the CAPTCHA. It's what's currently deployed on ihatemoney.org.
The text was updated successfully, but these errors were encountered: