freelawproject / courtlistener

A fully-searchable and accessible archive of court data including growing repositories of opinions, oral arguments, judges, judicial financial records, and federal filings.
https://www.courtlistener.com
Other
528 stars 144 forks source link

ReadError on microservice page-count request #3693

Open sentry-io[bot] opened 7 months ago

sentry-io[bot] commented 7 months ago

Sentry Issue: COURTLISTENER-5R3

BrokenResourceError: 
(1 additional frame(s) were not displayed)
...
  File "httpcore/_backends/anyio.py", line 34, in read
    return await self._stream.receive(max_bytes=max_bytes)
  File "anyio/_backends/_asyncio.py", line 1132, in receive
    raise self._protocol.exception from None
  File "httpcore/_exceptions.py", line 10, in map_exceptions
    yield
  File "httpcore/_backends/anyio.py", line 51, in write
    await self._stream.send(item=buffer)
  File "anyio/_backends/_asyncio.py", line 1155, in send
    raise self._protocol.exception

ReadError: 
(7 additional frame(s) were not displayed)
...
  File "httpcore/_async/http11.py", line 176, in _receive_response_headers
    event = await self._receive_event(timeout=timeout)
  File "httpcore/_async/http11.py", line 212, in _receive_event
    data = await self._network_stream.read(
  File "httpcore/_backends/anyio.py", line 31, in read
    with map_exceptions(exc_map):
  File "contextlib.py", line 158, in __exit__
    self.gen.throw(value)
  File "httpcore/_exceptions.py", line 14, in map_exceptions
    raise to_exc(exc) from exc

ReadError: 
(17 additional frame(s) were not displayed)
...
  File "cl/recap/views.py", line 65, in perform_create
    await asyncio.shield(recap_upload_task)
  File "cl/recap/tasks.py", line 119, in process_recap_upload
    await process_recap_pdf(pq.pk)
  File "cl/recap/tasks.py", line 386, in process_recap_pdf
    response = await microservice(
  File "cl/lib/microservice_utils.py", line 93, in microservice
    return await client.send(req)

Filed by: @albertisfu

sentry-io[bot] commented 7 months ago

Related: Sentry issue: COURTLISTENER-6JJ

Linked by: @albertisfu

sentry-io[bot] commented 7 months ago

Related: Sentry issue: COURTLISTENER-6J6

Linked by: @albertisfu

sentry-io[bot] commented 6 months ago

Related: Sentry Issue: COURTLISTENER-5TZ

Linked by: @albertisfu

sentry-io[bot] commented 6 months ago

Related: Sentry Issue: COURTLISTENER-5RA

Linked by: @albertisfu

sentry-io[bot] commented 2 months ago

Related: ReadTimeout error on microservice request

Sentry Issue: COURTLISTENER-7RK

Filed by: @albertisfu

sentry-io[bot] commented 2 months ago

Also related ReadTimeout:

Sentry Issue: COURTLISTENER-7RM

Filed by: @albertisfu

sentry-io[bot] commented 2 months ago

Related. In this case the error is WriteTimeout for page-count request.

Sentry Issue: COURTLISTENER-7T5

Filed by: @albertisfu

sentry-io[bot] commented 2 months ago

Also related with RemoteProtocolError for the page-count request.

Sentry Issue: COURTLISTENER-7TP

Filed by: @albertisfu