Open StartHua opened 2 years ago
I get the same exception, but with every site I try to visit.
Setup: Titanium Proxy Server Basic Example running on Hyper-V host (10.1.1.10): 0.0.0.0:8000 Nuget package 3.1.1397 I've commented out the line
//proxyServer.SetAsSystemProxy(explicitEndPoint, ProxyProtocolType.AllHttp);
Hyper-V guest VM with proxy set to 10.1.1.10:8000 Host and Guest are on the same Internal network.
Partial log from sample code:
Tunnel to: www.google.com
Tunnel to: fonts.gstatic.com
Tunnel to: www.gstatic.com
Couldn't authenticate host 'www.google.com' with certificate '*.google.com'.
Tunnel to: www.google.com
Tunnel to: www.google.com
Couldn't authenticate host 'www.google.com' with certificate '*.google.com'.
Couldn't authenticate host 'www.google.com' with certificate '*.google.com'.
Active Client Connections:6
http://edge.microsoft.com/captiveportal/generate_204
Error occured whilst handling session request: Could not establish connection to edge.microsoft.com
Couldn't authenticate host 'fonts.gstatic.com' with certificate '*.gstatic.com'.
Couldn't authenticate host 'www.gstatic.com' with certificate '*.gstatic.com'.
Tunnel to: a.nel.cloudflare.com
Couldn't authenticate host 'a.nel.cloudflare.com' with certificate '*.nel.cloudflare.com'.
Tunnel to: sso.godaddy.com
Couldn't authenticate host 'sso.godaddy.com' with certificate '*.godaddy.com'.
Tunnel to: self.events.data.microsoft.com
Couldn't authenticate host 'self.events.data.microsoft.com' with certificate '*.events.data.microsoft.com'.
Tunnel to: self.events.data.microsoft.com
Couldn't authenticate host 'self.events.data.microsoft.com' with certificate '*.events.data.microsoft.com'.
Tunnel to: self.events.data.microsoft.com
Couldn't authenticate host 'self.events.data.microsoft.com' with certificate '*.events.data.microsoft.com'.
If I uncomment the SetAsSystemProxy line, same results from the guest VM, but the host handles the proxy just fine. All test conducted with the latest Edge (chromium) and IE11 on latest Windows 11 (host) and Windows 10 (guest)
I have the same problem using any https domain, but only using curl within the terminal. If i access the same domain through a browser then it goes through the proxy fine, but all curl https requests fail with an error like this:
Titanium.Web.Proxy.Exceptions.ProxyConnectException: Couldn't authenticate host 'google.com' with certificate 'google.com'. ---> System.IO.IOException: Authentication failed because the remote party has closed the transport stream.
Any idea why curl would be failing, but browser is working?
Couldn't authenticate host 'www.baidu.com' with certificate '*.baidu.com'.
A call to SSPI failed, see inner exception.???