HAProxy API Socket Unreachable – Let's Encrypt SSL Issuance Fails
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- python
- Domain
- infrastructure
Research direction
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.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- Python
- Stars
- 9.5k
- Forks
- 1.1k
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 9
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from hiddify/Hiddify-Manager
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
hiddify/Hiddify-Manager#5689 ·
Maintainers usually reply within 1 day
-
enhancement from-telegram
Difficulty 4/5 3-5 days Newbie friendliness 40/100
hiddify/Hiddify-Manager#5691 · 1 comment ·
Maintainers usually reply within 1 day
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 45/100
hiddify/Hiddify-Manager#5688 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 3/5 Half a day Newbie friendliness 45/100
hiddify/Hiddify-Manager#5687 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 20/100
hiddify/Hiddify-Manager#5685 · 1 reaction ·
Maintainers usually reply within 1 day
All issues in hiddify/Hiddify-Manager
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
Install the skills as a Claude Code pluginPossibly taken @ruban-24 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 6 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
FAIRmat-NFDI/pynxtools#874 ·
-
Eval: PublicationOpendata
Difficulty 2/5 1-3 hours Newbie friendliness 66/100