Quantcast
Channel: Ignite Realtime : All Content - Openfire Dev
Viewing all articles
Browse latest Browse all 966

Prebind not working due to RID

$
0
0

Hello,

 

I have searched for similar issues/questions here but haven't found anything.

 

I am using Java babbler to sign a user in to the openfire server and retrieve the RID and SID, using BOSH.

 

I then pass these values to the front end Converse.js client to use the started session. At this point I would have thought that I need to increment the RID by one and use that, if I do that I get a message like this in the openfire logs

 

2015.05.13 08:53:18 org.jivesoftware.openfire.http.HttpSession - Request 1389515084177898 > 1389515084177897, ending session.

 

and the user is disconnected.

 

If I leave the RID as is and do not increment it I can see that the user is connected though in the next request to the server (converse.js increments the RID as it should) and I see the openfire log message again ie

 

2015.05.13 08:53:18 org.jivesoftware.openfire.http.HttpSession - Request 1389515084177898 > 1389515084177897, ending session.

 

and the user is disconnected again. I am not sure why openfire is not allowing the rid to be incremented.

 

If I log the user in direct from the converse.js client ie there is no prebind then everything works as it should.

 

Can anyone shed any light on this? All help appreciated.

 

Thanks,

 

Robert


Viewing all articles
Browse latest Browse all 966

Trending Articles