Uploaded image for project: 'Yetus'
  1. Yetus
  2. YETUS-460

RDM should handle connection reset by peer

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.5.0
    • Release Doc Maker
    • None

    Description

      When a connection reset by peer error happens, we get a python stack trace. We should handle that better.

      Traceback (most recent call last):
        File "/Users/aw/shared-vmware/yetus/release-doc-maker/releasedocmaker.py", line 907, in <module>
          main()
        File "/Users/aw/shared-vmware/yetus/release-doc-maker/releasedocmaker.py", line 748, in main
          jlist = sorted(JiraIter(vstr, projects))
        File "/Users/aw/shared-vmware/yetus/release-doc-maker/releasedocmaker.py", line 400, in __init__
          self.jiras = JiraIter.collect_jiras(ver, projects)
        File "/Users/aw/shared-vmware/yetus/release-doc-maker/releasedocmaker.py", line 379, in collect_jiras
          data = JiraIter.query_jira(ver, projects, pos)
        File "/Users/aw/shared-vmware/yetus/release-doc-maker/releasedocmaker.py", line 330, in query_jira
          return JiraIter.load_jira(params, 0)
        File "/Users/aw/shared-vmware/yetus/release-doc-maker/releasedocmaker.py", line 337, in load_jira
          params)
        File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 154, in urlopen
          return opener.open(url, data, timeout)
        File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 429, in open
          response = self._open(req, data)
        File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 447, in _open
          '_open', req)
        File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 407, in _call_chain
          result = func(*args)
        File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1241, in https_open
          context=self._context)
        File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1201, in do_open
          r = h.getresponse(buffering=True)
        File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1136, in getresponse
          response.begin()
        File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 453, in begin
          version, status, reason = self._read_status()
        File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 409, in _read_status
          line = self.fp.readline(_MAXLINE + 1)
        File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py", line 480, in readline
          data = self._sock.recv(self._rbufsize)
        File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 756, in recv
          return self.read(buflen)
        File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 643, in read
          v = self._sslobj.read(len)
      socket.error: [Errno 54] Connection reset by peer
      

      Attachments

        1. YETUS-460.00.patch
          3 kB
          Adam Faris
        2. YETUS-460.01.patch
          6 kB
          Adam Faris
        3. YETUS-460.02.patch
          6 kB
          Adam Faris
        4. YETUS-460.03.patch
          6 kB
          Adam Faris
        5. YETUS-460.04.patch
          8 kB
          Adam Faris
        6. YETUS-460.05.patch
          6 kB
          Adam Faris
        7. YETUS-460.06.patch
          6 kB
          Adam Faris
        8. YETUS-460.07.patch
          6 kB
          Adam Faris

        Activity

          People

            farisa Adam Faris
            aw Allen Wittenauer
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: