Closed t3pfaffe closed 4 years ago
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:
Error while saving, probably this item already exists
Click to show technical details
If I click it, I get the error:
Error details
""
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:80 ## Docker logs