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

Unable to connect to on-prem HipChat with XMPP disabled #305

Open
krutaw opened this issue Jan 5, 2018 · 5 comments
Open

Unable to connect to on-prem HipChat with XMPP disabled #305

krutaw opened this issue Jan 5, 2018 · 5 comments

Comments

@krutaw
Copy link

krutaw commented Jan 5, 2018

By default, in the latest versions of on-prem HipChat, XMPP is disabled. Unfortunately, the ability to turn on XMPP is something that Atlassian has stated will be removed altogether in the next version. This basically means that simply turning on XMPP is not an option.

While attempting to connect to the HipChat server, I receive a repetitive list of the following messages:
[Fri Jan 05 2018 17:29:34 GMT-0500 (EST)] INFO Connection went offline
[Fri Jan 05 2018 17:29:34 GMT-0500 (EST)] DEBUG Disconnecting here

The messages do stop after about 15 seconds, and Hubot fails to respond to anything other than a break command.

Just for completion purposes, here's the output when executing the bot:

bin/hubot -a hipchat
up to date in 1.968s
[Fri Jan 05 2018 17:35:12 GMT-0500 (EST)] DEBUG Loading adapter hipchat
[Fri Jan 05 2018 17:35:12 GMT-0500 (EST)] DEBUG HipChat adapter options: {"jid":"[email protected]","password":"","token":"","rooms":"@conf.btf.hipchat.com","rooms_blacklist":"","rooms_join_public":true,"host":"","bosh":"https:///http-bind","autojoin":true,"xmppDomain":"conf.btf.hipchat.com","reconnect":true}
[Fri Jan 05 2018 17:35:12 GMT-0500 (EST)] INFO Connecting HipChat adapter...

Environment file:
###HIPCHAT####
export HUBOT_HIPCHAT_JID=[email protected]
export HUBOT_HIPCHAT_PASSWORD=********
export HUBOT_HIPCHAT_HOST=*************************
export HUBOT_LOG_LEVEL=debug
export HUBOT_HIPCHAT_XMPP_DOMAIN=conf.btf.hipchat.com
export HUBOT_HIPCHAT_BOSH_URL=https://*************************/http-bind
export HUBOT_HIPCHAT_RECONNECT=false
HUBOT_HIPCHAT_JOIN_PUBLIC_ROOMS=true
HUBOT_HIPCHAT_JOIN_ROOMS_ON_INVITE=true
HUBOT_HIPCHAT_ROOMS=[email protected]
###HIPCHAT####

While I have seen a few others having password problems, I did verify that the password for the user in question is indeed known and working. Any ideas on how to resolve this issue?

@krutaw
Copy link
Author

krutaw commented Jan 5, 2018

Note that while the text on the post filters out the password *'s that I put in, the password was indeed populated in both the environment file as well as the output from Hubot.

@mihaiturcu
Copy link

hitting the same issue..

@michalvanco
Copy link

hitting the same issue here as well..

@rberrelleza
Copy link
Contributor

I believe this to be a side effect of https://confluence.atlassian.com/hipchatkb/xmpp-bosh-clients-not-working-in-hipchat-datacenter-946019722.html. The workaround mentioned there might help unblock hubot users until that issue is fixed.

@tardoe
Copy link

tardoe commented Aug 24, 2018

This is what you want:

hipchat network --enable-xmpp-ports

Run this as the admin user from the hipchat on-prem appliance.

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

5 participants