Closed gazayas closed 1 year ago
For the second issue I'm thinking it's just the SMTP settings, trying to set things up with Mailgun now.
Yup, definitely just the SMTP settings. It looks like our styles are working fine too, which was a concern in https://github.com/bullet-train-co/bullet_train/issues/509
I'll try to work on a PR for the error message when BASE_URL
hasn't been properly configured to the hostname.
Automatically generated environment variable doesn't raise error
One problem is the
ENV["BASE_URL"]
environment variable: https://github.com/bullet-train-co/bullet_train-base/blob/67bc4d9ae2bd8748e75ab2a07d6166d3ea440f69/lib/bullet_train.rb#L43-L49The error isn't raised in production because we're automatically generating the environment variable in the blueprint with a random value:
This should be a pretty easy fix since we just have to tell the developer to configure the correct URL in the environment group they're linked to, but I'm kind of stumped on the second problem.
Connection refused
After correctly adding the
BASE_URL
to the environment group, I'm getting a connection refused error when trying to send the email, but before that the worker instance just shuts down: