From 15ffd846ef74aaffce26b22f7ed2b6422706ebf9 Mon Sep 17 00:00:00 2001 From: usmannasir Date: Wed, 31 Jan 2024 14:42:28 +0500 Subject: [PATCH] updated error message to better reflect the situation --- plogical/backupUtilities.py | 1 - plogical/virtualHostUtilities.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/plogical/backupUtilities.py b/plogical/backupUtilities.py index e6687c649..6f738e74a 100755 --- a/plogical/backupUtilities.py +++ b/plogical/backupUtilities.py @@ -814,7 +814,6 @@ def startRestore(backupName, dir): try: version = backupMetaData.find('VERSION').text build = backupMetaData.find('BUILD').text - twoPointO = 1 except: twoPointO = 0 diff --git a/plogical/virtualHostUtilities.py b/plogical/virtualHostUtilities.py index 8afa802eb..028e07b86 100644 --- a/plogical/virtualHostUtilities.py +++ b/plogical/virtualHostUtilities.py @@ -247,7 +247,7 @@ def OnBoardingHostName(Domain, tempStatusPath, skipRDNSCheck): SSLProvider = x509.get_issuer().get_components()[1][1].decode('utf-8') 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.writeToFile(message) config['hostname'] = Domain