Disabling email Throws Network Error #3

Closed
opened 2026-02-16 12:51:00 -05:00 by yindo · 2 comments
Owner

Originally created by @MikePadge on GitHub (Sep 16, 2021).

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
Originally created by @MikePadge on GitHub (Sep 16, 2021). 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 ```
yindo closed this issue 2026-02-16 12:51:00 -05:00
Author
Owner

@MikePadge commented on GitHub (Sep 16, 2021):

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 on GitHub (Sep 16, 2021): I enabled smtp, this doesn't appear to be an issue with disabling email at all. Just DNS related... because it's always dns
Author
Owner

@MikePadge commented on GitHub (Sep 20, 2021):

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).

@MikePadge commented on GitHub (Sep 20, 2021): 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).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: stoatchat/self-hosted#3