-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DOMException: The operation is insecure on login #82
Comments
Hey, I had the same problem until I noticed this comment in the README
When I configured using the linked |
Would you be able to give an example of where I'm supposed to do this, in the docker-compose? Do I add a volume? |
I can't find the Revolt.toml file in any of the docker containers. Does anyone know how to edit Revolt.toml on a docker deployment? Thank you! |
README updated to include new setup information |
What happened?
I'm trying to deploy a revolt instance with HTTPS. I'm able to access the landing page and registration page. I create an account then when I try to login I get the "It's time to choose a username page" I enter the username I want and click "Looks good!" and that's when I see the DOMException in the browser console.
I saw a similar issue here: #10 which mentioned making sure that https:// is prefixed on all URLs in the env as well as wss:// for the web socket, which I have done.
Redacted env file:
I was checking each of the endpoints that's exposed in the Caddyfile and they all work, but noticed that when I go to https://<my-domain-name>/api I get the following (redacted) JSON which does not match what's in my env file.
Here is my Caddyfile:
I tried tearing down all the volumes and deleting the data directory and redeploying but that didn't change anything.
One other thing is that there are no errors on any of the containers in the docker compose (seems like the error is only client side)
Anything obvious here that I have wrong?
If you need any other information please let me know
Thanks!
The text was updated successfully, but these errors were encountered: