mirror of
https://github.com/ErlichLiu/DeepClaude.git
synced 2026-04-25 05:05:57 +03:00
[GH-ISSUE #103] [Question]: 服务器部署后,打开却是 {"detail":"Missing Authorization header"} ? 请教解决办法。 #73
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/DeepClaude#73
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @KingPollux on GitHub (Mar 19, 2025).
Original GitHub issue: https://github.com/ErlichLiu/DeepClaude/issues/103
提问前确认
问题类别
安装/配置
您的问题
我在本地Windows系统可以正常运行,尝试在腾讯云的 Cloud Studio 上运行。
当我一切就绪,打开页面却是:
{"detail":"Missing Authorization header"}请问我应该如何解决这个问题?
背景信息
步骤大概是这样的:
在腾讯的
ide.cloud.tencent.com上创建了通用工作空间,使用All in one的开发环境,导入了仓库,就这个https://g.../E.../deepclaude.git。进入后能直接看到所有文件都已下载好。然后我用
curl -LsSf https://astral.sh/uv/install.sh | sh下载了uv环境,并通过uv sync配置了虚拟环境。.venv文件就在这个应用的文件夹下。然后我通过
source .venv/bin/activate运行并进入虚拟环境。最后通过
uvicorn app.main:app --host 0.0.0.0 --port 8000运行了程序。最后我尝试打开网页页面,却得到了一个空白页面,并提示
{"detail":"Missing Authorization header"}。我在本地Windows下,使用同样的步骤(不同命令符),能正常打开网页代码示例(如适用)
其他信息
No response
@Superflash1 commented on GitHub (Mar 19, 2025):
访问 http://127.0.0.1:8000/config就行,你应该是访问的 http://127.0.0.1:8000
@KingPollux commented on GitHub (Mar 19, 2025):
谢谢谢谢~~~我大意了~~🤣🤣🤣