-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
HipChat adapter fails to connect with nickname with non-ASCII chars #47
Comments
Just to clarify, my own hipchat bot (HippyBot) connects fine with the exact same nickname, password, JID, etc. |
I don't think the hipchat adapter uses the hipchat name for connecting, it should be just the JID + password. I tested with a HUBOT_HIPCHAT_NAME='Hu ボット' and it worked fine. |
I think his error is due to an incorrect password or JID. Maybe leaving out "@chat.hipchat.com" in the JID. Just to be sure I tested myself and it worked fine locally with unicode characters. Also, I discovered that the "Wobot" library used silently fails when connecting with the incorrect full name. |
@codafoo true, it should only need the full nickname on room join. It looks like the XMPP error I was getting was the JID, after dropping @chat.hipchat.com it's fine. I'm now getting another error:
|
Sorry if I wasn't clear, but the JID requires the "@chat.hipchat.com", perhaps double check your password? |
@codafoo I actually knew this, from my own bot, without looking at the code thought maybe it got added somewhere, her der derp. So with correct JID, and correct password, still receive undefined XMPP error. |
|
Aha, it refused to connect unless I also added the resource to the JID, e.g. |
Our server should send back a not-acceptable "Resource is required" error in this case by the way. Would be good to show error details in the client if possible. |
There's an If it's a connection error reported by Node, the callback receives an error object, and the log would then show multiple lines with properties like Worth cleaning up for better error reporting, but right not it's possible to tell whether error is generated by HipChat or earlier on by client code. |
Fix NickServ IDENTIFY messages for irc.mozilla.org - Fixes hubotio#46
…4.17.21 chore(deps): bump lodash from 4.17.11 to 4.17.21
Using
heroku config:add HUBOT_HIPCHAT_NAME='Totoro トトロ'
, while the name string should be unicode (both in heroku and in Node), hubot fails with the error:2011-10-26T09:51:34+00:00 app[app.1]: Received error from HipChat: XMPP authentication failure undefined
The text was updated successfully, but these errors were encountered: