Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"xmpp.muc.role.get" -> room dead #53

Open
robotnic opened this issue Jan 19, 2015 · 9 comments
Open

"xmpp.muc.role.get" -> room dead #53

robotnic opened this issue Jan 19, 2015 · 9 comments

Comments

@robotnic
Copy link
Contributor

When I use the "xmpp.muc.role.get" stanza, I don't get an answer.
The connection seams to be dead after that stanza.

3:::{"type":0,"data":["xmpp.muc.role.get",{"room":"[email protected]","role":"participants"}],"id":8}

@lloydwatkin
Copy link
Member

I'm unable to recreate this locally:

screenshot from 2015-01-19 17 29 58

Are you able to provide further details/logs?

@robotnic
Copy link
Contributor Author

You can test here
http://datenkueche.com/buddycloud/
(login -> groupchat -> type nickname -> press button at right bottom corner -> dead

Socket connections are going to
"https://xmpp-ftw.jit.su/"

@lloydwatkin
Copy link
Member

Afraid without seeing logs I can't really help. May I suggest you do the following:

npm i xmpp-ftw-demo
cd node_modules/xmpp-ftw-demo
node index

Point your websocket connector at http://localhost:3000. Let me know any errors that appear whilst repeating your steps from above.

@robotnic
Copy link
Contributor Author

I installed that again on my computer. Same bug.

bildschirmfoto von 2015-01-19 21 39 35

After "xmpp.muc.role.get" no stanzas are received.

@lloydwatkin
Copy link
Member

Can you run xmpp-ftw-demo with environment variable 'DEBUG' to '*', that
will tell you everything that is going on. Please post your logs in a gist.
On 19 Jan 2015 20:42, "bz" [email protected] wrote:

I installed that again on my computer. Same bug.

[image: bildschirmfoto von 2015-01-19 21 39 35]
https://cloud.githubusercontent.com/assets/219020/5807456/d086c35e-a023-11e4-920d-c4c65a3ac13c.png

After "xmpp.muc.role.get" no stanzas are received.


Reply to this email directly or view it on GitHub
#53 (comment)
.

@robotnic
Copy link
Contributor Author

[TypeError: Cannot read property 'NS_ADMIN' of undefined]

@lloydwatkin
Copy link
Member

Could you try changing this line https://github.com/xmpp-ftw/xmpp-ftw-muc/blob/master/lib/multi-user-chat.js#L352 to read

var items = stanza.getChild('query', self.NS_ADMIN)
            .getChildren('item')

...and let me know if that corrects things? (I suspect it will)

@robotnic
Copy link
Contributor Author

That works. I made a pull request
#54

@lloydwatkin
Copy link
Member

Excellent, I'll get merged and released next time I am at a computer.
On 20 Jan 2015 14:31, "bz" [email protected] wrote:

That works. I made a pull request
#54 #54


Reply to this email directly or view it on GitHub
#53 (comment)
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants