Websocket
Description:
File upload doesn't work. Image upload, video send, voice send, and avatar image upload.
Server Setup Information:
- Version of Rocket.Chat Server: latest (as of this post)
- Operating System: Ubuntu Server 16.04
- Deployment Method(snap/docker/tar/etc): Docker
- Number of Running Instances: 1
Steps to Reproduce:
- Login
- Go to upload avatar and select image
- Click use uploaded image
- Check console for error
Expected behavior:
Image is uploaded and the avatar changes
Actual behavior:
Nothing in the GUI, only an error in the web inspector.
Other Info
Here is the relevant error:
If you look at the above error you can see that the request URL doesn't included my modified location of rocket chat. We are hosting it at something like https://example.com/chat-url/ and if you look at the image its only going to https://example.com/ufs/... (lacking the /chat-url/)
Not sure where I can define this though.
Also for reference I followed the official docs Docker tutorial/setup in order to get this going. The only thing I did different was to add the /chat-url/ to the nginx proxy_pass section and added it to the ROOT_URL in the docker-compose file.
Duplicate of #4832