Skip to content

stirling-pdf: fails to launch on x86_64-linux #440379

@BlastboomStrice

Description

@BlastboomStrice

Nixpkgs version

  • Unstable (25.11)

Describe the bug

It appears that stirling-pdf fails to run. Visiting the https://localhost:8080/ page with (firefox-beta) browser, I get this:

Unable to connect

Firefox can’t establish a connection to the server at localhost:8080.

    The site could be temporarily unavailable or too busy. Try again in a few moments.
    If you are unable to load any pages, check your computer’s network connection.
    If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the web.

Steps to reproduce

Visit http://localhost:8080/ with the browser

Expected behaviour

Visiting http://localhost:8080/ should open the stirling-pdf site

Screenshots

No response

Relevant log output

$ sudo systemctl status stirling-pdf.service

× stirling-pdf.service
     Loaded: loaded (/etc/systemd/system/stirling-pdf.service; enabled; preset: ignored)
     Active: failed (Result: exit-code) since Fri 2025-09-05 12:41:09 EEST; 4min 22s ago
   Duration: 24.288s
 Invocation: 2512c4d781324803bedc3f46b69d45f0
    Process: 7498 ExecStart=/nix/store/rc4j5b589537q7rjsgzasza864ycd658-stirling-pdf-1.2.0/bin/Stirling-PDF (code=exited, status=1/FAILURE)
   Main PID: 7498 (code=exited, status=1/FAILURE)
         IP: 0B in, 0B out
         IO: 0B read, 12K written
   Mem peak: 584.8M
        CPU: 1min 5.242s

Sep 05 12:41:08 nixos Stirling-PDF[7498]:         at org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:687)
Sep 05 12:41:08 nixos Stirling-PDF[7498]:         at com.zaxxer.hikari.pool.ProxyConnection.prepareStatement(ProxyConnection.java:342)
Sep 05 12:41:08 nixos Stirling-PDF[7498]:         at com.zaxxer.hikari.pool.HikariProxyConnection.prepareStatement(HikariProxyConnection.java)
Sep 05 12:41:08 nixos Stirling-PDF[7498]:         at org.hibernate.engine.jdbc.internal.StatementPreparerImpl$4.doPrepare(StatementPreparerImpl.java:151)
Sep 05 12:41:08 nixos Stirling-PDF[7498]:         at org.hibernate.engine.jdbc.internal.StatementPreparerImpl$StatementPreparationTemplate.prepareStatement(StatementPreparerImpl.java:180)
Sep 05 12:41:08 nixos Stirling-PDF[7498]:         ... 76 common frames omitted
Sep 05 12:41:08 nixos Stirling-PDF[7498]: 12:41:08.670 [Thread-10] INFO  s.s.c.config.TempFileShutdownHook - Shutdown cleanup complete. Deleted 0 temporary files/directories
Sep 05 12:41:09 nixos systemd[1]: stirling-pdf.service: Main process exited, code=exited, status=1/FAILURE
Sep 05 12:41:09 nixos systemd[1]: stirling-pdf.service: Failed with result 'exit-code'.
Sep 05 12:41:09 nixos systemd[1]: stirling-pdf.service: Consumed 1min 5.242s CPU time, 584.8M memory peak, 12K written to disk.

Additional context

For clarification, I use stirling on my machine by adding this line to my config:

services.stirling-pdf.enable = true;

Also using ss I didn't find any other service using the 8080 port.

System metadata

  • system: "x86_64-linux"
  • host os: Linux 6.12.44, NixOS, 25.11 (Xantusia), 25.11.20250902.d0fc308
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.28.4
  • nixpkgs: /nix/store/8vfhnwmmzqqzy97q9c5m4bzyaqqf63zy-source

Notify maintainers

@TomaSajt


Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

I assert that this issue is relevant for Nixpkgs

Is this issue important to you?

Add a 👍 reaction to issues you find important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions