SOCKS Server Started Failing

Use this forum to post questions relating to WinGate, feature requests, technical or configuration problems

Moderator: Qbik Staff

SOCKS Server Started Failing

Postby deepsoni » May 31 18 2:23 pm

I'm not sure what happened here, but some sites are no longer working through the SOCKS server now after months of no problem. For example when I try to visit: https://www.tonymacx86.com/

I get this ERR_SOCKS_CONNECTION_FAILED error:
Image

When I look in the logs (Control Panel -> Logging -> Type:Global -> Log files [tab]), I see some entires such as this:
"Caught socket exception in CSOCKSSession::OnRead() lookup for http://www.tonymacx86.com failed - terminating "
Image

Occasionally I see this:
"Caught socket exception in CSOCKSSession::OnClose() Connection Reset by Remote Host - terminating "
Image

This particular site is consistently a failure, but I see others like this too. What's going on here? When I connect straight through the ISP there is no problem, so it seems to be something happening when WinGate is in the mix.
deepsoni
 
Posts: 2
Joined: May 31 18 2:01 pm

Re: SOCKS Server Started Failing

Postby adrien » Jun 13 18 7:46 am

Hi

that DNS lookup failure and the connection reset by peer issue tend to indicate there's some underlying issue with either DNS resolution and/or something upstream terminating connections.

To check the DNS issues, you can enable debug logging in the DNS Client. It's not unusual for WinGate's DNS client to be using different servers than the OS resolver, so you can get different results there between a browser going via the proxy or directly from the proxy computer.

In the case where the traffic is https, then the client will be sending TLS handshake information which includes the server name (SNI) indication, so for example if you're connecting to a site which is hosted on a large hosting provider and they move the site, then a cached DNS result may result in this disconnection where the server on that IP is no longer serving that website.

Do you have a large minimum TTL / cache expiry set in the WinGate DNS client?

Regards

Adrien de Croy
adrien
Qbik Staff
 
Posts: 5441
Joined: Sep 03 03 2:54 pm
Location: Auckland


Return to WinGate

Who is online

Users browsing this forum: Google [Bot] and 33 guests

cron