[GH-ISSUE #103] [Question]: 服务器部署后,打开却是 {"detail":"Missing Authorization header"} ? 请教解决办法。 #73

Closed
opened 2026-02-27 01:56:06 +03:00 by kerem · 2 comments
Owner

Originally created by @KingPollux on GitHub (Mar 19, 2025).
Original GitHub issue: https://github.com/ErlichLiu/DeepClaude/issues/103

提问前确认

  • 我已经查看了项目文档并没有找到答案
  • 我已经搜索了现有的 issues,确认没有类似的问题

问题类别

安装/配置

您的问题

我在本地Windows系统可以正常运行,尝试在腾讯云的 Cloud Studio 上运行。
当我一切就绪,打开页面却是: {"detail":"Missing Authorization header"}

请问我应该如何解决这个问题?

Image

Image

背景信息

步骤大概是这样的:
在腾讯的 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下,使用同样的步骤(不同命令符),能正常打开网页

Image

代码示例(如适用)


其他信息

No response

Originally created by @KingPollux on GitHub (Mar 19, 2025). Original GitHub issue: https://github.com/ErlichLiu/DeepClaude/issues/103 ### 提问前确认 - [x] 我已经查看了项目文档并没有找到答案 - [x] 我已经搜索了现有的 issues,确认没有类似的问题 ### 问题类别 安装/配置 ### 您的问题 我在本地Windows系统可以正常运行,尝试在腾讯云的 Cloud Studio 上运行。 当我一切就绪,打开页面却是:` {"detail":"Missing Authorization header"}` 请问我应该如何解决这个问题? ![Image](https://github.com/user-attachments/assets/e5e353c7-2651-4d4d-93c6-c215f518c469) ![Image](https://github.com/user-attachments/assets/e3483d59-e066-4d01-8e18-99fadcd98c0f) ### 背景信息 步骤大概是这样的: 在腾讯的 `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下,使用同样的步骤(不同命令符),能正常打开网页 ![Image](https://github.com/user-attachments/assets/d09a9584-30f8-4822-8986-8df942a99acf) ### 代码示例(如适用) ```shell ``` ### 其他信息 _No response_
kerem 2026-02-27 01:56:06 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@Superflash1 commented on GitHub (Mar 19, 2025):

访问 http://127.0.0.1:8000/config就行,你应该是访问的 http://127.0.0.1:8000

<!-- gh-comment-id:2735896166 --> @Superflash1 commented on GitHub (Mar 19, 2025): 访问 http://127.0.0.1:8000/config就行,你应该是访问的 http://127.0.0.1:8000
Author
Owner

@KingPollux commented on GitHub (Mar 19, 2025):

访问 http://127.0.0.1:8000/config就行,你应该是访问的 http://127.0.0.1:8000

谢谢谢谢~~~我大意了~~🤣🤣🤣

<!-- gh-comment-id:2738176106 --> @KingPollux commented on GitHub (Mar 19, 2025): > 访问 [http://127.0.0.1:8000/config就行,你应该是访问的](http://127.0.0.1:8000/config%E5%B0%B1%E8%A1%8C%EF%BC%8C%E4%BD%A0%E5%BA%94%E8%AF%A5%E6%98%AF%E8%AE%BF%E9%97%AE%E7%9A%84) http://127.0.0.1:8000 谢谢谢谢~~~我大意了~~🤣🤣🤣
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/DeepClaude#73
No description provided.