Open marsanla opened 10 years ago
try running him with:
export HUBOT_LOG_LEVEL="debug" then you can see more infos whats wrong after hes connecting in your log
None of those look like actual errors. The StringPrep line comes from a library hubot-xmpp uses and can be safely ignored. All the other output is informational logging from npm.
I would recommend trying debug logging as well.
After doing:
export HUBOT_LOG_LEVEL="debug"
I have these, but nothing more happends...
[Fri Mar 07 2014 07:51:04 GMT-0500 (EST)] DEBUG Loading adapter xmpp
Cannot load StringPrep-0.1.0 bindings. You may need to `npm install node-stringprep'
[Fri Mar 07 2014 07:51:04 GMT-0500 (EST)] INFO { username: 'hubot',
password: '********',
host: 'http://localhost',
port: '5222',
rooms: [ { jid: 'hubot@conference.13genius.com', password: false } ],
keepaliveInterval: 30000,
legacySSL: '0',
preferredSaslMechanism: undefined,
disallowTLS: undefined }
any help?
Normally the next thing that happens is the bot shows itself going on line and joining rooms.
The same problem... could be the problem in the node version (0.10.26)? or because i am using ldap with openfire?
PS: i try to connect hubot with hipchat and is working... perfectly
Well I can try installing openfire and see if I can reproduce, but I don't really have the time/knowledge to set up an ldap server.
Hi Marcos,
I am using openfire 3.9.1 with hubot without any problem. What exactly do you expect to see in the console? AFAIK, the output you send is normal and you should see your bot connected on the jabber server.
What are you expecting to see/get?
Manuel
On Mon, Mar 10, 2014 at 8:54 AM, Mark Story notifications@github.comwrote:
Well I can try installing openfire and see if I can reproduce, but I don't really have the time/knowledge to set up an ldap server.
Reply to this email directly or view it on GitHubhttps://github.com/markstory/hubot-xmpp/issues/64#issuecomment-37178696 .
Hi, I had the same problem today, then I have checked the log in openfire, and it is handshake problem with node-xmpp. So I found solution from http://www.lordofthejars.com/2012/10/installing-and-running-hubot-terminator.html
There are few tips here, you may account:
I am using 3.8.2 openfire. Since this problem is not caused by the xmpp-server side(openfire), I don't think the version will matter.
Good luck with your hubot.
Mine was not connecting to my openfire 3.9.1 when specifying HUBOT_XMPP_USERNAME=user@server.fqdn.com
I was getting authentication failure.
I used the shortname of the server and its working now.
I'm getting a: "ERROR Received error XMPP authentication failure" when starting my bot. I've run out of options for debugging. I'm trying to connect to Openfire 4.0.4.
I have tried rolling back to previous versions of Openfire (3.9.1 and 3.7.1) and disabling TLS as advised in http://www.lordofthejars.com/2012/10/installing-and-running-hubot-terminator.html. Have there been any changes since these posts were listed?
My environment variables are: HUBOT_XMPP_PASSWORD=password HUBOT_LOG_LEVEL=debug HUBOT_XMPP_USERNAME=aga@iguana HUBOT_XMPP_HOST=127.0.0.1 HUBOT_XMPP_PORT=5222 HUBOT_XMPP_ROOMS=mapchat@conference.iguana
I can't fault these.
I'm using hubot-xmpp 0.2.4 and running nodejs v6.9.2.
User accounts and chat rooms are all set-up on the server and can be connected to and used by a client.
Any pointers for resolving this would be much appreciated. I'm guessing its something simple I've missed? Happy to provide more info.
Hi I installed Openfire and hubot, and both of them are working. Hubot is working in CLI mode. And Openfire is working, i connect with a LDAP and i created a user for hubot, and everything is correct until there.
I follow this http://www.lordofthejars.com/2012/10/installing-and-running-hubot-terminator.html
Enviroments config:
Command executed in Terminal
This is the error what i got after executing:
... And nothing happends after this...
My nodeJs version (Using nvm) is
My "npm ls" is
And... when i am installing hubot with "npm install", i get these errors:
WHERE IS THE PROBLEM?
THANKS!!