Closed roboriaan closed 2 months ago
Hello, I want to add that I am seeing the same issue. I have the URL where the WebSocket server is publicly accessible set in the same way as mentioned and am seeing the same exact error in the console when trying to register/log in. Almost as if the variable has not been used the way I set it.
I was having this issue. In the readme of this project it says.
❗ Important: configuration strategy has changed but this guide is out of date TL;DR mount Revolt.toml at /Revolt.toml for both api and events. Proper documentation will follow in due time.
So, to actually do this follow the steps below.
Download the Revolt.toml
file and place it into the same folder where your docker-compose.yml
file is.
Configure the Revolt.toml
file the same way your .env
file is configured
In the docker-compose.yml
file, add the following lines underneath the api:
section and the events:
section
volumes:
- type: bind
source: ./Revolt.toml
target: /Revolt.toml
(replace the spaces with indentation)
Start your container back up using Docker Compose
@FunNoober Thank you for pointing this out, I'll give this a try.
That was it, that resolved the issue I was seeing and I am able to log in now. Thank you!
Perfect! Thank you @FunNoober
@FunNoober this didn't fully work for me, events wasn't reading the redis url properly from the toml and I had to manually add back the REDIS_URI=redis://redis/
environment variable
@FunNoober Thank you for the guidance.
Note to self: remember to correct ws:// to wss:/ when loading secure :P
What happened?
Hi,
I have my external WS URL set to :
I get passed the registration process and upon login when the socket connection is made I get a console error:
It seems that the REVOLT_EXTERNAL_WS_URL variable doesn't get pulled in and still points to : ws://local.revolt.chat/ws I couldn't find any other setting pointing to it within the configuration. I have re-cloned the repo, re-created the images and containers.
Any ideas? Thanks