-
Notifications
You must be signed in to change notification settings - Fork 63
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
Hubot with Flowdock adapter launches but does not respond #44
Comments
Is there anything in the hubot console output after start? It should print out an array of the flow UUIDs it has access to before it starts to listen to them. This is at least visible when Also, can you check that you can get a listing of flows for the hubot user using our REST API? You can do that with following request: (the
|
Ah hah! So executing the curl returned Access Denied. It occurred to me that I setup the Flockdock user using the Google authentication and that I had not set a separate password for Flowdock. Once I did that, the curl request returned the data you predicted. I still do not see an array of flow UUIDs in the output, but hubot is now responding inside Flowdock! Perhaps clarify how to setup the Flowdock user in the instructions? I think I recall seeing someone else report that as the fault, but perhaps they were getting an actual exception which made it more obvious? Fyi, here is the output (which is the same as before fixing the password):
|
I added better instructions to the README about the password and added console logging for errors emitted from the underlying Flowdock session. That should display an error when the authentication fails due to invalid credentials. I released the changes as version For some reason, you seem to have completely different console output in the above log, so I'm not sure if the error message would have helped in your case. |
I get this behavior from OS X 10.9.2 (locally) and Windows 2012 (running on Azure). In both cases, I'm running:
Node 0.10.26
Hubot: 2.7.1
Flowdock-hubot: 0.6.0
Env. Vbl:
PORT = 8181
I created a new gmail account with a first name of Hubot, added the user to my Flowdock organization with an alias of Hubot. I logged in as the user and verified that it could join a room.
I setup the environment variables (I neglected to do this the first time and got an exception to that effect), and I launch hubot
bin\hubot.cmd -a flowdock
. Hubot inits, and I can immediately hit http://localhost:8181/hubot/help and get a response.There are no errors in the console/command prompt and no other content seems to be logged that I can find. Hubot seems to be functional, but there is no activity inside Flowdock. The user does not appear online and no variation of
Hubot help
will elicit a response. I get the same behavior in OS X as I do on Windows.My hubot-scripts.json is empty. Here is my package.json:
The text was updated successfully, but these errors were encountered: