Strophe gets invalid SID
Asked Answered
P

1

6

I'm building a web based client with strophe and jquery and I'm using openfire as server. Almost everything its working, I can get the roster list, send and receive messages, but when I'm trying to change my presence from avaliable to xa or dnd or any other else the server stops answering and I start to get 404 errors on my POSTs and invalid SID messages like this: "NetworkError: 404 Invalid SID. - http://myurl.com/".

I've been through other topics around and it seems to be a problem with my avaliable credentials, but I don't have any clear evidence of what's wrong.

thanks in advance for any help.

Politico answered 15/2, 2013 at 16:59 Comment(2)
Did you find anything?Longo
Nope =( but i'm still trying!!!Andes
R
4

I'm also using Strophe and for me everything works just fine! I don't know what could be you problem, since you didn't share your code with us, so my answer probably won't help you, but here's what I do to update my presence:

connection.send($pres().c('status').t('dnd or any status you want'));
Richella answered 14/3, 2014 at 7:36 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.