sending emails doesn't seem to work?
-
First: thanks for having Pretix in the Appstore!
I'm currently exploring the app and its capabilities and noticed that emails are not sent?
The configured email on app-level is an existing address and mailbox, this is the error on trying to send.
As far as I can see it tries to use the email smtp server at the domain of the app itself reserveer.REDACTED.xx instead of my.REDACTED.xx?
Jun 04 10:57:43 [2025-06-04 08:57:43,250: INFO/MainProcess] Task pretix.base.services.mail.mail_send_task[63bd36d3-8aba-497f-a28c-cead30b8c0da] received Jun 04 10:57:43 [2025-06-04 08:57:43,251: DEBUG/MainProcess] basic.qos: prefetch_count->26 Jun 04 10:57:43 [2025-06-04 08:57:43,255: INFO/ForkPoolWorker-3] Task pretix.base.services.mail.mail_send_task[63bd36d3-8aba-497f-a28c-cead30b8c0da] retry: Retry in 900s Jun 04 10:57:50 2025/06/04 08:57:50 [error] 253#253: *3369 connect() failed (111: Connection refused) while connecting to upstream, client: 172.18.0.1, server: reserveer.REDACTED.xx, request: "GET / HTTP/1.1", upstream: "http://[::1]:8345/", host: "reserveer.REDACTED.xx" Jun 04 10:57:50 2025/06/04 08:57:50 [warn] 253#253: *3369 upstream server temporarily disabled while connecting to upstream, client: 172.18.0.1, server: reserveer.REDACTED.xx, request: "GET / HTTP/1.1", upstream: "http://[::1]:8345/", host: "reserveer.REDACTED.xx" Jun 04 10:57:50 [2025-06-04 08:57:50 +0000] [260] [DEBUG] GET /
-
First: thanks for having Pretix in the Appstore!
I'm currently exploring the app and its capabilities and noticed that emails are not sent?
The configured email on app-level is an existing address and mailbox, this is the error on trying to send.
As far as I can see it tries to use the email smtp server at the domain of the app itself reserveer.REDACTED.xx instead of my.REDACTED.xx?
Jun 04 10:57:43 [2025-06-04 08:57:43,250: INFO/MainProcess] Task pretix.base.services.mail.mail_send_task[63bd36d3-8aba-497f-a28c-cead30b8c0da] received Jun 04 10:57:43 [2025-06-04 08:57:43,251: DEBUG/MainProcess] basic.qos: prefetch_count->26 Jun 04 10:57:43 [2025-06-04 08:57:43,255: INFO/ForkPoolWorker-3] Task pretix.base.services.mail.mail_send_task[63bd36d3-8aba-497f-a28c-cead30b8c0da] retry: Retry in 900s Jun 04 10:57:50 2025/06/04 08:57:50 [error] 253#253: *3369 connect() failed (111: Connection refused) while connecting to upstream, client: 172.18.0.1, server: reserveer.REDACTED.xx, request: "GET / HTTP/1.1", upstream: "http://[::1]:8345/", host: "reserveer.REDACTED.xx" Jun 04 10:57:50 2025/06/04 08:57:50 [warn] 253#253: *3369 upstream server temporarily disabled while connecting to upstream, client: 172.18.0.1, server: reserveer.REDACTED.xx, request: "GET / HTTP/1.1", upstream: "http://[::1]:8345/", host: "reserveer.REDACTED.xx" Jun 04 10:57:50 [2025-06-04 08:57:50 +0000] [260] [DEBUG] GET /
Hello @imc67
The mailing for the Pretix should be autoconfigured on every startup and is placed in the
/run/pretix/pretix.cfg
file.
Can you confirm that in that file it is correct?Even if these values are correct it seems the mail is not sent.
I have reproduced this issue and I am now looking into it. -
I think I see the problem here.
The task worker namedcelery
is configured in/run/pretix/pretix.cfg
to useredis
as thebackend
andbroker
but somehow,celery
still wants to useAMQP server (e.g. RabbitMQ)
which does not exist and fails.This might be a
celery
related issue similar to https://github.com/celery/celery/issues/6370EDIT:
This was a wild goose chase and was some based on a log message I thought saw once.
But did not lead to anything. -
I think I see the problem here.
The task worker namedcelery
is configured in/run/pretix/pretix.cfg
to useredis
as thebackend
andbroker
but somehow,celery
still wants to useAMQP server (e.g. RabbitMQ)
which does not exist and fails.This might be a
celery
related issue similar to https://github.com/celery/celery/issues/6370EDIT:
This was a wild goose chase and was some based on a log message I thought saw once.
But did not lead to anything.@james said in sending emails doesn't seem to work?:
I think I see the problem here.
The task worker namedcelery
is configured in/run/pretix/pretix.cfg
to useredis
as thebackend
andbroker
but somehow,celery
still wants to useAMQP server (e.g. RabbitMQ)
which does not exist and fails.This might be a
celery
related issue similar to https://github.com/celery/celery/issues/6370EDIT:
This was a wild goose chase and was some based on a log message I thought saw once.
But did not lead to anything.Did you managed to find the issue?