ConexionDave
asked on
Iseries WS session keeps disconnecting after periods of inactivity
We have recently experienced constant disconnects on users' WS sessions. All PC users have a WS session file to connect to our AS/400. We have recently installed a ServGate M30 sercuity device/firewall. Aftewards, sessions constantly disconnect after periods of inactivity. All PCs are running XP pro, SP 2. All users are connected to our internal network. There are 2 users connected to our DMZ that do not experience this problem.
My troubleshooting has included the following:
1. A constant ping to the IP of the AS/400 shows no communication loss.
2. I created a KeepAliveTime DWORD in the registry (LocalMachine\CurrentContr olSet\Serv ices\TcpIp \Parameter s\ and set it to 3600000 seconds (decimal)
3. I created a startup script at login - CWBCOPWR /KA:1 /MKA:60,3600
I have looked navigated through the ServGate device and do not see anything that would cause the disconnect because of inactivity.
Any help or suggestions is much appreciated.
My troubleshooting has included the following:
1. A constant ping to the IP of the AS/400 shows no communication loss.
2. I created a KeepAliveTime DWORD in the registry (LocalMachine\CurrentContr
3. I created a startup script at login - CWBCOPWR /KA:1 /MKA:60,3600
I have looked navigated through the ServGate device and do not see anything that would cause the disconnect because of inactivity.
Any help or suggestions is much appreciated.
I would check to see if the ServGate is actually passing the keepalive packets.
I would also check DB2 log on the iSeries server to see if it is showing anything.
Prior to using the ServGate, what were you using as a firewall?
I would also check DB2 log on the iSeries server to see if it is showing anything.
Prior to using the ServGate, what were you using as a firewall?
ASKER
Prior to the ServGate, we were using a DLINK firewall, and also had a Symantec Security device.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I've changed the regestiry to send keep alives every minute if there is inactity for a 5 minute period. Unfortuantely, I can't predict when the session will disconnect. Seemingly, it varies.
ASKER
I did find a timer value on our firewall. It was set to 15 minutes. Changing the value to 60 did the trick. thanks giltjr.
Glad to be of help.
https://www.experts-exchange.com/Programming/Programming_Platforms/AS400/
-- DaveSlash