Socket Exception

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

Moderator: Qbik Staff

Socket Exception

Postby damien » Sep 04 14 5:51 am

Hi,

Since I have upgrade to windows 2012, Wingate services stops regulary (at least once a day)

I get this error in log files

Caught socket exception in CWWWSession::OnRead() reading from client error 10038 [Not a socket {Thd 5072} [socket #FFFFFFFF]] - terminating

Exceptions occure in HTTP Proxy Service (i just set log level to debug to get more informations).

Any idea ?

Best regards
damien
 
Posts: 24
Joined: Apr 02 13 10:22 pm

Re: Socket Exception

Postby adrien » Sep 04 14 5:40 pm

Hi

which version of WinGate are you running?

Regards

Adrien
adrien
Qbik Staff
 
Posts: 5448
Joined: Sep 03 03 2:54 pm
Location: Auckland

Re: Socket Exception

Postby damien » Sep 04 14 6:18 pm

Wingate 8.2.4
damien
 
Posts: 24
Joined: Apr 02 13 10:22 pm

Re: Socket Exception

Postby adrien » Sep 04 14 7:07 pm

Hi

are you getting a lot of DNS errors? Check in the DNS client log files (maybe being logged to global unless you set the client to log to its own file).

Normally we find the most common problems involve DNS, for instance using a server that doesn't have forwarders set (common in ADs), or using an ISP DNS server that is failing, or rejecting requests etc.

Regards

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

Re: Socket Exception

Postby damien » Sep 05 14 8:55 am

I was getting a lot of "NAT STATUS: spoofed packet discarded"
I have disabled 'Discard spoofed packets' in Externded Network/Firewall setup
No crash since i did it.
Wait and see...
damien
 
Posts: 24
Joined: Apr 02 13 10:22 pm

Re: Socket Exception

Postby damien » Sep 12 14 4:40 am

Hi

I'm still getting crashes at least once a day.
I really don't know what's going wrong
I get a lots of "response code 3 (NXNAME) from 192.168.0.251, processing aborted "

What are the best practices to use wingate on a W2012 server with ADDS & DNS installed ?

My configuration is
SERVER W2012
- NETWORK 1 (192.168.0.251 / 255.255.255.0 / DNS1 127.0.0.1 / DNS2) ===> Internal network
- NETWORK 2 (192.168.1.2 / 255.255.255.0 / default 192.168.1.1 / DNS1 & 2 empty) ===> ADSL Box (192.168.1.1)

Wingate DNS Client configuration :
- 127.0.0.1 (OS) checked
- 192.168.1.1 (user input) checked

- Doest it look correct ?

- Is there a way to restart automaticly wingate in case of unexpected shutdown ?

Thanks for answer
damien
 
Posts: 24
Joined: Apr 02 13 10:22 pm

Re: Socket Exception

Postby adrien » Sep 14 14 12:20 pm

HI Damien

in the OS services configuration for the Qbik WinGate Engine you can set it to restart the service if it stops unexpectedly etc.

NXNAME means no such name, and it's not an unusual response, especially for reverse IP lookups. So this is probably not significant.

But as for crashes, do you get any files in the Wingate folder called wingate_crash.....dmp? If so, can you please send them to us at support@wingate.com

Regards

Adrien
adrien
Qbik Staff
 
Posts: 5448
Joined: Sep 03 03 2:54 pm
Location: Auckland

Re: Socket Exception

Postby damien » Dec 27 14 8:38 am

Hi,

I was still experiencing some crashes (every 3 ou 4 days), so I decided to uninstall & reinstall completely wingate 8.2.5...

The result is that wingate crashes every 2 ou 3 mn... ?!
I think (not sure) that it happens when I use a notebook and connect to imap server with outlook. When the notebook is not connected to the network, it seems to work correctly.

I really need a fix for this issue because wingate has just become totally unusable :(
I'm sending dump files by mail.

Best regards,
Damien
damien
 
Posts: 24
Joined: Apr 02 13 10:22 pm

Re: Socket Exception

Postby damien » Dec 30 14 8:35 pm

I confirm that problems happen only when IMAP4 service is started.
damien
 
Posts: 24
Joined: Apr 02 13 10:22 pm

Re: Socket Exception

Postby adrien » Jan 02 15 11:02 am

Hi Damien

thanks for sending in the crash dumps. It would also be really helpful if you could do a packet capture on port 143 on the WinGate computer when the crash happens. There must be something the IMAP client in Outlook is doing that the server in WinGate isn't handling.

Another thing you could do is disable some of the options in the IMAP server in WinGate, for instance the COMPRESS extension.

Regards

Adrien
adrien
Qbik Staff
 
Posts: 5448
Joined: Sep 03 03 2:54 pm
Location: Auckland


Return to WinGate

Who is online

Users browsing this forum: No registered users and 19 guests