problem: ssl error kill smrt #138

wesyoung opened this Issue Feb 15, 2017 · 1 comment


None yet

2 participants

2017-02-15 14:05:06,365 - INFO - csirtg_smrt.archiver[115] - Cached provider in memory, 0 objects
Process Process-1:
Traceback (most recent call last):
  File "/usr/lib/python2.7/multiprocessing/", line 258, in _bootstrap
  File "/usr/lib/python2.7/multiprocessing/", line 114, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/local/lib/python2.7/dist-packages/csirtg_smrt/", line 273, in _run_smrt
    for i in s.process(r, f, limit=args.limit, data=data, filters=filters):
  File "/usr/local/lib/python2.7/dist-packages/csirtg_smrt/", line 233, in process
    for indicator_batch in feed_indicators_batches:
  File "/usr/local/lib/python2.7/dist-packages/csirtg_smrt/utils/", line 93, in chunk
    for x in it:
  File "/usr/local/lib/python2.7/dist-packages/csirtg_smrt/", line 229, in <genexpr>
    feed_indicators = (i for i in feed_indicators if not self.is_archived_with_log(i))
  File "/usr/local/lib/python2.7/dist-packages/csirtg_smrt/", line 223, in <genexpr>
    feed_indicators = (self.clean_indicator(i, rule) for i in feed_indicators)
  File "/usr/local/lib/python2.7/dist-packages/csirtg_smrt/", line 222, in <genexpr>
    feed_indicators = (i for i in feed_indicators if self.is_valid(i, rule))
  File "/usr/local/lib/python2.7/dist-packages/csirtg_smrt/parser/", line 33, in process
    for l in self.fetcher.process(split=self.split):
  File "/usr/local/lib/python2.7/dist-packages/csirtg_smrt/", line 224, in process
  File "/usr/local/lib/python2.7/dist-packages/csirtg_smrt/", line 184, in _fetch
  File "/usr/local/lib/python2.7/dist-packages/csirtg_smrt/", line 163, in _cache_write
    resp = s.get(self.remote, stream=True, auth=auth, timeout=self.fetcher_timeout)
  File "/usr/local/lib/python2.7/dist-packages/requests/", line 501, in get
    return self.request('GET', url, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/", line 488, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/", line 609, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/", line 497, in send
    raise SSLError(e, request=request)
SSLError: [Errno 1] _ssl.c:510: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure
@wesyoung wesyoung added the bug label Feb 15, 2017
@wesyoung wesyoung added this to the R5 milestone Feb 15, 2017

fyi.. that's not actually a 500 error, it's a SSL error.

Can be quite a pain to deal with those

@wesyoung wesyoung changed the title from problem: 500 errors kill smrt to problem: ssl error kill smrt Feb 15, 2017
@wesyoung wesyoung added a commit that closed this issue Feb 15, 2017
@wesyoung wesyoung fixes #138 ef74824
@wesyoung wesyoung closed this in ef74824 Feb 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment