[Python-modules-team] Bug#870888: Stack trace
Kim Rydhof Thor Hansen
kim at rthansen.dk
Fri Aug 11 14:24:43 UTC 2017
I have encountered this problem using awscli-1.11.117.
Upgrading to awscli-1.11.132 didn't help.
Downgrading python3-requests to version 2.12.4-1 fixed the issue for me.
This is a stack trace when running with awscli-1.11.132:
Traceback (most recent call last):
File "./update-service", line 23, in <module>
for output in stack.outputs:
File "/usr/lib/python3/dist-packages/boto3/resources/factory.py", line
339, in property_loader
self.load()
File "/usr/lib/python3/dist-packages/boto3/resources/factory.py", line
505, in do_action
response = action(self, *args, **kwargs)
File "/usr/lib/python3/dist-packages/boto3/resources/action.py", line 83,
in __call__
response = getattr(parent.meta.client, operation_name)(**params)
File "/usr/lib/python3/dist-packages/botocore/client.py", line 310, in
_api_call
return self._make_api_call(operation_name, kwargs)
File "/usr/lib/python3/dist-packages/botocore/client.py", line 586, in
_make_api_call
operation_model, request_dict)
File "/usr/lib/python3/dist-packages/botocore/endpoint.py", line 141, in
make_request
return self._send_request(request_dict, operation_model)
File "/usr/lib/python3/dist-packages/botocore/endpoint.py", line 170, in
_send_request
success_response, exception):
File "/usr/lib/python3/dist-packages/botocore/endpoint.py", line 249, in
_needs_retry
caught_exception=caught_exception, request_dict=request_dict)
File "/usr/lib/python3/dist-packages/botocore/hooks.py", line 227, in emit
return self._emit(event_name, kwargs)
File "/usr/lib/python3/dist-packages/botocore/hooks.py", line 210, in
_emit
response = handler(**kwargs)
File "/usr/lib/python3/dist-packages/botocore/retryhandler.py", line 183,
in __call__
if self._checker(attempts, response, caught_exception):
File "/usr/lib/python3/dist-packages/botocore/retryhandler.py", line 251,
in __call__
caught_exception)
File "/usr/lib/python3/dist-packages/botocore/retryhandler.py", line 269,
in _should_retry
return self._checker(attempt_number, response, caught_exception)
File "/usr/lib/python3/dist-packages/botocore/retryhandler.py", line 317,
in __call__
caught_exception)
File "/usr/lib/python3/dist-packages/botocore/retryhandler.py", line 223,
in __call__
attempt_number, caught_exception)
File "/usr/lib/python3/dist-packages/botocore/retryhandler.py", line 359,
in _check_caught_exception
raise caught_exception
File "/usr/lib/python3/dist-packages/botocore/endpoint.py", line 204, in
_get_response
proxies=self.proxies, timeout=self.timeout)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 612, in
send
r = adapter.send(request, **kwargs)
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 440, in
send
timeout=timeout
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line
600, in urlopen
chunked=chunked)
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line
345, in _make_request
self._validate_conn(conn)
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line
846, in _validate_conn
conn.connect()
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 311, in
connect
if self.ssl_context is None:
AttributeError: 'AWSHTTPSConnection' object has no attribute 'ssl_context'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20170811/863b04db/attachment.html>
More information about the Python-modules-team
mailing list