-
-
Notifications
You must be signed in to change notification settings - Fork 785
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hiddify- haproxy is not working #3470
Comments
Same problem, reinstall not help |
Title: Troubleshooting HAProxy on Port 443 I recently resolved an issue with HAProxy and wanted to share the solution. This worked for me, but it might not be applicable in all scenarios. The problem was related to HAProxy operating on port 443. In my case, port 443 was already bound to a different application, causing a conflict. Once I freed up port 443, restarting HAProxy became possible. However, keep in mind that your situation might be different. To assist you in troubleshooting, here are the steps I followed: Step 1: Verify HAProxy ConfigurationFirst, ensure your HAProxy configuration is correct. Run the following command: haproxy -c -f /etc/haproxy/haproxy.cfg This command checks if the configuration is valid. My setup uses the basic config, but ensure yours is working too. Step 1.1: Edit HAProxy ConfigurationIf there's a problem with the configuration, you can use the configuration from my setup (HAProxy version 2.8.5-1) at your own risk. Use this command to edit the config file: nano /etc/haproxy/haproxy.cfg Step 1.2: Update ConfigurationReplace the existing content in
Step 1.3: Restart HAProxyAfter updating the configuration, restart the HAProxy service with: systemctl restart haproxy.service Step 2: Check Port 443Ensure that port 443 is open and not used by other programs (excluding Xray core and Hiddify components, which are fine to run alongside HAProxy): netstat -tulnp | grep :443 Step 3: Review LogsIf the above steps don't resolve the issue, examine the HAProxy logs for clues: tail -n 30 /var/log/haproxy.log
# or view the entire file with:
cat /var/log/haproxy.log
# or
nano /var/log/haproxy.log Feel free to post your log excerpts here for community assistance. |
لطفا به آخرین نسخه آپدیت کنید. مشکل باید رفع شده باشه. در صورت وجود مشکل ایشو را باز نمایید. |
مشکل همچنان وجود داره |
Hi |
I face this problem after install
با این مشکل روبرو شدم بعد از نصب
The text was updated successfully, but these errors were encountered: