-
Notifications
You must be signed in to change notification settings - Fork 997
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
docker部署MJ接口报错 #336
Comments
后端 mj_server 没填对吧 |
有大小写之分吗 我用的MJ_SERVER |
应该不是大小写的问题,用同一套地址和密钥,后端设置就是报错,前端设置就可以 |
得用大写 MJ_SERVER 设置 MJ_API_SECRET |
是的 两个都设置了 |
从api接口那里查,用环境部署的接口和密钥提交时都被默认加上了 --fast |
大部分 默认都是 fast啊 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
同样一个接口网址和令牌,用docker环境不熟的话就会报错:
{
"error": "SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON",
"code": "json_error",
"url": "/mjapi/mj/submit/imagine",
"status": 403
}
如果是在页面设置-服务器-里面填写的话就可以正常使用
The text was updated successfully, but these errors were encountered: