`Traceback (most recent call last):


 "C:\Users\annaz\PycharmProjects\newsalyze-backend\venv\lib\site-packages\pymagnitude\__init__.py", line 2900, in __init__

self.url = self.url[url_cis.index('http://'):]
ValueError: substring not found

Traceback (most recent call last):


 "/src/c7n/policy.py", line 241, in run

resources = self.policy.resource_manager.resources()


 "/src/c7n/resources/ebs.py", line 85, in resources

return super(Snapshot, self).resources(query=query)


 "/src/c7n/query.py", line 421, in resources

resources = self.source.resources(query)


 "/src/c7n/query.py", line 215, in resources

return self.query.filter(self.manager, **query)


 "/src/c7n/query.py", line 82, in filter

getattr(resource_manager, 'retry', None)) or []


 "/src/c7n/query.py", line 59, in _invoke_client_enum

data = pager(results, retry)


 "/src/c7n/query.py", line 330, in pager

page = retry(next, iterator)


 "/src/c7n/utils.py", line 360, in _retry

return func(*args, **kw)


 "/usr/local/lib/python2.7/site-packages/botocore/paginate.py", line 255, in __iter__

response = self._make_request(current_kwargs)


 "/usr/local/lib/python2.7/site-packages/botocore/paginate.py", line 332, in _make_request

return self._method(**current_kwargs)


 "/usr/local/lib/python2.7/site-packages/botocore/client.py", line 320, in _api_call

return self._make_api_call(operation_name, kwargs)


 "/usr/local/lib/python2.7/site-packages/botocore/client.py", line 610, in _make_api_call

operation_model, request_dict)


 "/usr/local/lib/python2.7/site-packages/botocore/endpoint.py", line 102, in make_request

return self._send_request(request_dict, operation_model)


 "/usr/local/lib/python2.7/site-packages/botocore/endpoint.py", line 136, in _send_request

success_response, exception):


 "/usr/local/lib/python2.7/site-packages/botocore/endpoint.py", line 210, in _needs_retry

caught_exception=caught_exception, request_dict=request_dict)


 "/usr/local/lib/python2.7/site-packages/botocore/hooks.py", line 356, in emit

return self._emitter.emit(aliased_event_name, **kwargs)


 "/usr/local/lib/python2.7/site-packages/botocore/hooks.py", line 228, in emit

return self._emit(event_name, kwargs)


 "/usr/local/lib/python2.7/site-packages/botocore/hooks.py", line 211, in _emit

response = handler(**kwargs)


 "/usr/local/lib/python2.7/site-packages/botocore/retryhandler.py", line 183, in __call__

if self._checker(attempts, response, caught_exception):


 "/usr/local/lib/python2.7/site-packages/botocore/retryhandler.py", line 251, in __call__

caught_exception)


 "/usr/local/lib/python2.7/site-packages/botocore/retryhandler.py", line 277, in _should_retry

return self._checker(attempt_number, response, caught_exception)


 "/usr/local/lib/python2.7/site-packages/botocore/retryhandler.py", line 317, in __call__

caught_exception)


 "/usr/local/lib/python2.7/site-packages/botocore/retryhandler.py", line 223, in __call__

attempt_number, caught_exception)


 "/usr/local/lib/python2.7/site-packages/botocore/retryhandler.py", line 359, in _check_caught_exception

raise caught_exception
ReadTimeoutError: Read timeout on endpoint URL: "https://ec2.us-east-1.amazonaws.com/"
