Skip to content
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: Fix the incorrect model interface address caused a 307 redirect to HTTP, blocking the request and preventing the display of the model list. #1182

Merged
merged 5 commits into from
Mar 25, 2024

Conversation

wertycn
Copy link
Contributor

@wertycn wertycn commented Mar 23, 2024

如下图 ,代码中发起的 https://mydomain/v1/models/ 请求,多了/ 被服务端307重定向为 http://mydomain/v1/models , https 协议变为http 导致请求被浏览器拦截
image

通常,服务部署不会将https证书部署到服务内,而是通过外部nginx 进行转发,该问题将会导致https 下运行中模型列表无法显示

@XprobeBot XprobeBot added the bug Something isn't working label Mar 23, 2024
@XprobeBot XprobeBot added this to the v0.9.5 milestone Mar 23, 2024
@wertycn wertycn changed the title BUG: Fix the incorrect model interface address causing the service-side 307 redirect, https request becomes http request blocked by the browser security policy, resulting in the model list not being displayed during operation. BUG: Fix the incorrect model interface address caused a 307 redirect to HTTP, blocking the request and preventing the display of the model list. Mar 23, 2024
@ChengjieLi28 ChengjieLi28 merged commit fbae7d3 into xorbitsai:main Mar 25, 2024
12 checks passed
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

Successfully merging this pull request may close these issues.

None yet

3 participants