Skip to content
This repository has been archived by the owner on Jul 2, 2020. It is now read-only.

Read timeout #113

Open
kdomoratski opened this issue Sep 20, 2016 · 0 comments
Open

Read timeout #113

kdomoratski opened this issue Sep 20, 2016 · 0 comments

Comments

@kdomoratski
Copy link

The exception was thrown during senza create:
Generating Cloud Formation template.. EXCEPTION OCCURRED: HTTPSConnectionPool(host='pierone.stups.zalan.do', port=443): Read timed out. (read timeout=10)
Unknown Error: HTTPSConnectionPool(host='pierone.stups.zalan.do', port=443): Read timed out. (read timeout=10).
Please create an issue with the content of /tmp/senza-traceback-cvz_xh9w

_senza-traceback-cvz_xh9w_*******
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/requests/packages/urllib3/connectionpool.py", line 393, in _make_request
six.raise_from(e, None)
File "", line 2, in raise_from
File "/usr/local/lib/python3.5/dist-packages/requests/packages/urllib3/connectionpool.py", line 389, in _make_request
httplib_response = conn.getresponse()
File "/usr/lib/python3.5/http/client.py", line 1197, in getresponse
response.begin()
File "/usr/lib/python3.5/http/client.py", line 297, in begin
version, status, reason = self._read_status()
File "/usr/lib/python3.5/http/client.py", line 258, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
File "/usr/lib/python3.5/socket.py", line 575, in readinto
return self._sock.recv_into(b)
File "/usr/lib/python3.5/ssl.py", line 929, in recv_into
return self.read(nbytes, buffer)
File "/usr/lib/python3.5/ssl.py", line 791, in read
return self._sslobj.read(len, buffer)
File "/usr/lib/python3.5/ssl.py", line 575, in read
v = self._sslobj.read(len, buffer)
socket.timeout: The read operation timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/requests/adapters.py", line 423, in send
timeout=timeout
File "/usr/local/lib/python3.5/dist-packages/requests/packages/urllib3/connectionpool.py", line 640, in urlopen
_stacktrace=sys.exc_info()[2])
File "/usr/local/lib/python3.5/dist-packages/requests/packages/urllib3/util/retry.py", line 261, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/usr/local/lib/python3.5/dist-packages/requests/packages/urllib3/packages/six.py", line 686, in reraise
raise value
File "/usr/local/lib/python3.5/dist-packages/requests/packages/urllib3/connectionpool.py", line 595, in urlopen
chunked=chunked)
File "/usr/local/lib/python3.5/dist-packages/requests/packages/urllib3/connectionpool.py", line 395, in _make_request
self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
File "/usr/local/lib/python3.5/dist-packages/requests/packages/urllib3/connectionpool.py", line 315, in _raise_timeout
raise ReadTimeoutError(self, url, "Read timed out. (read timeout=%s)" % timeout_value)
requests.packages.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='pierone.stups.zalan.do', port=443): Read timed out. (read timeout=10)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/senza/error_handling.py", line 82, in call
self.function(_args, *_kwargs)
File "/usr/local/lib/python3.5/dist-packages/click/core.py", line 716, in call
return self.main(_args, *_kwargs)
File "/usr/local/lib/python3.5/dist-packages/click/core.py", line 696, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.5/dist-packages/click/core.py", line 1060, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.5/dist-packages/click/core.py", line 889, in invoke
return ctx.invoke(self.callback, *_ctx.params)
File "/usr/local/lib/python3.5/dist-packages/click/core.py", line 534, in invoke
return callback(_args, *_kwargs)
File "/usr/local/lib/python3.5/dist-packages/senza/cli.py", line 732, in print_cfjson
data = create_cf_template(definition, region, version, parameter, force, parameter_file)
File "/usr/local/lib/python3.5/dist-packages/senza/cli.py", line 747, in create_cf_template
data = evaluate(definition.copy(), args, account_info, force)
File "/usr/local/lib/python3.5/dist-packages/senza/cli.py", line 238, in evaluate
definition = componentfn(definition, configuration, args, info, force, account_info)
File "/usr/local/lib/python3.5/dist-packages/senza/components/taupage_auto_scaling_group.py", line 109, in component_taupage_auto_scaling_group
check_docker_image_exists(docker_image)
File "/usr/local/lib/python3.5/dist-packages/senza/components/taupage_auto_scaling_group.py", line 54, in check_docker_image_exists
image_tag = pierone.api.get_image_tag(docker_image, token)
File "/usr/local/lib/python3.5/dist-packages/pierone/api.py", line 114, in get_image_tag
tags = get_image_tags(image, token) or []
File "/usr/local/lib/python3.5/dist-packages/pierone/api.py", line 125, in get_image_tags
response = request(url, path, token)
File "/usr/local/lib/python3.5/dist-packages/pierone/api.py", line 98, in request
return session.get('{}{}'.format(url, path), headers=headers, timeout=10)
File "/usr/local/lib/python3.5/dist-packages/requests/sessions.py", line 488, in get
return self.request('GET', url, *_kwargs)
File "/usr/local/lib/python3.5/dist-packages/requests/sessions.py", line 475, in request
resp = self.send(prep, *_send_kwargs)
File "/usr/local/lib/python3.5/dist-packages/requests/sessions.py", line 596, in send
r = adapter.send(request, *_kwargs)
File "/usr/local/lib/python3.5/dist-packages/requests/adapters.py", line 499, in send
raise ReadTimeout(e, request=request)
requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='pierone.stups.zalan.do', port=443): Read timed out. (read timeout=10)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant