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

Cannot create hubot #9

Open
MattMencel opened this issue Aug 29, 2014 · 3 comments
Open

Cannot create hubot #9

MattMencel opened this issue Aug 29, 2014 · 3 comments

Comments

@MattMencel
Copy link

Hi...I'm new to docker and hubot. I've got all the docker containers running and can log into the hubot-control container from my browser. When I go to create a hubot with the following options...

Title: hipchat-hubot
Name: hubot
Adapter: hipchat
HTTP Port: 8000
Test Port: 9000

...and click the CREATE button....the browser button says "Building Hubot" but eventually just times out after about 30 seconds and my hubot doesn't get created. The browser page shows "No data received". I'm not sure what's going on...can you help point me in the right direction?

Do I have to setup the container ports first?

@MattMencel
Copy link
Author

I am behind a corporate proxy and I'm pretty sure that's the issue.

npm http GET https://registry.npmjs.org/hubot-scripts
npm http GET https://registry.npmjs.org/hubot
E, [2014-08-29T16:27:47.011754 #1] ERROR -- : worker=0 PID:42 timeout (31s > 30s), killing
E, [2014-08-29T16:27:47.019336 #1] ERROR -- : reaped #<Process::Status: pid 42 SIGKILL (signal 9)> worker=0
I, [2014-08-29T16:27:47.027597 #89]  INFO -- : worker=0 ready

I need to add these configs to npm in the hubot-control container...

npm config set proxy http://proxy.company.com:8080
npm config set https-proxy http://proxy.company.com:8080

Haven't figured out how to do that yet.

@spajus
Copy link
Owner

spajus commented Aug 30, 2014

Have you tried putting this into before_start.sh? You can find it in hubot's configuration page.

@MattMencel
Copy link
Author

How do I get to that before_start.sh script in the hubot-control docker container?

If it's in the config for each individual hubot created in hubot-control, I can't create any hubots....so I can't get to it's config page.

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