HAProxy API Socket Unreachable – Let's Encrypt SSL Issuance Fails

Aperta
#5,690 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python

Direzione di ricerca

Start by finding where the 'API socket is not reachable' error is raised in the HAProxy/ACME handling code, then check how the HAProxy config is rendered and applied and where its runtime API socket path is set. Reproduce by applying configs on a fresh 14.5.0b0 install and confirming whether the socket file exists and is writable by the panel process before the ACME map is loaded. Done means a direct-connection domain obtains a Let's Encrypt certificate without the socket error, and the reason the socket was missing is documented.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Bug/Feature:

Description: Let's Encrypt SSL certificate issuance fails due to an unreachable HAProxy API socket.

Details:

Hiddify Version: 14.5.0b0
Python Version: 3.13.17 (main, Oct 21 2026, 17:49:22) [Clang 23.1.3]
OS: Linux-6.8.0-147-generic-x86_64-with-glibc2.39
User Agent: Unknown

Problem Description:

Let's Encrypt fails to issue SSL certificates, even for domains configured for direct connections (without CDN).

The following error is displayed:

تا صدور گواهی واقعی، از گواهی خودامضا استفاده می‌شود.

letsencrypt: IssueError: HAProxy does not answer ACME challenges: its API socket is not reachable (apply the configs so HAProxy gets the ACME map)

The system also displays the following possible causes:

  • The domain must point to this server (or the CDN in front of it).
  • Port 80 must be accessible from the internet.
  • Let's Encrypt may temporarily reject requests if too many attempts are made within a short period.

Steps Already Taken:

  • Applied the configuration again.
  • Reinstalled Hiddify.
  • Retried SSL certificate issuance.
  • Tested with domains configured for direct connections (without CDN).

Expected Result:
Let's Encrypt should successfully issue SSL certificates for domains pointing directly to the server.

Actual Result:
Certificate issuance consistently fails with the HAProxy API socket error, and the system continues using a self-signed certificate.

Additional Information:
The issue persists despite reapplying configurations and reinstalling Hiddify. It appears to be related to HAProxy's API socket accessibility or ACME configuration rather than domain DNS or CDN settings.

Lingua principale
Python
Stelle
9.5k
Fork
1.1k
Merge medio
1g 2h
PR unite (30g)
9

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di hiddify/Hiddify-Manager

Tutte le issue di hiddify/Hiddify-Manager

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.