vvbbnn00 / WARP-Clash-API

该项目可以让你通过订阅的方式使用Cloudflare WARP+,自动获取流量。This project enables you to use Cloudflare WARP+ through subscription, automatically acquiring traffic.
GNU General Public License v3.0
8.52k stars 1.16k forks source link

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

Open chenxinxing opened 3 months ago

chenxinxing commented 3 months ago

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 commented 3 months ago

+1

Goorwl commented 2 months ago

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

superHao2000 commented 2 months ago

+1

bilibiliworld commented 2 months ago

+1

devick commented 2 months ago

+1

ans0600 commented 2 months ago

+1

xubiaolin commented 2 months ago

+1

chentanwan commented 1 month ago

+1

leftchest commented 3 weeks ago

+1

RogerChen2005 commented 2 days ago

+1