New install working, but cannot save any settings in the web interface (http 400)
See original GitHub issueImpacted versions
- Modoboa: 1.10.2
- installer used: Yes/
- Webserver: Nginx
Steps to reproduce
run installer, go to webui, go to modoboa and press save after changing settings
I tried figuring this out, but basically a clean centos 7 kickstart and then I run the installer. I can go to the web interface and see everything.
But when I try to edit modoboa -> parameters and press save. I get a http 400.
"POST /core/parameters/ HTTP/1.1" 400 132
Then when I do a browser reload, the setting is not saved and goes back to the installer defaults.
Possible reason
the WebUI is not showing “form_errors”.
{"prefix": "core", "form_errors": {"default_password": ["This password is too common.", "Password must contain at least 1 digit."]}}
And then some other form error
{"prefix": "modoboa_amavis", "form_errors": {"recipient_delimiter": ["This field is required."]}}
Because the UI doesnt show form_errors, I had no idea why it was giving a HTTP 400 and not saving my settings.
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
What is HTTP error 400 and how do you fix it? - IT PRO
A website may fail to comply with your request due to old or corrupt cookies. As a quick fix, consider clearing your browser...
Read more >400 BAD request HTTP error code meaning? - Stack Overflow
A 400 means that the request was malformed. In other words, the data stream sent by the client to the server didn't follow...
Read more >Cannot save Settings in Controller (Settings/Maintenance)
Hi guys,. according to the new installation of the UniFi controller on a Raspberry Pi 3 and the import of an backup, I...
Read more >"[400] An error occurred while sending an authentication ...
Process to workaround the issue: To enable short name access to vCenter, add the desired shortname in webclient. properties file. Before ...
Read more >Windows Admin Center common troubleshooting steps
This article describes how to diagnose and resolve issues in Windows Admin Center. If you're having an issue with a specific tool, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
A new version of the amavis plugin has been released and should fix this issue.
You dont need my config. Just for now change default_password to some random string with numbers in it and Amavis->recipient_delimiter use a + sign. Press save and you should get Parameters saved popup.
Yeah its a bit shitty, but you can put your browser into developer mode and read the response when you press save. The error messages are shown.jj