Skip to content

ChunkedEncodingError: ("Connection broken: InvalidChunkLength(got length b'', 0 bytes read)", InvalidChunkLength(got le... #370

Open
@sentry-io

Description

@sentry-io

Sentry Issue: UPDATEBOT-PROD-1K

ValueError: invalid literal for int() with base 16: b''
  File "urllib3/response.py", line 748, in _update_chunk_length
    self.chunk_left = int(line, 16)

InvalidChunkLength: InvalidChunkLength(got length b'', 0 bytes read)
  File "urllib3/response.py", line 443, in _error_catcher
    yield
  File "urllib3/response.py", line 815, in read_chunked
    self._update_chunk_length()
  File "urllib3/response.py", line 752, in _update_chunk_length
    raise InvalidChunkLength(self, line)

ProtocolError: ("Connection broken: InvalidChunkLength(got length b'', 0 bytes read)", InvalidChunkLength(got length b'', 0 bytes read))
  File "contextlib.py", line 155, in __exit__
    self.gen.throw(typ, value, traceback)

ChunkedEncodingError: ("Connection broken: InvalidChunkLength(got length b'', 0 bytes read)", InvalidChunkLength(got length b'', 0 bytes read))
(6 additional frame(s) were not displayed)
...
  File "automation.py", line 233, in run
    taskRunner.process_task(lib, task)
  File "/builds/worker/updatebot/tasktypes/vendoring.py", line 35, in process_task
    open_bugs = self.bugzillaProvider.find_open_bugs([j.bugzilla_id for j in all_jobs])
  File "components/logging.py", line 38, in func_wrapper
    ret = func(*args, **kwargs)
  File "components/bugzilla.py", line 242, in find_open_bugs
    return findOpenBugs(self.config['url'], filtered_ids)
  File "apis/bugzilla_api.py", line 152, in findOpenBugs
    r = requests.get(url + "bug?resolution=---&id=%s&include_fields=id" % ",".join([str(b) for b in bugIDs]))

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't workingEasy

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions