[GH-ISSUE #3870] Bug report - The firewall will not be automatically turned off during initial installation. #2618

Closed
opened 2026-10-31 20:26:45 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @pibranran on GitHub (Feb 28, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/3870

Describe the bug

During the initial installation, the script will force the installation of an SSL certificate. If option 1 is selected at this point, the certificate delivery will fail due to the firewall not being closed or port 80 being open. The script will automatically create a certificate storage location, but since the certificate was not correctly delivered, there are no files. To reinstall the certificate, the domain must be deleted first. Using option 17 at this point will result in an error message indicating that the certificate file was not found and cannot be deleted.

At this point, the system is stuck in a vicious cycle: no certificate - inaccessible - unable to delete domain - unable to create certificate.

This leads to an endless loop where you either have to manually rmdir the folder or reinstall the operating system.

How to repeat the problem?

  1. Create VPS

  2. Start the script directly

  3. Prompt to request a certificate

  4. Certificate error

  5. Script crashes

Expected action

No response

Received action

No response

3x-ui Version

2.8.10

Xray-core Version

No response

Checklist

  • This bug report is written entirely in English.
  • This bug report is new and no one has reported it before me.
Originally created by @pibranran on GitHub (Feb 28, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/3870 ### Describe the bug During the initial installation, the script will force the installation of an SSL certificate. If option 1 is selected at this point, the certificate delivery will fail due to the firewall not being closed or port 80 being open. The script will automatically create a certificate storage location, but since the certificate was not correctly delivered, there are no files. To reinstall the certificate, the domain must be deleted first. Using option 17 at this point will result in an error message indicating that the certificate file was not found and cannot be deleted. At this point, the system is stuck in a vicious cycle: no certificate - inaccessible - unable to delete domain - unable to create certificate. This leads to an endless loop where you either have to manually `rmdir` the folder or reinstall the operating system. ### How to repeat the problem? 1. Create VPS 2. Start the script directly 3. Prompt to request a certificate 4. Certificate error 5. Script crashes ### Expected action _No response_ ### Received action _No response_ ### 3x-ui Version 2.8.10 ### Xray-core Version _No response_ ### Checklist - [x] This bug report is written entirely in English. - [x] This bug report is new and no one has reported it before me.
bsakaguchi 2026-10-31 20:26:45 +07:00
  • closed this issue
  • added the
    bug
    label
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#2618
No description provided.