Skip to content

[BUG] Status failed, no notification #66

@bondskin

Description

@bondskin

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Last night, the daily speedtest job failed, according to the logs:
Failed to connected to hostname "icanhazip.com". Error received "unknownError".

No notification was send.
I did not encounter any other network or Internet related issue and "unknownError" is quite unspecific, but might be related to icanhazip.com, it worked later today.

Expected Behavior

email notification about failed job

Steps To Reproduce

as explained above

Environment

- OS:Debian 13
- How docker service was installed:
Docker Compose

CPU architecture

x86-64

Docker creation

services:
  speedtest-tracker:
    image: lscr.io/linuxserver/speedtest-tracker:latest
    container_name: speedtest-tracker
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/Berlin
      - APP_KEY="xxx"
      - APP_URL="http://mcp.ip:8980"
      - DB_CONNECTION=sqlite
      - SPEEDTEST_SCHEDULE="3 5 * * *"
      - SPEEDTEST_SERVERS=31469
      - DISPLAY_TIMEZONE=Europe/Berlin #optional
      - PRUNE_RESULTS_OLDER_THAN=90 #optional
      - MAIL_MAILER=smtp
      - MAIL_HOST=smtp.gmail.com
      - MAIL_PORT=465
      - MAIL_USERNAME=xxx
      - MAIL_PASSWORD="xxx"
      - MAIL_FROM_ADDRESS="xxx"
      - MAIL_FROM_NAME="Speedtest Tracker"
      - MAIL_SCHEME=smtps
    volumes:
      - /home/mcp/docker/speedtest/data:/config
    ports:
      - 8980:80
    mem_limit: 512m
    cpus: 0.5
    restart: unless-stopped
    healthcheck:
      #test: curl -fSs APP_URL/api/healthcheck | jq -r .message || exit 1
      test: ["CMD-SHELL", "curl -fSs http://localhost:80/api/healthcheck | jq -r .message || exit 1"]
      interval: 125s
      retries: 3
      start_period: 30s
      timeout: 10s

Container logs

using keys found in /config/keys
[custom-init] No custom files found, skipping...
[ls.io-init] done.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Issues

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions