Skip to content

容器安装初始失败 #10

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

Closed
PowerfulHacker opened this issue Jan 12, 2025 · 6 comments
Closed

容器安装初始失败 #10

PowerfulHacker opened this issue Jan 12, 2025 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@PowerfulHacker
Copy link

info: {{{
Failure
Unable to retrieve server settings and status
}}}
我已经导入sql

image

@PowerfulHacker
Copy link
Author

OK ,OK 已解决

@PowerfulHacker
Copy link
Author

我容器还没有启动好, 80端口 的 web 服务还未启动,误认为 9000 端口是初始化 lab page

@PowerfulHacker
Copy link
Author

建议对首页做一个重定向登录,不然误以为未安装成功
image

@whgojp
Copy link
Owner

whgojp commented Jan 12, 2025

师傅你好👋,关于部署后访问报错状态码为 400 的问题,目前已成功解决。问题的根源是在 1.2 版本迭代过程中,由于在优化 Spring Security 配置文件时,误添加了一段代码:
http.exceptionHandling().authenticationEntryPoint(new HttpStatusEntryPoint(HttpStatus.BAD_REQUEST));
此代码将未授权访问的默认响应修改为返回 400 状态码,导致异常行为。经代码回溯后,注释该行配置后问题已恢复正常。
如有其他问题,欢迎随时联系🤝。
Clipboard_Screenshot_1736687696

@whgojp whgojp self-assigned this Jan 12, 2025
@whgojp whgojp added the bug Something isn't working label Jan 12, 2025
@whgojp whgojp pinned this issue Jan 12, 2025
@PowerfulHacker
Copy link
Author

OK , 原来如此,明白

@whgojp whgojp closed this as completed Jan 15, 2025
@manbo001
Copy link

为啥部署好之后 就断网了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants