Skip to content

CI issue due to GitHub API timeout? #21

Description

@mithro

https://github.com/litex-hub/pythondata-auto/runs/3839361003?check_suite_focus=true

vexriscv Config
vexriscv
  vexriscv 1.0.1.post377 (1, 0, 1, 377)
  Tools: 0.0.post112 (0, 0, 112)
   Data: 1.0.1.post265 (1, 0, 1)
  Traceback (most recent call last):
    File "/home/runner/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 445, in _make_request
      six.raise_from(e, None)
    File "<string>", line 3, in raise_from
    File "/home/runner/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 440, in _make_request
      httplib_response = conn.getresponse()
    File "/usr/lib/python3.6/http/client.py", line 1373, in getresponse
      response.begin()
    File "/usr/lib/python3.6/http/client.py", line 311, in begin
      version, status, reason = self._read_status()
    File "/usr/lib/python3.6/http/client.py", line 272, in _read_status
      line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
    File "/usr/lib/python3.6/socket.py", line 586, in readinto
      return self._sock.recv_into(b)
    File "/usr/lib/python3.6/ssl.py", line 1012, in recv_into
      return self.read(nbytes, buffer)
    File "/usr/lib/python3.6/ssl.py", line 874, in read
      return self._sslobj.read(len, buffer)
    File "/usr/lib/python3.6/ssl.py", line 631, in read
      v = self._sslobj.read(len, buffer)
  socket.timeout: The read operation timed out
  
  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File "/home/runner/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
      timeout=timeout
    File "/home/runner/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
      method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
    File "/home/runner/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 532, in increment
      raise six.reraise(type(error), error, _stacktrace)
    File "/home/runner/.local/lib/python3.6/site-packages/urllib3/packages/six.py", line 770, in reraise
      raise value
    File "/home/runner/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
      chunked=chunked,
    File "/home/runner/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 447, in _make_request
      self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
    File "/home/runner/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 337, in _raise_timeout
      self, url, "Read timed out. (read timeout=%s)" % timeout_value
  urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='api.github.com', port=443): Read timed out. (read timeout=15)
  
  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File "./update.py", line 588, in <module>
      sys.exit(main(sys.argv[0], sys.argv[1:]))
    File "./update.py", line 563, in main
      if not github_repo(g, m):
    File "./update.py", line 61, in github_repo
      repo = g.get_repo(slug)
    File "/home/runner/.local/lib/python3.6/site-packages/github/MainClass.py", line 330, in get_repo
      headers, data = self.__requester.requestJsonAndCheck("GET", url)
    File "/home/runner/.local/lib/python3.6/site-packages/github/Requester.py", line 355, in requestJsonAndCheck
      verb, url, parameters, headers, input, self.__customConnection(url)
    File "/home/runner/.local/lib/python3.6/site-packages/github/Requester.py", line 454, in requestJson
      return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode)
    File "/home/runner/.local/lib/python3.6/site-packages/github/Requester.py", line 529, in __requestEncode
      cnx, verb, url, requestHeaders, encoded_input
    File "/home/runner/.local/lib/python3.6/site-packages/github/Requester.py", line 555, in __requestRaw
      response = cnx.getresponse()
    File "/home/runner/.local/lib/python3.6/site-packages/github/Requester.py", line 133, in getresponse
      allow_redirects=False,
    File "/home/runner/.local/lib/python3.6/site-packages/requests/sessions.py", line 555, in get
      return self.request('GET', url, **kwargs)
    File "/home/runner/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
      resp = self.send(prep, **send_kwargs)
    File "/home/runner/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
      r = adapter.send(request, **kwargs)
    File "/home/runner/.local/lib/python3.6/site-packages/requests/adapters.py", line 529, in send
      raise ReadTimeout(e, request=request)
  requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='api.github.com', port=443): Read timed out. (read timeout=15)
  Error: Process completed with exit code 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions