登录会跳转报错页面 #9362
Replies: 13 comments
-
|
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. |
Beta Was this translation helpful? Give feedback.
-
|
Hi @qhs200312! I'm Dosu and I’m helping the lobe-chat team. 你的登录跳转到报错页面(error=Configuration)是 NextAuth.js 配置错误导致的,常见原因是环境变量未正确设置。请重点检查以下几点:
如果环境变量都没问题但依然报错,可以尝试重启或重新部署服务。有类似问题的用户通过升级到新版本(如 1.45.11 及以上)解决了登录回调相关 bug参考。 官方文档有详细环境变量说明和配置示例,建议对照检查:环境变量文档。 To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
Operational in v1.122.6 and broke in v1.122.7 |
Beta Was this translation helpful? Give feedback.
-
|
如何部署的? 411f88e 的验证流程绝对有所修改,但是逻辑上是没问题的。大概率是部署时的网络问题。排查发现1: 我出现这个问题,是因为使用 Podman 部署。无根容器使用 Pasta 作为网络栈时,从容器内访问主机服务(我这里是 Nginx)需要特别将域名引向网关( Footnotes |
Beta Was this translation helpful? Give feedback.
-
|
@HexStan 26888 是你通过公网通过反向代理访问的端口吗?还是你 LobeChat 监听的端口 |
Beta Was this translation helpful? Give feedback.
-
@HexStan 26888 Is it the port you accessed through the reverse proxy through the public network? Or the port you listen to in LobeChat |
Beta Was this translation helpful? Give feedback.
-
是的,没事了,我已经排查出原因了。 |
Beta Was this translation helpful? Give feedback.
-
Yes, it's okay, I've found out the reason. |
Beta Was this translation helpful? Give feedback.
-
|
我使用1panel的反向代理进行的,我修改了OpenResty里面的配置文件,就可以了,似乎是拦截了casdoor的一个请求地址导致的登录失败 |
Beta Was this translation helpful? Give feedback.
-
I used the reverse proxy of 1panel. I modified the configuration file in OpenResty and it was fine. It seems that the login failure caused by intercepting a request address of the casdoor. |
Beta Was this translation helpful? Give feedback.
-
|
我也是这样,研究半天了,问AI,AI都不知道什么错误,胡乱回答 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
📦 部署环境
Docker
📦 部署模式
服务端模式(lobe-chat-database 镜像)
📌 软件版本
1.27.3
💻 系统环境
Other Linux
🌐 浏览器
Edge
🐛 问题描述
部署完成后点击登录按钮会跳转到报错的页面
📷 复现步骤
No response
🚦 期望结果
No response
📝 补充信息
No response
Beta Was this translation helpful? Give feedback.
All reactions