revoltchat / self-hosted

Deploy Revolt using Docker.
854 stars 108 forks source link

Disabling email Throws Network Error #5

Closed MikePadge closed 2 years ago

MikePadge commented 2 years ago

Steps to reproduce, I basically just pulled the repo and set non-default .env settings to

REVOLT_UNSAFE_NO_EMAIL=1 REVOLT_INVITE_ONLY=1

I've made no other changes to the default setup to keep this sane.

Ran docker-compose up and everything comes up nice and neat (I did not set smtp settings), but trying to create a new account fails.

FAILED TO REGISTER! · NETWORK ERROR.

console errors

RevoltClient.tsx:176 Failed to connect to API server.
(anonymous) @ RevoltClient.tsx:176
local.revolt.chat:8000/:1 Failed to load resource: net::ERR_CONNECTION_REFUSED
local.revolt.chat:8000/auth/account/create:1 Failed to load resource: net::ERR_CONNECTION_REFUSED
xhr.js:178 POST http://local.revolt.chat:8000/auth/account/create net::ERR_CONNECTION_REFUSED
MikePadge commented 2 years ago

I enabled smtp, this doesn't appear to be an issue with disabling email at all.

Just DNS related... because it's always dns

MikePadge commented 2 years ago

Closing and opening new issue. I was mistaken and now the title of this thread is confusing because it's incorrect.

After digging deeper and adjusting some settings, this looks more like a docker network problem that is more than likely related to my config. (I believe the above console error is ssl related, but I'm not certain).