xiaos911
xiaos911
> 您好!MJ的代理地址均已部署完毕,mj proxy api可正常访问,提交对话/mj ,提示:任务提交失败: 状态码:401 响应体:{"error":true,"msg":"empty access code"} 同样的问题 不知道哪里出问题了。
midjourney-proxy 服务部署Zeabur ``` PORT=8080 mj_discord_guild_id=xxx mj_discord_channel_id=xxx mj_discord_user_token=xxx ``` https://**.zeabur.app/mj 能打开首页。未设置任何参数。 ChatGPT-Midjourney 前端部署Vercel `CODE=** OPENAI_API_KEY=** MIDJOURNEY_PROXY_URL=https://**.zeabur.app:8080 ` 访问**.vercel.app 可以chatgpt访问聊天。 不能/mj cat。 任务提交失败: 状态码:401 响应体:{"error":true,"msg":"empty access code"}
> 访问需要输入code 才能进行chatgpt问答。也就是前端chatgpt这边都是正常的,就是前端管MJ 这边出了问题。 服务部署Zeabur 的Runtime logs都正常 Tomcat started on port(s): 8080 (http) with context path '/mj' Documentation plugins bootstrapped Found 1 custom documentation plugin(s) Scanning for api listing references...
问题解决,把端口取消就正常了。
我把删除PORT=8080, 代理地址直接用https://**.zeabur.app 就没有401错误了。
Very regrettable
同问