mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-07 05:45:59 +01:00
updated error message to better reflect the situation
This commit is contained in:
@@ -814,7 +814,6 @@ class backupUtilities:
|
|||||||
try:
|
try:
|
||||||
version = backupMetaData.find('VERSION').text
|
version = backupMetaData.find('VERSION').text
|
||||||
build = backupMetaData.find('BUILD').text
|
build = backupMetaData.find('BUILD').text
|
||||||
|
|
||||||
twoPointO = 1
|
twoPointO = 1
|
||||||
except:
|
except:
|
||||||
twoPointO = 0
|
twoPointO = 0
|
||||||
|
|||||||
@@ -247,7 +247,7 @@ class virtualHostUtilities:
|
|||||||
SSLProvider = x509.get_issuer().get_components()[1][1].decode('utf-8')
|
SSLProvider = x509.get_issuer().get_components()[1][1].decode('utf-8')
|
||||||
|
|
||||||
if SSLProvider == 'Denial':
|
if SSLProvider == 'Denial':
|
||||||
message = 'Failed to issue Hostname SSL, either its DNS record is not propagated or the domain is behind Cloudflare. [404]'
|
message = 'Failed to issue Hostname SSL, either its DNS record is not propagated or the domain is behind Cloudflare. If DNS is already propagated you might have reached Lets Encrypt limit, please wait before trying again.. [404]'
|
||||||
logging.CyberCPLogFileWriter.statusWriter(tempStatusPath, message)
|
logging.CyberCPLogFileWriter.statusWriter(tempStatusPath, message)
|
||||||
logging.CyberCPLogFileWriter.writeToFile(message)
|
logging.CyberCPLogFileWriter.writeToFile(message)
|
||||||
config['hostname'] = Domain
|
config['hostname'] = Domain
|
||||||
|
|||||||
Reference in New Issue
Block a user