[GH-ISSUE #1641] 使用git clone时报错context canceled 500 #1298

Closed
opened 2026-05-05 12:49:36 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @yizems on GitHub (Feb 6, 2020).
Original GitHub issue: https://github.com/fatedier/frp/issues/1641

Issue is only used for submiting bug report and documents typo. If there are same issues or answers can be found in documents, we will close it directly.
(为了节约时间,提高处理问题的效率,不按照格式填写的 issue 将会直接关闭。)
(请不要在 issue 评论中出现无意义的 加1我也是 等内容,将会被直接删除。)
(由于个人精力有限,和系统环境,网络环境等相关的求助问题请转至其他论坛或社交平台。)

Use the commands below to provide key information from your environment:
You do NOT have to include this information if this is a FEATURE REQUEST

What version of frp are you using (./frpc -v or ./frps -v)?
0.29

What operating system and processor architecture are you using (go env)?
win7 客户端 win10 服务端

Configures you used:

正常的tcp映射,跟readme中最简单的一样

Steps to reproduce the issue:
1.映射 gitlab 服务 到 服务端
2.然后服务端 访问 gitlab网页,正常
3.当 用git clone 的时候就会报500错误,提示context canceled

必现

我的 远程桌面是可以用的

Describe the results you received:

Describe the results you expected:

Additional information you deem important (e.g. issue happens only occasionally):

Can you point out what caused this issue (optional)

Originally created by @yizems on GitHub (Feb 6, 2020). Original GitHub issue: https://github.com/fatedier/frp/issues/1641 Issue is only used for submiting bug report and documents typo. If there are same issues or answers can be found in documents, we will close it directly. (为了节约时间,提高处理问题的效率,不按照格式填写的 issue 将会直接关闭。) (请不要在 issue 评论中出现无意义的 **加1**,**我也是** 等内容,将会被直接删除。) (由于个人精力有限,和系统环境,网络环境等相关的求助问题请转至其他论坛或社交平台。) Use the commands below to provide key information from your environment: You do NOT have to include this information if this is a FEATURE REQUEST **What version of frp are you using (./frpc -v or ./frps -v)?** 0.29 **What operating system and processor architecture are you using (`go env`)?** win7 客户端 win10 服务端 **Configures you used:** 正常的tcp映射,跟readme中最简单的一样 **Steps to reproduce the issue:** 1.映射 gitlab 服务 到 服务端 2.然后服务端 访问 gitlab网页,正常 3.当 用git clone 的时候就会报500错误,提示context canceled 必现 我的 远程桌面是可以用的 **Describe the results you received:** **Describe the results you expected:** **Additional information you deem important (e.g. issue happens only occasionally):** **Can you point out what caused this issue (optional)**
Author
Owner

@yizems commented on GitHub (Feb 6, 2020):

我觉的可能是请求头不一样,我还未找到原因

在客户端是可以正常clone的,不知是否我漏配置了什么

<!-- gh-comment-id:582904766 --> @yizems commented on GitHub (Feb 6, 2020): 我觉的可能是请求头不一样,我还未找到原因 在客户端是可以正常clone的,不知是否我漏配置了什么
Author
Owner

@yizems commented on GitHub (Feb 6, 2020):

Screenshot_20200206_220618_com microsoft rdc android
Screenshot_20200206_220734

补充下配置,因为是用手机开操作的,不太好截图

<!-- gh-comment-id:582922243 --> @yizems commented on GitHub (Feb 6, 2020): ![Screenshot_20200206_220618_com microsoft rdc android](https://user-images.githubusercontent.com/16949474/73944345-08615400-48b8-11ea-9789-28d4af4251bb.png) ![Screenshot_20200206_220734](https://user-images.githubusercontent.com/16949474/73944363-0e573500-48b8-11ea-8034-192b8d2e0f71.png) 补充下配置,因为是用手机开操作的,不太好截图
Author
Owner

@fatedier commented on GitHub (Feb 12, 2020):

错误日志。

为什么是 http_proxy,不是简单映射 gitlab 的端口?

<!-- gh-comment-id:584992402 --> @fatedier commented on GitHub (Feb 12, 2020): 错误日志。 为什么是 http_proxy,不是简单映射 gitlab 的端口?
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: github-starred/frp#1298
No description provided.