-
-
Notifications
You must be signed in to change notification settings - Fork 10.6k
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
[Bug] Docker Compose 部署 LobeChat 服务端,使用域名模式部署,为什么部署完成后访问 auth-ui 页面,一直被重定向对话 #4892
Comments
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. |
登录鉴权使用默认 Logto ,通过ip+端口访问也有相同问题 |
@SarcomTDG 你好!我是Dosu,一个可以帮助你解决软件问题、回答疑问并成为贡献者的机器人。我会在等待人类维护者的过程中帮助你。 I found a similar open issue related to Docker Compose deployment of LobeChat, where users experienced redirection errors or "unknown-session" errors. The suggested solutions include:
These steps might help resolve the issue you're encountering with the "404 Page Not Found" error and redirection problems. |
The default Logto is used for login authentication, and access through ip+port also has the same problem. |
域名是解析在Cloudflare上吗? |
Is the domain name resolved on Cloudflare? |
不是,我是放到阿里云上面,域名指向服务器ip,通过nginx转发到内网里面另外一台服务器上,再通过这台服务器nginx转发到指定端口。 |
No, I put it on Alibaba Cloud, the domain name points to the server IP, forwards it to another server in the intranet through nginx, and then forwards it to the specified port through nginx of this server. |
不然试试casdoor吧,Logto部署好像一堆问题。 |
Otherwise, try casdoor. Logto deployment seems to have a lot of problems. |
通过域名发布 casdoor有相关参考文档和docker-compose.yml吗? |
Publish via domain name Does casdoor have relevant reference documents and docker-compose.yml? |
环境变量
记得要在casdoor里设置callback |
environment variables
Remember to set callback in casdoor |
logto部署成功后要先访问它的 adminui 进行管理员注册,已有相关 issue ,你可以搜搜。 |
After logto is successfully deployed, you must first access its adminui to register as an administrator. There are related issues, you can search them. |
使用 docker deploy logto v1.6 将始终重定向到 /unknown-session看了下有点头大,感觉默认教程用这个说明有点不明确 |
Using docker deploy logto v1.6 will always redirect to /unknown-session It’s a bit confusing after reading it. I feel that the default tutorial uses this description. a bit unclear |
那就用casdoor或logto saas版代替咯 |
Then use casdoor or logto saas version instead. |
📦 部署环境
Docker
📌 软件版本
last
💻 系统环境
Ubuntu
🌐 浏览器
Chrome
🐛 问题描述
Docker Compose 部署 LobeChat 服务端,使用域名模式部署,为什么部署完成后访问auth-ui页面,一直被重定向缺失对话
📷 复现步骤
No response
🚦 期望结果
登录LobeChat webui平台
📝 补充信息
No response
The text was updated successfully, but these errors were encountered: