Skip to content

[Bug] Missing keys "server_id" and "server_name" in the test webhook payload #2675

@Stef-00012

Description

@Stef-00012

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?

The payload of a test webhook triggered in the Notification settings' "Test webhook channel" button does not include the server_id and server_name keys

Image of the payload received by my webhook Image

Expected Behavior

According to the documentation (https://docs.speedtest-tracker.dev/settings/notifications/webhook#payload) the payload is

{
  "result_id": 1,
  "site_name": "Speedtest Tracker",
  "server_name": "Speedtest",
  "server_id": 52365,
  "isp": "Super Speed",
  "ping": 2.782,
  "download": 937874216,
  "upload": 937797864,
  "packet_loss": 0,
  "speedtest_url": "https://www.speedtest.net/result/c/af8ddebf-7ef7-4b8d-b0c1-aaaaaaaaaaaa",
  "url": "http://localhost/admin/results"
}

which includes

"server_name": "Speedtest",
"server_id": 52365,

Steps to Reproduce

  1. Set up a webhook listener (in my case i used N8N)
  2. Trigger a test playload via the "Test webhook channel" button
  3. Look at the payload sent, it does not include the server_id and server_name keys

Deployment Environment

Docker Compose

What is your environment & configuration?

services:
    speedtest-tracker:
        image: lscr.io/linuxserver/speedtest-tracker:latest
        restart: unless-stopped
        container_name: speedtest-tracker
        ports:
            - 127.0.0.1:6080:80
        environment:
            - PUID=1000
            - PGID=1000
            #- APP_DEBUG=true
            - APP_KEY=<REDACTED>
            - DB_CONNECTION=sqlite
            - APP_TIMEZONE=Europe/Rome
            - DISPLAY_TIMEZONE=Europe/Rome
            - SPEEDTEST_SCHEDULE=0 */3 * * *
            - SPEEDTEST_BLOCKED_SERVERS=68567
            - APP_URL=https://<REDACTED>
            - ASSET_URL=https://<REDACTED>
            - PUBLIC_DASHBOARD=true
            - APP_NAME=Speedtest
        volumes:
          - ./config:/config

Add more configuration information here.

Nginx configuration:
server {
	server_name <REDACTED>;

	location / {
		proxy_pass http://127.0.0.1:6080;
		proxy_set_header Upgrade $http_upgrade;
		proxy_set_header Connection $http_connection;
		proxy_http_version 1.1;
		proxy_set_header Host $host;
		proxy_set_header X-Real-IP $remote_addr;
		proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
		proxy_set_header X-Forwarded-Proto $scheme;
	}

    listen [::]:443 ssl; # managed by Certbot
    listen 443 ssl; # managed by Certbot
    ssl_certificate /etc/letsencrypt/live/speedtest.stefdp.com/fullchain.pem; # managed by Certbot
    ssl_certificate_key /etc/letsencrypt/live/speedtest.stefdp.com/privkey.pem; # managed by Certbot
    include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
    ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot

}
server {
    if ($host = <REDACTED>) {
        return 301 https://$host$request_uri;
    } # managed by Certbot


	server_name <REDACTED>;
	
    listen 80;
    listen [::]:80;
    return 404; # managed by Certbot


}

Application Information

{
    "environment": {
        "application_name": "Speedtest",
        "laravel_version": "12.41.1",
        "php_version": "8.4.16",
        "composer_version": "2.9.4",
        "environment": "production",
        "debug_mode": false,
        "url": "<REDACTED>",
        "maintenance_mode": false,
        "timezone": "Europe\/Rome",
        "locale": "en"
    },
    "cache": {
        "config": true,
        "events": true,
        "routes": true,
        "views": true
    },
    "drivers": {
        "broadcasting": "null",
        "cache": "database",
        "database": "sqlite",
        "logs": "stderr",
        "mail": "log",
        "queue": "database",
        "session": "database"
    },
    "storage": {
        "\/app\/www\/public\/storage": false
    },
    "filament": {
        "version": "v4.1.0",
        "packages": "filament, forms, notifications, support, tables, actions, infolists, schemas, widgets",
        "views": "NOT PUBLISHED",
        "blade_icons": "CACHED",
        "panel_components": "CACHED"
    },
    "livewire": {
        "livewire": "v3.7.1"
    },
    "speedtest_tracker": {
        "version": "v1.13.5"
    }
}

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

Chrome

Logs

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

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

   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:    1000
User GID:    1000
───────────────────────────────────────
Linuxserver.io version: v1.13.5-ls133
Build-date: 2026-01-24T21:28:11+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                                                                   │
├────────────┼────────────┼────────────────────────────────────────────────────────────────────────┤
│ 2025-05-31 │ 2025-11-10 │ /config/nginx/site-confs/default.conf                                  │
└────────────┴────────────┴────────────────────────────────────────────────────────────────────────┘
[custom-init] No custom files found, skipping...
[ls.io-init] done.

Metadata

Metadata

Assignees

No one assigned

    Labels

    choreNothing fancy, just needs to get done

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions