Skip to content

Instantly share code, notes, and snippets.

@dhrp
Created June 7, 2013 18:34
Show Gist options
  • Save dhrp/5731371 to your computer and use it in GitHub Desktop.
Save dhrp/5731371 to your computer and use it in GitHub Desktop.
Error output from manage.py update_repos on staging host
Output from curl https://rtfd4-mrp.dotcloud.com/api/v1/project/6/
(2.6)dotcloud@rtfd4-default-www-0:~/current/readthedocs$ curl https://rtfd4-mrp.dotcloud.com/api/v1/project/6/
{"absolute_url": "/projects/pip/", "analytics_code": null, "conf_py_file": "", "copyright": "", "crate_url": "", "default_branch": null, "default_version": "latest", "description": "", "django_packages_url": "", "documentation_type": "sphinx", "downloads": {"dash": "/media/dash/pip/latest/Pip.tgz", "epub": "/media/epub/pip/latest/pip.epub", "htmlzip": "/media/htmlzip/pip/latest/pip.zip", "manpage": "/media/man/pip/latest/pip.1", "pdf": "/media/pdf/pip/latest/pip.pdf"}, "id": "6", "language": "en", "modified_date": "2013-06-07T13:30:46.026218", "name": "Pip", "privacy_level": "public", "project_url": "", "pub_date": "2010-08-14T11:08:12", "python_interpreter": "python", "repo": "http://github.com/pypa/pip", "repo_type": "git", "requirements_file": null, "resource_uri": "/api/v1/project/6/", "skip": false, "slug": "pip", "subdomain": "http://pip.rtfd4-mrp.dotcloud.com/", "suffix": ".rst", "theme": "default", "use_system_packages": false, "use_virtualenv": false, "users": ["/api/v1/user/1/"], "version": "", "version_privacy_level": "public"}(2.6)dotcloud@rtfd4-default-www-0:~/current/readthedocs$
Output from /manage.py update_repos pip --settings=settings.dotcloud
(2.6)dotcloud@rtfd4-default-www-0:~/current/readthedocs$ ./manage.py update_repos pip --settings=settings.dotcloud
/opt/ve/2.6/lib/python2.6/site-packages/django/conf/__init__.py:75: DeprecationWarning: The ADMIN_MEDIA_PREFIX setting has been removed; use STATIC_URL instead.
"use STATIC_URL instead.", DeprecationWarning)
[07/Jun/2013 13:30:26] DEBUG [tastyapi.slum:13] Using slumber with user test, pointed at https://rtfd4-mrp.dotcloud.com
[07/Jun/2013 13:30:26] INFO [core.management.commands.update_repos:65] Building Pip
[07/Jun/2013 13:30:26] INFO [requests.packages.urllib3.connectionpool:523] Starting new HTTPS connection (1): rtfd4-mrp.dotcloud.com
[07/Jun/2013 13:30:26] DEBUG [requests.packages.urllib3.connectionpool:283] "GET /api/v1/project/6/ HTTP/1.1" 200 None
[07/Jun/2013 13:30:26] INFO [projects.tasks:87] Building Pip
[07/Jun/2013 13:30:27] DEBUG [requests.packages.urllib3.connectionpool:283] "GET /api/v1/version/pip/?slug=latest HTTP/1.1" 200 None
[07/Jun/2013 13:30:57] WARNING [requests.packages.urllib3.connectionpool:468] Retrying (0 attempts remain) after connection broken by 'BadStatusLine('',)': /api/v1/build/
Traceback (most recent call last):
File "./manage.py", line 7, in <module>
execute_manager(settings.sqlite)
File "/opt/ve/2.6/lib/python2.6/site-packages/django/core/management/__init__.py", line 459, in execute_manager
utility.execute()
File "/opt/ve/2.6/lib/python2.6/site-packages/django/core/management/__init__.py", line 382, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/opt/ve/2.6/lib/python2.6/site-packages/django/core/management/base.py", line 196, in run_from_argv
self.execute(*args, **options.__dict__)
File "/opt/ve/2.6/lib/python2.6/site-packages/django/core/management/base.py", line 232, in execute
output = self.handle(*args, **options)
File "/home/dotcloud/rsync-1370570456080/readthedocs/core/management/commands/update_repos.py", line 66, in handle
tasks.update_docs(pk=p.pk, pdf=make_pdf, force=force)
File "/opt/ve/2.6/lib/python2.6/site-packages/celery/app/task.py", line 315, in __call__
return self.run(*args, **kwargs)
File "/home/dotcloud/rsync-1370570456080/readthedocs/doc_builder/base.py", line 14, in decorator
return fn(*args, **kw)
File "/home/dotcloud/rsync-1370570456080/readthedocs/projects/tasks.py", line 137, in update_docs
state='triggered',
File "/opt/ve/2.6/lib/python2.6/site-packages/slumber/__init__.py", line 125, in post
resp = self._request("POST", data=s.dumps(data), params=kwargs)
File "/opt/ve/2.6/lib/python2.6/site-packages/slumber/__init__.py", line 101, in _request
resp = self._store["session"].request(method, url, data=data, params=params, headers={"content-type": s.get_content_type(), "accept": s.get_content_type()})
File "/opt/ve/2.6/lib/python2.6/site-packages/requests/sessions.py", line 241, in request
r.send(prefetch=prefetch)
File "/opt/ve/2.6/lib/python2.6/site-packages/requests/models.py", line 634, in send
raise ConnectionError(e)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='rtfd4-mrp.dotcloud.com', port=443): Max retries exceeded with url: /api/v1/build/
(2.6)dotcloud@rtfd4-default-www-0:~/current/readthedocs$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment