-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] 无法注册账号,程序报错了。 #228
Comments
+1 |
+1,无法生成 account.json 文件。 |
+1 |
7 similar comments
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The text was updated successfully, but these errors were encountered: