ERROR:root:Failed to load account from file: [Errno 2] No such file or directory: 'account/account.json'
2024-08-17 00:28:34,970 - INFO - No account found, register a new one
INFO:app_background:No account found, register a new one
ERROR:apscheduler.executors.default:Job "doAddDataTaskOnce (trigger: interval[0:00:18], next run at: 2024-08-17 00:28:52 UTC)" raised an exception
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/apscheduler/executors/base.py", line 125, in run_job
retval = job.func(*job.args, **job.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/services/tasks.py", line 39, in doAddDataTaskOnce
account = getCurrentAccount(logger)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/services/common.py", line 38, in getCurrentAccount
account = register(pubkey, privkey)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/services/cloudflare.py", line 111, in register
response.raise_for_status()
File "/usr/local/lib/python3.11/site-packages/requests/models.py", line 1021, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://api.cloudflareclient.com/v0i2308311933/reg
ERROR:root:Failed to load account from file: [Errno 2] No such file or directory: 'account/account.json' 2024-08-17 00:28:34,970 - INFO - No account found, register a new one INFO:app_background:No account found, register a new one ERROR:apscheduler.executors.default:Job "doAddDataTaskOnce (trigger: interval[0:00:18], next run at: 2024-08-17 00:28:52 UTC)" raised an exception Traceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/apscheduler/executors/base.py", line 125, in run_job retval = job.func(*job.args, **job.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/services/tasks.py", line 39, in doAddDataTaskOnce account = getCurrentAccount(logger) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/services/common.py", line 38, in getCurrentAccount account = register(pubkey, privkey) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/services/cloudflare.py", line 111, in register response.raise_for_status() File "/usr/local/lib/python3.11/site-packages/requests/models.py", line 1021, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://api.cloudflareclient.com/v0i2308311933/reg