IM Gateway AIM connection reset problem

I am having issues on Openfire 3.4.5 and IM gateway 1.2.2.a. It was working fine and then everyone started having problems off and on connecting to AIM. Sometimes if they disconnect and reconnect a few times it will connect. They look like they are signed in but the buddies never show up. It just started happening and nothing changed on the Openfire server. If I reboot the server it will seem to work OK for a while…very strange. Here is the debug log of a connect attempt.

Note the line *OSCAR bos service state change from CONNECTED to NOT_CONNECTED Reason:

java.net.SocketException: Connection reset*

I think this line is the like that is showing what is happening. Am i somehow loosing a connection to AIM?

Thanks!

Greg

2008.03.24 17:08:49

Sending SNAC command: KeyRequest for screenname gdepratt78

2008.03.24 17:08:49 Setting up

SNAC request and listener: KeyRequest for screenname

gdepratt78,null

2008.03.24 17:08:49 Handling AIM-style

auth.

2008.03.24

17:08:49 Sending SNAC command: AuthRequest: sn=‘gdepratt78’,

version='ClientVersionInfo: , versionString=‘Apple iChat’, clientid=12570,

major=1, minor=0, point=0, build=388, distCode=198’,

locale=en_US

2008.03.24 17:08:49 Setting up SNAC request

and listener: AuthRequest: sn=‘gdepratt78’, version='ClientVersionInfo: ,

versionString=‘Apple iChat’, clientid=12570, major=1, minor=0, point=0,

build=388, distCode=198’, locale=en_US,null

2008.03.24 17:08:49 Got auth

response!

2008.03.24 17:08:49 Got something

else?

2008.03.24

17:08:49 042708 (01/05/00) - Connection #3 tested:

OK

2008.03.24

17:08:49 042709 (01/05/00) - Connection #3 tested:

OK

2008.03.24

17:08:49 Updating status for

TransportSession[gdepratt@openfire]

2008.03.24 17:08:49 aim: Sending packet:

<presence to=“gdepratt@openfire”

from=“aim.openfire”><status>Available</status></presence>

2008.03.24 17:08:49 OSCAR bos

service state change from NOT_CONNECTED to INITING Reason:

null

2008.03.24

17:08:49 OSCAR connection to 205.188.8.124:80

2008.03.24 17:08:49 OSCAR login

service state change from CONNECTED to NOT_CONNECTED

2008.03.24 17:08:49 OSCAR bos

service state change from INITING to RESOLVING Reason:

null

2008.03.24

17:08:49 OSCAR bos service state change from RESOLVING to CONNECTING

Reason: null

2008.03.24 17:08:49 OSCAR bos service state

change from CONNECTING to CONNECTED Reason: null

2008.03.24 17:08:49 OSCAR flap

packet received: FlapPacketEvent: flapProcessor=FlapProcessor: seqNum=SeqNum:

min=0, max=65535, last(current)=0, flapCommand=LoginFlapCmd: version=1,

cookie=null, flapPacket=FlapPacket (channel=1, seq=17335)

2008.03.24 17:08:49 OSCAR bos

service state change from CONNECTED to NOT_CONNECTED Reason:

java.net.SocketException: Connection reset

2008.03.24 17:08:57 042709 (01/05/00) -

Connection #4 tested: OK

2008.03.24 17:08:57 042710 (01/05/00) -

Connection #4 tested: OK

2008.03.24 17:09:23 042710 (01/05/00) -

Connection #5 tested: OK

2008.03.24 17:09:23 042711 (01/05/00) -

Connection #5 tested: OK

2008.03.24 17:09:23 042711 (01/05/00) -

Connection #1 tested: OK

2008.03.24 17:09:23 042712 (01/05/00) -

Connection #1 tested: OK

2008.03.24 17:09:23 Stat: muc_occupants. Last

sample: 1206396480. New sample: 1206396540

Found the issue was our redundant internet connection. There was a setting in the appliance to allow AIM traffic. I then changed the port to the standard AIM port and all started working again. I was getting dropped connections because the redundant internet appliance was doing a round robin on our IP addresses every time it tried to go to the internet…AIM server didn’t like this…