-
-
Notifications
You must be signed in to change notification settings - Fork 43
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
Grocy erorr behind reverse proxy "Error While Saving" #18
Comments
|
Also getting this error when using Grocy through Docker-Compose behind Traefik. For example, if I try making a new task, I get the error: If I click it, I get the error: So I think that grocy isn't seeing any text in the fields for some reason. I've tried using Chromium-Edge as well as regular old Chrome and get the same error in both. |
|
The reason causing this in my particular case was found. I had a nginx config that only allowed a few http methods (GET | HEAD | POST) for security reasons surrounding TRACE and DELETE. I assume grocy is using more than those 3 so once I removed the method whitelist the issue dissapeared. @gaiacanon I would check for similar HTTP method whitelists in Trafeik. |
|
In my case the error was resolved by adding this line to my nginx config: proxy_set_header X-Forwarded-Proto https; |
I originally put this in https://github.com/grocy/grocy but was told to post it here instead
Expected Behavior
Reloading does not result in an error and the settings menu is able to change
Current Behavior
Changing anything in settings does not result in an actual change (I think changing users still works)
On reload error message
Error while saving, probably this item already exists \n Click to show technical details. When clicking it for more details it responds with"\r\n\r\n\r\n 405 Not Allowed \r\n nginx/1.16.1 \r\n\r\n\r\n"Using this nginx reverse proxy config:
Steps to Reproduce
Environment
OS: RancherOS
CPU architecture: x86_64
How docker service was installed: Portainer with docker run (all env left to default)
Command used to create docker container (run/create/compose/screenshot)
(Through portainer) its a docker pull with 9283:80Docker logs
The text was updated successfully, but these errors were encountered: