Skip to content

Instantly share code, notes, and snippets.

@hwine
Created November 14, 2017 18:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hwine/b6def1fb2fe8ff2aec41002895143cf1 to your computer and use it in GitHub Desktop.
Save hwine/b6def1fb2fe8ff2aec41002895143cf1 to your computer and use it in GitHub Desktop.
================================================================================
You've found a bug! Please, raise an issue attaching the following traceback
https://github.com/jorgebastida/awslogs/issues/new
--------------------------------------------------------------------------------
Version: 0.10.0
Python: 2.7.10 (default, Feb 7 2017, 00:08:15)
[GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.34)]
boto3 version: 1.4.4
Platform: Darwin-16.7.0-x86_64-i386-64bit
Config: {'output_timestamp_enabled': True, 'output_group_enabled': False, 'end': '2017-11-14T15:22+00:00', 'log_group_name': '/aws/lambda/fx-sig-verify-prod', 'log_stream_name': 'ALL', 'aws_region': 'us-east-1', 'watch': False, 'aws_access_key_id': 'SENSITIVE', 'start': '2017-11-13T00:00:00+00:00', 'aws_profile': 'SENSITIVE', 'filter_pattern': None, 'aws_secret_access_key': 'SENSITIVE', 'output_ingestion_time_enabled': False, 'query': None, 'func': 'list_logs', 'aws_session_token': 'SENSITIVE', 'color_enabled': False, 'output_stream_enabled': False}
Args: ['/usr/local/bin/awslogs', 'get', '--aws-region', 'us-east-1', '--start', '2017-11-13T00:00:00+00:00', '--end', '2017-11-14T15:22+00:00', '--no-group', '--no-stream', '--group', '/aws/lambda/fx-sig-verify-prod', '--timestamp', '--no-color']
Traceback (most recent call last):
File "/usr/local/Cellar/awslogs/0.10/libexec/lib/python2.7/site-packages/awslogs/bin.py", line 172, in main
getattr(logs, options.func)()
File "/usr/local/Cellar/awslogs/0.10/libexec/lib/python2.7/site-packages/awslogs/core.py", line 196, in list_logs
consumer()
File "/usr/local/Cellar/awslogs/0.10/libexec/lib/python2.7/site-packages/awslogs/core.py", line 137, in consumer
for event in generator():
File "/usr/local/Cellar/awslogs/0.10/libexec/lib/python2.7/site-packages/awslogs/core.py", line 124, in generator
response = self.client.filter_log_events(**kwargs)
File "/usr/local/Cellar/awslogs/0.10/libexec/lib/python2.7/site-packages/botocore/client.py", line 253, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/usr/local/Cellar/awslogs/0.10/libexec/lib/python2.7/site-packages/botocore/client.py", line 531, in _make_api_call
operation_model, request_dict)
File "/usr/local/Cellar/awslogs/0.10/libexec/lib/python2.7/site-packages/botocore/endpoint.py", line 141, in make_request
return self._send_request(request_dict, operation_model)
File "/usr/local/Cellar/awslogs/0.10/libexec/lib/python2.7/site-packages/botocore/endpoint.py", line 170, in _send_request
success_response, exception):
File "/usr/local/Cellar/awslogs/0.10/libexec/lib/python2.7/site-packages/botocore/endpoint.py", line 249, in _needs_retry
caught_exception=caught_exception, request_dict=request_dict)
File "/usr/local/Cellar/awslogs/0.10/libexec/lib/python2.7/site-packages/botocore/hooks.py", line 227, in emit
return self._emit(event_name, kwargs)
File "/usr/local/Cellar/awslogs/0.10/libexec/lib/python2.7/site-packages/botocore/hooks.py", line 210, in _emit
response = handler(**kwargs)
File "/usr/local/Cellar/awslogs/0.10/libexec/lib/python2.7/site-packages/botocore/retryhandler.py", line 183, in __call__
if self._checker(attempts, response, caught_exception):
File "/usr/local/Cellar/awslogs/0.10/libexec/lib/python2.7/site-packages/botocore/retryhandler.py", line 251, in __call__
caught_exception)
File "/usr/local/Cellar/awslogs/0.10/libexec/lib/python2.7/site-packages/botocore/retryhandler.py", line 269, in _should_retry
return self._checker(attempt_number, response, caught_exception)
File "/usr/local/Cellar/awslogs/0.10/libexec/lib/python2.7/site-packages/botocore/retryhandler.py", line 317, in __call__
caught_exception)
File "/usr/local/Cellar/awslogs/0.10/libexec/lib/python2.7/site-packages/botocore/retryhandler.py", line 223, in __call__
attempt_number, caught_exception)
File "/usr/local/Cellar/awslogs/0.10/libexec/lib/python2.7/site-packages/botocore/retryhandler.py", line 359, in _check_caught_exception
raise caught_exception
error: [Errno 54] Connection reset by peer
================================================================================
Error 1 fetching logs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment