mirror of
https://github.com/aaPanel/aaPanel.git
synced 2026-08-17 21:25:47 +02:00
Fix the error of renewing the SSL script
This commit is contained in:
+2
-2
@@ -1505,13 +1505,13 @@ fullchain.pem Paste into certificate input box
|
||||
if 'next_retry_time' in self._config['orders'][i]:
|
||||
timeout = self._config['orders'][i]['next_retry_time'] - int(time.time())
|
||||
if timeout > 0:
|
||||
write_log('|-The domain name skipped this time: {}, because the last renewal failed, you still need to wait {} hours and try again'.format(self._config['orders'][index]['domains'],int(timeout / 60 / 60)))
|
||||
write_log('|-The domain name skipped this time: {}, because the last renewal failed, you still need to wait {} hours and try again'.format(self._config['orders'][i]['domains'],int(timeout / 60 / 60)))
|
||||
continue
|
||||
|
||||
# 是否到了最大重试次数
|
||||
if 'retry_count' in self._config['orders'][i]:
|
||||
if self._config['orders'][i]['retry_count'] >= 3:
|
||||
write_log('|-Skip the domain name this time: {}, this certificate will not be renewed due to failure to renew 3 times in a row'.format(self._config['orders'][index]['domains']))
|
||||
write_log('|-Skip the domain name this time: {}, this certificate will not be renewed due to failure to renew 3 times in a row'.format(self._config['orders'][i]['domains']))
|
||||
continue
|
||||
|
||||
# 加入到续签订单
|
||||
|
||||
Reference in New Issue
Block a user