11 Replies Last post: Jan 8, 2008 5:16 PM by Kochka  
Doug McCall Bronze 17 posts since
Mar 26, 2007
Currently Being Moderated

May 10, 2007 8:17 AM

Xiff 3 Beta Stream Closing Error

I''ve been noticing that if the server disconnects the xiff client (most likely for any reason, but in my particular case due to being idle), the socketReceivedData handler doesn''t seem to be able to process the </flash:stream> closing tag properly - and in fact there''s nothing to even check for this that I can see.  This causes an exception as soon as parseXML is called on that closing tag for some reason.

 

I know I must be missing why this was implemented this way, but I was curious if there is a fix in existence for this or if this is something I could contribute.  Thanks!

David Chen   4 posts since
May 18, 2007
Currently Being Moderated
May 22, 2007 9:13 PM in response to: Doug McCall
Re: Xiff 3 Beta Stream Closing Error

Can you elaborate on what parts of the AS3xmpp code you copied to fix the socketReceivedData error?  I am running into the exact same problem and would love to find a solution!  Thanks.

 

-David

oli Bronze 12 posts since
May 28, 2007
Currently Being Moderated
May 28, 2007 7:26 AM in response to: Doug McCall
Re: Xiff 3 Beta Stream Closing Error

why do we need <flash:stream />?

Walt Schlender Bronze 22 posts since
May 31, 2007
Currently Being Moderated
Jun 1, 2007 3:52 PM in response to: Doug McCall
Re: Xiff 3 Beta Stream Closing Error

Hmmm....

 

Looks like I''m having the same problem too. Is the disconnect due to inactivity a setting within openfire?

 

I thought there was a setting preventing the server from ever booting a user and that I had that set. Doesn''t seem to be working... hmmm...

 

-Walt

Walt Schlender Bronze 22 posts since
May 31, 2007
Currently Being Moderated
Jun 1, 2007 4:15 PM in response to: Doug McCall
Re: Xiff 3 Beta Stream Closing Error

Hmm...

 

Just upgraded to the latest openfire and that seemed to solve the disconnect problems.

Walt Schlender Bronze 22 posts since
May 31, 2007
Currently Being Moderated
Jun 2, 2007 3:28 AM in response to: Walt Schlender
Re: Xiff 3 Beta Stream Closing Error

Never mind -- still disconnects just takes longer to do so. It also no longer throws the old error.

Adlan Bronze 7 posts since
Jan 7, 2008
Currently Being Moderated
Jan 7, 2008 6:52 PM in response to: Walt Schlender
Re: Xiff 3 Beta Stream Closing Error

I send keepAlive every minute to avoid disconnections

Kochka Bronze 5 posts since
Jan 8, 2008
Currently Being Moderated
Jan 8, 2008 5:16 PM in response to: Adlan
Re: Xiff 3 Beta Stream Closing Error

Yes, me too. I've put an idle timer reseted by actions (in/out), and when it reach 1 min, keep alive is sent.

More Like This

  • Retrieving data ...