RocketChat / Rocket.Chat

The communications platform that puts data protection first.
https://rocket.chat/
Other
40.04k stars 10.33k forks source link

Previewing uploaded files cors problem #33122

Open dqhieu9301 opened 3 weeks ago

dqhieu9301 commented 3 weeks ago

image

When I call the file retrieval api in room-chat, I get a cors error while all other apis still work normally

dqhieu9301 commented 3 weeks ago

image I have CORS origin enabled*

reetp commented 3 weeks ago

This looks like a support issues and not a bug.

We can't help you without you completing a bug template.

https://github.com/RocketChat/Rocket.Chat/issues/new?assignees=&labels=&projects=&template=bug_report.md

If you go here:

https://open.rocket.chat/channel/support

You can read this on how to report issues effectively:

https://gist.github.com/reetp/a66149d5f060f260643a353ca7067a98

In the meantime I suggest you get your reverse proxy set up as per the documentation and working correctly with https certificates as that will likely fix your issues.

https://docs.rocket.chat/v1/docs/deploy-with-docker-docker-compose#enable-https

Thanks.

github-actions[bot] commented 1 week ago

This issue has been marked as stale because there has been no further activity in the last 10 days. If the issue remains stale for the next 4 days (a total of 14 days with no activity), then it will be assumed that the question has been resolved and the issue will be automatically closed.