github/janky — Issue #12: "Failed to create hook" Exception
Author: jsmestad
Created: 2011-12-23 22:32:02+00:00
State: open

```ruby
2011-12-23T22:28:50+00:00 heroku[router]: Error H13 (Connection closed without response) -> POST simple-stream-7761.herokuapp.com/_hubot/setup dyno=web.1 queue= wait= service= status=503 bytes=
2011-12-23T22:28:50+00:00 app[web.1]: ERROR: Janky::Error - Failed to create hook
2011-12-23T22:28:50+00:00 app[web.1]: app janky
2011-12-23T22:28:50+00:00 app[web.1]: method POST
2011-12-23T22:28:50+00:00 app[web.1]: user_agent
2011-12-23T22:28:50+00:00 app[web.1]: params {"nwo"=>"veevachi/api", "{}"=>nil}
2011-12-23T22:28:50+00:00 app[web.1]: session {}
2011-12-23T22:28:50+00:00 app[web.1]: referrer
2011-12-23T22:28:50+00:00 app[web.1]: remote_ip 50.16.26.166
2011-12-23T22:28:50+00:00 app[web.1]: server_url #
2011-12-23T22:28:50+00:00 app[web.1]: callback_url #
2011-12-23T22:28:50+00:00 app[web.1]: config "\n\n \n 430e2855fcb6aab5ed03eceff55916bd\n \n -1\n -1\n -1\n -1\n \n false\n \n \n \n \n JANKY_SHA1\n \n \n \n \n JANKY_ID\n \n \n \n \n \n \n \n \n HTTP\n http://simple-stream-7761.herokuapp.com/_builder\n \n \n \n \n \n master\n false\n false\n false\n false\n \n false\n \n \n \nif [ ! -d "./.git" ]; then\n git init\n git remote add origin git@github.com:zaarly/api\nfi\ngit fetch -q origin\ngit reset -q --hard $JANKY_SHA1\nif [ -f script/cibuild ]; then\n script/cibuild\nelse\n bundle in
2011-12-23T22:28:50+00:00 app[web.1]: stall --path vendor/gems --binstubs\n bundle exec rake\nfi\n \n \n \n \n\n"
2011-12-23T22:28:50+00:00 app[web.1]: name "430e2855fcb6aab5ed03eceff55916bd"
2011-12-23T22:28:50+00:00 app[web.1]: repo "git@github.com:veevachi/api"
2011-12-23T22:28:50+00:00 app[web.1]: response_code "404"
2011-12-23T22:28:50+00:00 app[web.1]:
2011-12-23T22:28:50+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/bundler/gems/janky-9ba5f5057462/lib/janky/github.rb:55:in `hook_create'
2011-12-23T22:28:50+00:00 app[web.1]: response_body "{\"message\":\"Not Found\"}"
2011-12-23T22:28:50+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/bundler/gems/janky-9ba5f5057462/lib/janky/repository.rb:125:in `setup_hook'
2011-12-23T22:28:50+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/bundler/gems/janky-9ba5f5057462/lib/janky/repository.rb:117:in `setup'
2011-12-23T22:28:50+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/bundler/gems/janky-9ba5f5057462/lib/janky/repository.rb:36:in `setup'
2011-12-23T22:28:50+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/bundler/gems/janky-9ba5f5057462/lib/janky/hubot.rb:15:in `block in '
2011-12-23T22:28:50+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/sinatra-1.3.1/lib/sinatra/base.rb:1212:in `call'
```

This is the error I am getting with no authentication enabled at all on the Jenkins server. I have the Notification Plugin enabled as well. Advice?