FastGithub
FastGithub copied to clipboard
当我使用corkscrew转换38457来加速git clone
Bug描述 当我使用corkscrew转换38457来加速git clone,我尝试过把端口换成7890,clash自带的代理接口,是没有问题的。只有使用了FastGithub的38457就会出现下列的错误信息。
重现步骤
- vi ~/.ssh/config
- ProxyCommand /usr/local/bin/corkscrew 127.0.0.1 38457 %h %p
- git clone [email protected]:dotnetcore/FastGithub.git
软件信息
- 操作系统: [e.g. fedora silverblue 35]
- FastGithub: [e.g. v2.1.4]
错误信息 2022-05-05T15:28:51.4509827+08:00 [ERR] Microsoft.AspNetCore.Server.Kestrel Connection id "0HMHED27CKND8", Request id "0HMHED27CKND8:00000002": An unhandled exception was thrown by the application. System.ArgumentException: The parameter 'host' cannot be an empty string. at System.Net.DnsEndPoint..ctor(String , Int32 , AddressFamily ) at FastGithub.HttpServer.HttpProxyMiddleware.GetUpstreamEndPointsAsync(HostString host, CancellationToken cancellationToken)+MoveNext() at FastGithub.HttpServer.HttpProxyMiddleware.GetUpstreamEndPointsAsync(HostString host, CancellationToken cancellationToken)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult() at FastGithub.HttpServer.HttpProxyMiddleware.CreateConnectionAsync(HostString host, CancellationToken cancellationToken) at FastGithub.HttpServer.HttpProxyMiddleware.CreateConnectionAsync(HostString host, CancellationToken cancellationToken) at FastGithub.HttpServer.HttpProxyMiddleware.InvokeAsync(HttpContext context) at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication`1 application)