Skip to content

first signup - email delivery error #464

@alx-xlx

Description

@alx-xlx

here is my docker-compose.yml

services:
  asciinema:
    container_name: asciinema-server
    image: ghcr.io/asciinema/asciinema-server:latest
    ports:
      - '1238:4000'
    environment:
      - SECRET_KEY_BASE=SYKts2NuF1vW0vsPutBiVY6R2mCrTiMyhay9xbjO8iVaRzfv1uiuYmhm7F8A5sUK  # <- see below
      - URL_HOST=asciinema.example.xyz
      - URL_PORT=443
      - SMTP_TLS=always
      - SMTP_PORT=587
      - SMTP_HOST=smtp.gmail.com
      - [email protected]
      - SMTP_PASSWORD=example
      - [email protected]
      - SIGN_UP_DISABLED=false
      - [email protected] # Admin Email
      - [email protected]
    volumes:
      - /home/pi/data/asciinema-server/asciinema_data:/var/opt/asciinema
    depends_on:
      postgres:
        condition: service_healthy
    labels:
      - sablier.enable=true
      - sablier.group=asciinema
    healthcheck:
      test: ["CMD", "wget", "--spider", "--timeout=5", "http://0.0.0.0:4000"]
      interval: 2s
      timeout: 5s
      retries: 10
  postgres:
    container_name: asciinema-db
    image: docker.io/library/postgres:14
    environment:
      - POSTGRES_HOST_AUTH_METHOD=trust
    volumes:
      - /home/pi/data/asciinema-server/postgres_data:/var/lib/postgresql/data
    labels:
      - sablier.enable=true
      - sablier.group=asciinema
    healthcheck:
      test: ['CMD-SHELL', 'pg_isready -U postgres']
      interval: 2s
      timeout: 5s
      retries: 10

volumes:
  asciinema_data:
  postgres_data:

here is my logs when i press the Log in button at url https://asciinema.example.xyz/login/new

05:05:02.000 request_id=GEJeIS-1tRBUdhgAAASC [info] GET /
05:05:02.003 request_id=GEJeIS-1tRBUdhgAAASC [info] Sent 200 in 2ms
05:05:03.893 request_id=GEJeIQ3HQCpWU44AAARC [warning] email delivery error: {:retries_exceeded, {:temporary_failure, ~c"142.251.12.108", :tls_failed}}
05:05:03.894 request_id=GEJeIQ3HQCpWU44AAARC [info] Sent 200 in 2463ms
warning: the log level :warn is deprecated, use :warning instead
  (logger 1.18.2) lib/logger.ex:1210: Logger.elixir_level_to_erlang_level/1
  (logger 1.18.2) lib/logger.ex:660: Logger.compare_levels/2
  (sentry 8.0.6) lib/sentry/logger_backend.ex:73: Sentry.LoggerBackend.handle_event/2
  (stdlib 5.2.3.3) gen_event.erl:814: :gen_event.server_update/4
  (stdlib 5.2.3.3) gen_event.erl:796: :gen_event.server_notify/4
  (stdlib 5.2.3.3) gen_event.erl:538: :gen_event.handle_msg/6

05:05:04.056 request_id=GEJeIao8ekhd9LAAAASi [info] GET /
05:05:04.061 request_id=GEJeIao8ekhd9LAAAASi [info] Sent 200 in 5ms
05:05:06.120 request_id=GEJeIiVLC5KEauQAAAJh [info] GET /
05:05:06.123 request_id=GEJeIiVLC5KEauQAAAJh [info] Sent 200 in 2ms
05:05:08.169 request_id=GEJeIp9ghtTqK-MAAAKB [info] GET /

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions