Comments (7)
I went and checked the code, and the problem seems to be due to the fact that quark panics if all of the SMTP variables are not set and the UNSAFE_NO_EMAIL
flag is not set, even if some of those SMTP variables (the password, in this case) aren't relevant.
from self-hosted.
I could move this to the backend repo
from self-hosted.
If I set the password to an empty string, it doesn't crash, and can attempt to send emails, but it doesn't appear to succeed in sending them:
docker[204592]: revolt-api-1 | ERROR rauth::config::email_verification > Failed to send email to [email protected]!
docker[204592]: revolt-api-1 | lettre error: Connection error: Cannot assign requested address (os error 99)
from self-hosted.
Apparently, this is due to a service running in a docker container not being able to recognize localhost
. Switching SMTP_HOST
to host.docker.internal
or my server's IP address (behind the router) changes the error to:
failed to lookup address information: Name or service not known
from self-hosted.
I don't know how to resolve this error, but it doesn't seem to step from Revolt.
from self-hosted.
Okay, so I resolved all the explicit errors, so Revolt SAYS that it was successful in sending the email, but nothing ever happens. What assumptions does it make about the setup of the SMTP server that might be causing this?
from self-hosted.
Apparently, this is due to a service running in a docker container not being able to recognize
localhost
. SwitchingSMTP_HOST
tohost.docker.internal
or my server's IP address (behind the router) changes the error to:
host.docker.internal
is only for Docker Desktop (macOS and Windows).
Thereβs no easy nor fancy way to join host, but using its main IP.
What you could do is running that Postfix in a container too and having a network for both backend and Postfix.
from self-hosted.
Related Issues (20)
- Local offline dev spinup not working HOT 6
- β Self-Hosting Support
- feature request: screenshare HOT 2
- no matching manifest for linux/arm64/v8 in the manifest list entries HOT 5
- bug: cant run "docker-compose up -d" HOT 2
- feature request: 32bit support HOT 1
- unknown error bug: HOT 7
- bug: Unable to friend or direct message users due to missing discriminator HOT 2
- bug: curl missing from latest release of minio/mc, causes errors starting. HOT 5
- bug: Network error HOT 2
- bug: serving pterodactyl behind reverse proxy causes DOMException: The operation is insecure. HOT 3
- bug: in Debian Bullseye VM in docker january says 'GLIBC_2.29 not found required by ./january' HOT 4
- feature request: Add server minimum specifications HOT 9
- bug: s3Error HOT 1
- bug: Vapid Keys guide is down HOT 1
- bug: revolt api doesn't proccess website embeds HOT 3
- bug: Not reading from REVOLT_EXTERNAL_WS_URL HOT 5
- DOMException: The operation is insecure on login HOT 1
- bug: no invite code for server HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from self-hosted.