PassThroughProxy icon indicating copy to clipboard operation
PassThroughProxy copied to clipboard

System.IO.IOException

Open msalai opened this issue 5 years ago • 4 comments

I am frequently getting this exception: System.IO.IOException: 'Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.' Inner Exception SocketException: An existing connection was forcibly closed by the remote host

Any idea what is causing it and how can I fix it?

msalai avatar Mar 14 '19 08:03 msalai

Maybe it happens while using for https proxy of Microsoft Edge.

I found a function GetAddress in file HttpHeader.cs using default port 80, is this case port should be set as 443.

shuice avatar Nov 21 '19 02:11 shuice

Maybe it happens while using for https proxy of Microsoft Edge.

I found a function GetAddress in file HttpHeader.cs using default port 80, is this case port should be set as 443.

does this is a problem?

image

yuzd avatar Aug 10 '21 23:08 yuzd

Since it has been two years, I should think that the default 80 is inappropriate

For reasons of confidentiality, I don't have the code at the time, and I can't remember the details. I will download the project and try again.

By the way, this is a great project.

Sorry


After I tried again, for the exception, adding "try catch" can solve the a normal exception. As for port 80, I can't find an example. Maybe I made a mistake at the time.

shuice avatar Aug 11 '21 02:08 shuice

yes,this is a great project. thanks to owner.

yuzd avatar Aug 11 '21 03:08 yuzd