Improve error log when OCIS_CORS sets wrong
Open
Type:Bug
- Dominant language
- Go
- Stars
- 2.1k
- Forks
- 274
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 103
Description
related https://github.com/owncloud/enterprise/issues/6651
Steps:
- go to the https://github.com/owncloud/ocis/blob/master/deployments/examples/ocis_wopi/docker-compose.yml
- put `OCIS_CORS_ALLOW_ORIGINS: "https://owncloud.com"` to `ocis`->`environment` section
- docker-compose up -d
- open https://ocis.owncloud.test
- upload small file -> works correct
- upload big file (more than 20 Mb) -> 502 Error
Issue1: error log is not clear. we need improve error message
improving 2: @butonic suggestion: add the `OCIS_URL` to the allowed domains by default
Contributor guide
Assessment
This issue has not been assessed yet.