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

生成报错403 #3

Open
luoshui-coder opened this issue Oct 22, 2024 · 4 comments
Open

生成报错403 #3

luoshui-coder opened this issue Oct 22, 2024 · 4 comments

Comments

@luoshui-coder
Copy link

佬,请教下部署后,生图报错403,是不是cloudflare哪里配置有问题呢?

image
image

image
image

@snakeying
Copy link
Owner

hmmm,看上去应该是你的CF_ACCOUNT_ID或者CF_API_TOKEN环境变量有问题,因为提示Cloudflare返回了403错误(服务器理解客户的请求,但拒绝处理它,通常由于服务器上文件或目录的权限设置导致的WEB访问错误)

@luoshui-coder
Copy link
Author

image

image
image

请问token要怎么配置?

@toniexly
Copy link

image

image image

请问token要怎么配置?

token是自己设的,你随意来个随机字符串就行

@goodmanzeng
Copy link

image

image image

请问token要怎么配置?

有一个woker ai的读取权限就行了。

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

4 participants