In the below VPN log snppet, we can see that the Proxy Server configuration and Logout Script configured are pushed once the user has established the VPN session.
Once the user has logged out from VPN plugin, the Logout script should get executed and clear the proxy server configuration from browser. Whereas in the below log snippet, we can see that the logout script has failed to launch with the error 2. Thus, the logout script has failed to execute and did not clear the proxy configuration from Client browser.
VPN Log snippet from client machine:
------------------------------------------------------------------------------------------
Phase: Login phase
------------------------------------------------------------------------------------------
13:54:09.225 | DEBUG | username is 'XYZ'
13:54:09.225 | DEBUG | Always on enabled. Sub settings received from server are
internet access on failure = enabled, client controls = enabled, Location Detection = enabled
13:54:09.225 | DEBUG | SetAlwaysOnVal: success
13:54:09.337 | DEBUG | As always on is enabled, forcing windows always-on and discarding timeouts if they have been set
13:54:09.225 | DEBUG | VPN plugin recived follwing config {"Version": 1,"Username": "XYZ","Tunnel": {"Split-Tunnel": "REVERSE","Split-DNS": "REMOTE","{"Protocol": "ANY","Type": "IPV4","Start": "143.216.94},"AlwaysON": {"Network-Access": true,"Location-Detection": true,"Client-Control": true},"EPA": {},"Proxy": {"Proxy-Server": "<Proxy ServerIP:Port Nmber>",","Logout-Script": "\\\\10.x.x.x\\tools\\2proxy.bat"},"Client-Cleanup": {}}
13:54:09.362 | DEBUG | ns_SetIEConnectionProxy: type=3 bReturn=1
13:54:09.362 | DEBUG | ns_SetIEConnectionProxy: proxy=<Proxy server IP>:<Port Number>
------------------------------------------------------------------------------------------
Phase: Logout Phase
------------------------------------------------------------------------------------------
13:54:46.600 | DEBUG | ns_logout: starting logout
13:54:46.601 | DEBUG | ns_logout: finished logout
------------------------------------------------------------------------------------------
Phase: Logout Phase
------------------------------------------------------------------------------------------
13:54:46.601 | DEBUG | ns_logout: starting logout
13:54:54.699 | DEBUG | DoOnLogout: calling ns_stop_vpn
13:54:54.699 | DEBUG | ns_stop_vpn_prelogout() called
13:54:54.699 | EVENT | Launching logout script
13:54:54.699 | VERBOSE | Launching script - \\10.x.x.x\tools\2proxy.bat
13:54:54.699 | DEBUG | ns_callcreateprocessW: launching \\10.x.x.x\tools\2proxy.bat
13:55:43.874 | EVENT | ns_callcreateprocessW: CreateProcess \\10.x.x.x\tools\2proxy.bat failed, error 2.
13:55:58.147 | DEBUG | ns_SetFirefoxConnectionProxy called
13:55:58.147 | DEBUG | ns_SetFirefoxConnectionProxy finished
13:56:01.618 | DEBUG | Ignoring system proxy as always on is enabled