-
I'm trying to deploy a copy of 22:54:53.597 [error] Error in process #PID<0.2618.0> on node :"[email protected]" with exit value:
{%Bamboo.SMTPAdapter.SMTPError{message: "There was a problem sending the email through SMTP.\n\nThe error is :retries_exceeded\n\nMore detail below:\n\n{:network_failure, 'smtp', {:error, :nxdomain}}\n", raw: {:retries_exceeded, {:network_failure, 'smtp', {:error, :nxdomain}}}}, [{Bamboo.SMTPAdapter, :handle_response, 1, [file: 'lib/bamboo/adapters/smtp_adapter.ex', line: 92]}, {Exq.Worker.Server, :"-dispatch_work/3-fun-0-", 4, [file: 'lib/exq/worker/server.ex', line: 141]}]}
22:54:53.599 [info] {%Bamboo.SMTPAdapter.SMTPError{
message: "There was a problem sending the email through SMTP.\n\nThe error is :retries_exceeded\n\nMore detail below:\n\n{:network_failure, 'smtp', {:error, :nxdomain}}\n",
raw: {:retries_exceeded, {:network_failure, 'smtp', {:error, :nxdomain}}}
},
[
{Bamboo.SMTPAdapter, :handle_response, 1,
[file: 'lib/bamboo/adapters/smtp_adapter.ex', line: 92]},
{Exq.Worker.Server, :"-dispatch_work/3-fun-0-", 4,
[file: 'lib/exq/worker/server.ex', line: 141]}
]} I've tried setting use Mix.Config
config :asciinema, Asciinema.Mailer,
deliver_later_strategy: Asciinema.BambooExqStrategy,
adapter: Bamboo.SMTPAdapter,
server: "relay.mydomain.net",
port: 25 I've verified that |
Beta Was this translation helpful? Give feedback.
Replies: 9 comments
-
I was able to work around this by deploying hostAliases:
- hostnames:
- "smtp"
ip: 127.0.0.1 It's still not ideal but it does work. |
Beta Was this translation helpful? Give feedback.
-
@nlowe - is it possible for you to share the |
Beta Was this translation helpful? Give feedback.
-
Here's the deployment template. Our values includes some company-specific defaults that I'll have to clean up but I'll try to get the full chart on github later today:
|
Beta Was this translation helpful? Give feedback.
-
@nlowe - Thank you. I will go through the above. I will look for your chart. |
Beta Was this translation helpful? Give feedback.
-
I've published the chart here: https://github.com/nlowe/asciinema-server-helm Note that the default values are likely not suitable for your environment and will need changed. It also makes a lot of assumptions (your cluster has persistence setup and you want to use ClusterIP Services and Ingresses). |
Beta Was this translation helpful? Give feedback.
-
@nlowe - Thank You. I will try this out. I really appreciate it. |
Beta Was this translation helpful? Give feedback.
-
@nlowe I installed your helm chart on self-hosted Openshift and it worked flawlessly! Only had problems with the anyUserID - usual securityContext problems from openshift. asciinema should consider making this available in their main repo and in stable/ |
Beta Was this translation helpful? Give feedback.
-
I've created a wiki page about SMTP config, showing how this can be configured in various ways - https://github.com/asciinema/asciinema-server/wiki/SMTP-configuration |
Beta Was this translation helpful? Give feedback.
-
You can now configure SMTP server directly on the asciinema-server with No need for namshi/smtp containers, in fact I've removed it from the docs. |
Beta Was this translation helpful? Give feedback.
You can now configure SMTP server directly on the asciinema-server with
SMTP_*
variables as documented here: https://docs.asciinema.org/manual/server/self-hosting/configuration/#emailNo need for namshi/smtp containers, in fact I've removed it from the docs.