justcoding121 / titanium-web-proxy

A cross-platform asynchronous HTTP(S) proxy server in C#.
MIT License
1.93k stars 611 forks source link

Net 5.0 Support #811

Closed vuminhquang closed 3 years ago

vuminhquang commented 3 years ago

Hello, I tested Titanium with Net 5.0. Seems that the proxy not work

net5.0
  1. Rebuilt with no problem
  2. Start proxy server instance: listen(endPoint) -> passed with port opened
  3. Tested by using proxy as system proxy: no connection could be made.

Sincerely

CRC32EX commented 3 years ago

Same here.

Windows

net5.0 and version 3.1.1301 is not working on my environment. But, net5.0 and version 3.0.684 is working on my environment.

dotnet add package Titanium.Web.Proxy --version 3.0.684

HttpProxyServer.csproj

<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>net5.0</TargetFramework>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Titanium.Web.Proxy" Version="3.0.684" />
  </ItemGroup>

</Project>

image

Environment

Linux

Version is not matter.

net5.0 and version 3.1.1301 is not working on my environment. net5.0 and version 3.0.684 is not working on my environment.

netcoreapp3.1 and version 3.1.1301 is working on my environment. netcoreapp3.1 and version 3.0.684 is working on my environment.

proxy test

I'm wait 1 minutes, but no response on net5.0

curl http://api.ipify.org/ -x http://127.0.0.1:1234

Environment

vuminhquang commented 3 years ago

Hello, Tested on Windows, latest running version is 3.1.1218.

Thanks CRC32EX

honfika commented 3 years ago

please try te latest package

vuminhquang commented 3 years ago

tested the latest package, can run on Windows. Thanks @honfika , @justcoding121