I have managed to create a working AS3 XIFF chat, and everything works just fine, except that from the beginning my chat keeps tracing a XIFF error 500.
Does anyone have any idea why I could be getting this error? I want to get rid of it.
(Also I have noticed that the users that log-in through the AS3 chat can been seen through the openfire admin console, but their presence appears to be offline - perhaps the issues are related?)
I have never got a 500 error, however I have noticed that when users initially logs on, their presence is offline. If I recall correctly, the database doesn’t have a row to store the user’s Presence. So you would need to “restore” it for each session. The Presence.show property isn’t really a problem to restore, its Presence.status. Presence.status, is the user’s tag-line that he or she can assign any string value for. So the user needs to retype their status for each session.
At least that is how I see it, but I could be wrong.
That is some helpful info about the presence that I didn’t know,
however, the main issue remains, and the strangest thing is that the chat works, the users log-in, they enter a room, they chat, they can destroy the room - in short, everything works, except for that annoying error 500 on connect.
This is probably the result of the XIFF library not supporting a feature in your xmpp server. I traced the code and found this to be the souce of my 500 errors when logging in.