Skip to content
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

Open
chenxinxing opened this issue Aug 17, 2024 · 10 comments
Open

[Bug] 无法注册账号,程序报错了。 #228

chenxinxing opened this issue Aug 17, 2024 · 10 comments

Comments

@chenxinxing
Copy link

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

@jiongjiongJOJO
Copy link

+1

@Goorwl
Copy link

Goorwl commented Sep 3, 2024

+1,无法生成 account.json 文件。

@superHao2000
Copy link

+1

7 similar comments
@bilibiliworld
Copy link

+1

@devick
Copy link

devick commented Sep 6, 2024

+1

@ans0600
Copy link

ans0600 commented Sep 12, 2024

+1

@xubiaolin
Copy link

+1

@chentanwan
Copy link

+1

@leftchest
Copy link

+1

@RogerChen2005
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests