Skip to content

[Question] /prometheus endpoint throwing 500 error #2695

@wslyngstad

Description

@wslyngstad

Welcome!

  • I have read the documentation and my problem was not listed in the help section.
  • I have searched open and closed issues and my problem was not mentioned before.
  • I have verified I am using the latest version available. You can check the latest release here.
  • I agree to follow this project's Code of Conduct.

What did you do?

Updated to latest version, 1.13.8, and noticed I had one data source not working on my Prometheus widget. When I attempt to navigate to /prometheus I get "500 Oops, server error!" I have no restrictions on IPs and it was working until very recently. Noticed last test had no % packet loss reported, but was marked as completed . If I run another test and that one has packet loss % reported, I do not receive the 500 server error.

Image

Expected Behavior

Prometheus should be able to scrape data from http://speedtestIP/prometheus to collect historical data.

Steps to Reproduce

  1. Open Speedtest URL
  2. Run a speedtest
  3. If completed and all fields have data go to 4. If field missing data but completed, go to 5.
  4. Navigate to http:/speedtestIP:port/prometheus to review if data present.
  5. Navigate to http:/speedtestIP:port/prometheus and receive 500 Server error

Deployment Environment

Docker Compose

What is your environment & configuration?

services:
  speedtest:
    image: ghcr.io/linuxserver/speedtest-tracker:latest
    container_name: speedtest
    environment:
      - PGUID=1000
      - PGID=1000
      - TZ=America/Chicago
      - APP_TIMEZONE=America/Chicago
      - DISPLAY_TIMEZONE=America/Chicago
      - APP_KEY=REMOVED
      - SPEEDTEST_SCHEDULE=0 */4 * * *
      - SPEEDTEST_SERVERS=68860,64168,56437,7306,56441,56435,34181
      - SPEEDTEST_BLOCKED_SERVERS=20875,5342
    ports:
      - 8082:80
    volumes:
      - /home/speedtest/config:/config
      - /etc/localtime:/etc/localtime:ro
    restart: unless-stopped

Add more configuration information here.

Application Information

N/A

What browser(s) are you seeing the problem on?

Safari

Logs

[migrations] started
[migrations] 01-nginx-site-confs-default: skipped
[migrations] done
usermod: no changes
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io
───────────────────────────────────────

To support the app dev(s) visit:
speedtest-tracker: https://github.com/sponsors/alexjustesen

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    911
User GID:    1000
───────────────────────────────────────
Linuxserver.io version: v1.13.8-ls135
Build-date: 2026-02-04T19:32:27+00:00
───────────────────────────────────────
    
using keys found in /config/keys
**** The following active confs have different version dates than the samples that are shipped. ****
**** This may be due to user customization or an update to the samples. ****
**** You should compare the following files to the samples in the same folder and update them. ****
**** Use the link at the top of the file to view the changelog. ****
┌────────────┬────────────┬────────────────────────────────────────────────────────────────────────┐
│  old date  │  new date  │ path                                                                   │
├────────────┼────────────┼────────────────────────────────────────────────────────────────────────┤
│ 2024-05-27 │ 2025-05-31 │ /config/nginx/nginx.conf                                               │
│ 2023-08-13 │ 2025-07-18 │ /config/nginx/ssl.conf                                                 │
│ 2024-05-28 │ 2025-11-10 │ /config/nginx/site-confs/default.conf                                  │
└────────────┴────────────┴────────────────────────────────────────────────────────────────────────┘
[custom-init] No custom files found, skipping...
[ls.io-init] done.
[2026-02-04 14:00:48] production.DEBUG: Pinged hostname {"host":"icanhazip.com","data":{"success":true,"error":null,"host":"icanhazip.com","packet_loss_percentage":0,"packets_transmitted":1,"packets_received":1,"options":{"timeout_in_seconds":5,"interval":1.0,"packet_size_in_bytes":56,"ttl":64,"ip_version":"ipv4"},"timings":{"minimum_time_in_ms":20.953,"maximum_time_in_ms":20.953,"average_time_in_ms":20.953,"standard_deviation_time_in_ms":0.0}}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs reviewA maintainer needs to look at this issue stillquestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions