Bug 2477798

Summary: Endless start stop start loop when starting service
Product: [Fedora] Fedora Reporter: Jan Macku <jamacku>
Component: nghttp2Assignee: Jan Macku <jamacku>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 45CC: extras-qa, jamacku, kdudka, lzqhwo, msekleta
Target Milestone: ---   
Target Release: ---   
Hardware: aarch64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: 2460065 Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2460065    
Bug Blocks:    

Description Jan Macku 2026-05-15 07:45:58 UTC
+++ This bug was initially created as a clone of Bug #2460065 +++

When attempting to start nghttpx, the service successfully launches but then times out, terminating the service, resulting in an endless restart loop.

Systemd service is Type=notify - does this need changing?

Apr 21 13:19:22 instance systemd[1]: Starting nghttpx.service - HTTP/2 proxy...
Apr 21 13:19:22 instance nghttpx[1780]: 2026-04-21T13:19:22.502Z 1780 1780 ed612864 NOTICE (shrpx.cc:3274) Loading configuration from /etc/nghttpx/nghttpx.conf
Apr 21 13:19:22 instance nghttpx[1780]: 2026-04-21T13:19:22.502Z 1780 1780 ed612864 NOTICE (shrpx.cc:1467) Worker process [1781] spawned
Apr 21 13:19:22 instance nghttpx[1781]: 2026-04-21T13:19:22.504Z 1780 1781 ed612864 NOTICE (shrpx_worker.cc:892) Listening on 127.0.0.1:3000
Apr 21 13:19:22 instance nghttpx[1781]: 2026-04-21T13:19:22.504Z 1780 1781 ed612864 NOTICE (shrpx_connection_handler.cc:306) [LISTEN:0x0000aaaaf71ed380] Created worker thread #0
Apr 21 13:19:22 instance nghttpx[1780]: 2026-04-21T13:19:22.505Z 1780 1780 ed612864 NOTICE (shrpx.cc:1240) Worker process pid=1781 is ready
Apr 21 13:20:07 instance systemd[1]: nghttpx.service: start operation timed out. Terminating.
Apr 21 13:20:07 instance nghttpx[1781]: 2026-04-21T13:20:07.725Z 1780 1781 ed612864 NOTICE (shrpx_worker_process.cc:126) Graceful shutdown signal received
Apr 21 13:20:07 instance nghttpx[1781]: 2026-04-21T13:20:07.725Z 1780 1781 a17e5c9a NOTICE (shrpx_worker.cc:530) [WORKER:0x0000aaaaf721b1e0] Graceful shutdown commencing
Apr 21 13:20:07 instance nghttpx[1781]: 2026-04-21T13:20:07.726Z 1780 1781 ed612864 NOTICE (shrpx.cc:1420) Worker process shutting down momentarily
Apr 21 13:20:07 instance nghttpx[1780]: 2026-04-21T13:20:07.727Z 1780 1780 ed612864 NOTICE (shrpx_log.cc:837) Worker process: [1781] exited normally with status 0x00000000; exit status 0
Apr 21 13:20:07 instance nghttpx[1780]: 2026-04-21T13:20:07.727Z 1780 1780 ed612864 NOTICE (shrpx.cc:4945) Shutdown momentarily
Apr 21 13:20:07 instance systemd[1]: nghttpx.service: Failed with result 'timeout'.
Apr 21 13:20:07 instance systemd[1]: Failed to start nghttpx.service - HTTP/2 proxy.
Apr 21 13:20:07 instance systemd[1]: nghttpx.service: Scheduled restart job, restart counter is at 4.


Reproducible: Always

Steps to Reproduce:
1. Install nghttpx
2. Create /etc/nghttpx/nghttpx.conf with frontend=127.0.0.1,3000;no-tls
3. sudo systemctl start nghttpx
4. journalctl -u nghttpx.service -f

Comment 1 Aoife Moloney 2026-08-17 14:39:56 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 45 development cycle.
Changing version to 45.