Skip to content

[Bug] Ping is failing during internet check starting from v1.13.0 #2611

@BizkitCake

Description

@BizkitCake

Pre-work

  • I have read the docs.
  • I have searched open and closed issues.
  • I agree to follow this project's Code of Conduct.

Description

Ping is failing in versions after v1.13.0 including the latest.
Last version where everything worked - v1.12.4

If i change version to 1.12.4 - it is working fine.
I noticed it, because my internet speed monitoring stopped working for month without me doing any changes. Research led me to #2560 but I've tried this version and it persists.

Error shown in Results dashboard per failed test: Failed to connected to hostname "icanhazip.com". Error received "unknownError".

If i switch image to 1.12.4 - it works perfectly fine without any other changes.

Results Dashboard with versions tested.

Image

Expected Behavior

Ping command not failing, so the whole test is running successfully.

Steps to Reproduce

  1. Deploy version after 1.12.4
  2. Run test on unprivileged docker container

Deployment Environment

Docker Compose

Application Information

services:
  speedtest:
    image: lscr.io/linuxserver/speedtest-tracker:1.13.4
    restart: unless-stopped
    container_name: speedtest-tracker
    security_opt:
      - no-new-privileges:true
    networks:
      - t3_proxy
    environment:
      - PUID=1000
      - PGID=1000
      - APP_KEY=****
      - DB_CONNECTION=sqlite
      - SPEEDTEST_SCHEDULE="15 */4 * * *"
      - DISPLAY_TIMEZONE=****
    volumes:
      - $APPDATA/speedtest:/config
    labels:
      - "traefik.enable=true"
      # HTTP Router
      - "traefik.http.routers.speedtest.entrypoints=websecure-internal"
      - "traefik.http.routers.speedtest.rule=Host(`speed.$DOMAINNAME_3`)"
      # Middlewares
      - "traefik.http.routers.speedtest.middlewares=chain-no-auth@file"
      # HTTP Services
      - "traefik.http.routers.speedtest.service=speedtest"
      - "traefik.http.services.speedtest.loadbalancer.server.port=80"

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

Chrome

Logs

[2025-12-28 13:21:06] production.INFO: Pinged hostname {"host":"icanhazip.com","data":
  {"success":false,"error":"unknownError","host":"icanhazip.com","packet_loss_percentage":100,"packets_transmitted":null,"packets_received":null,"options":
  {"timeout_in_seconds":5,"interval":1.0,"packet_size_in_bytes":56,"ttl":64},"timings":
  {"minimum_time_in_ms":null,"maximum_time_in_ms":null,"average_time_in_ms":null,"standard_deviation_time_in_ms":null},"raw_output":"
  ping: socktype: SOCK_RAW
  ping: socket: Operation not permitted
  ping: => missing cap_net_raw+p capability or setuid?
  ","lines":[]}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions