Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sentry-io bot opened this issue May 29, 2024 · 1 comment
Labels
Bug Something isn't working Easy

Comments

@sentry-io
Copy link

sentry-io bot commented May 29, 2024

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]))
@sentry-io sentry-io bot added Bug Something isn't working Easy labels May 29, 2024
@mozfreddyb
Copy link
Collaborator

Probably low priority? It seems this is the second time this has come up since forever.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Easy
Projects
None yet
Development

No branches or pull requests

1 participant