Skip to content

Instantly share code, notes, and snippets.

@nathansamson
Created February 5, 2014 10:58
Show Gist options
  • Save nathansamson/8821195 to your computer and use it in GitHub Desktop.
Save nathansamson/8821195 to your computer and use it in GitHub Desktop.
2014-02-05 03:41:32 [90] [DEBUG] POST /api/apps
INFO myjettyapp: Config myjettyapp-v1 updated
INFO myjettyapp: Build myjettyapp- created
INFO myjettyapp: Release myjettyapp-v1 created
2014-02-05 03:42:30 [91] [DEBUG] POST /api/hooks/push
2014-02-05 03:47:03 [91] [DEBUG] POST /api/hooks/build
INFO myjettyapp: Build myjettyapp-e420c8b created
INFO myjettyapp: Release myjettyapp-v2 created
ERROR Internal Server Error: /api/hooks/build
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 114, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/local/lib/python2.7/dist-packages/rest_framework/viewsets.py", line 78, in view
return self.dispatch(request, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/django/views/decorators/csrf.py", line 57, in wrapped_view
return view_func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/rest_framework/views.py", line 399, in dispatch
response = self.handle_exception(exc)
File "/usr/local/lib/python2.7/dist-packages/rest_framework/views.py", line 396, in dispatch
response = handler(request, *args, **kwargs)
File "/app/deis/api/views.py", line 707, in create
super(BuildHookViewSet, self).create(request, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/rest_framework/mixins.py", line 55, in create
self.post_save(self.object, created=True)
File "/app/deis/api/views.py", line 715, in post_save
models.release_signal.send(sender=self, build=obj, app=obj.app, user=obj.owner)
File "/usr/local/lib/python2.7/dist-packages/django/dispatch/dispatcher.py", line 185, in send
response = receiver(signal=self, sender=sender, **named)
File "/app/deis/api/models.py", line 867, in new_release
publish_release(repository_path, config.values, tag)
File "/app/deis/api/docker.py", line 23, in publish_release
image_id = _get_tag(repository_path, 'latest')
File "/app/deis/api/docker.py", line 42, in _get_tag
r = requests.get(url)
File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 55, in get
return request('get', url, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 44, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 349, in request
prep = self.prepare_request(req)
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 287, in prepare_request
hooks=merge_hooks(request.hooks, self.hooks),
File "/usr/local/lib/python2.7/dist-packages/requests/models.py", line 287, in prepare
self.prepare_url(url, params)
File "/usr/local/lib/python2.7/dist-packages/requests/models.py", line 334, in prepare_url
scheme, auth, host, port, path, query, fragment = parse_url(url)
File "/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/util.py", line 397, in parse_url
raise LocationParseError("Failed to parse: %s" % url)
LocationParseError: Failed to parse: Failed to parse: <no value>:<no value>
...
-----> Discovering process types
Procfile declares types -> web
-----> Compiled slug size is 64M
-----> Building Docker image
Uploading context 66.57 MB
Uploading context
Step 1 : FROM deis/slugrunner
---> 11ed04395758
Step 2 : RUN mkdir -p /app
---> Running in 1afeecca2d7b
---> b17041a13f9d
Step 3 : ADD slug.tgz /app
---> ac8a540f94bd
Step 4 : ENTRYPOINT ["/runner/init"]
---> Running in 749cf9af4f3f
---> 92058eaa809d
Successfully built 92058eaa809d
-----> Pushing image to private registry
Launching... Build hook error: 500 <h1>Server Error (500)</h1>
To ssh://git@deis-controller.local:2222/myjettyapp.git
* [new branch] master -> master
error: failed to push some refs to 'ssh://git@deis-controller.local:2222/myjettyapp.git'
[nathan@omega example-java-jetty]
@mboersma
Copy link

Looks like the registry failed to publish or died?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment