Timeout en lecture de données
Sentry Issue: WSDATASELECT-3N
C'est peut-être dû à mon changement utilisant Task.async_stream/5
GenServer #PID<0.632503.0> terminating
** (stop) exited in: Task.Supervised.stream(5000)
** (EXIT) time out
(elixir 1.17.2) lib/task/supervised.ex:345: Task.Supervised.stream_reduce/7
(elixir 1.17.2) lib/enum.ex:4423: Enum.reduce/3
(wsdataselect 1.0.4) lib/wsdataselect/backend.ex:352: Wsdataselect.Backend.read_data/2
(wsdataselect 1.0.4) lib/wsdataselect/controller.ex:92: Wsdataselect.Controller.make_response/2
(wsdataselect 1.0.4) deps/plug/lib/plug/router.ex:246: anonymous fn/4 in Wsdataselect.Router.dispatch/2
(telemetry 1.3.0) /app/deps/telemetry/src/telemetry.erl:324: :telemetry.span/3
(wsdataselect 1.0.4) deps/plug/lib/plug/router.ex:242: Wsdataselect.Router.dispatch/2
(wsdataselect 1.0.4) lib/wsdataselect/router.ex:1: Wsdataselect.Router.plug_builder_call/2
Last message: {:tcp, #Port<0.244121>, "GET /query?starttime=2024-09-24T07%3A09%3A44.863196&endtime=2024-09-25T07%3A11%3A24.863196&network=FR&station=SMPL&location=00&channel=HHZ HTTP/1.1\r\nHost: ws.resif.fr\r\nX-Request-ID: d334d9b49df229b9ad22435f4204f401\r\nX-Real-IP: 193.52.225.53\r\nX-Forwarded-For: 193.52.225.53\r\nX-Forwarded-Host: ws.resif.fr\r\nX-Forwarded-Port: 80\r\nX-Forwarded-Proto: http\r\nX-Forwarded-Scheme: http\r\nX-Scheme: http\r\nX-Original-Forwarded-For: 193.52.225.53\r\naccept-encoding: identity\r\nuser-agent: ObsPy/1.4.0 (Linux-6.1.0-10-amd64-x86_64-with-glibc2.36, Python 3.11.2)\r\n\r\n"}
State: {%ThousandIsland.Socket{socket: #Port<0.244121>, transport_module: ThousandIsland.Transports.TCP, read_timeout: 60000, silent_terminate_on_error: false, span: %ThousandIsland.Telemetry{span_name: :connection, telemetry_span_context: #Reference<0.774808183.2848456705.235070>, start_time: -576378869059489580, start_metadata: %{remote_address: {10, 42, 4, 70}, telemetry_span_context: #Reference<0.774808183.2848456705.235070>, remote_port: 50220, parent_telemetry_span_context: #Reference<0.774808183.2828009473.22268>}}}, %{opts: %{http: [], http_1: [], http_2: [], websocket: []}, plug: {Wsdataselect.Router, []}, handler_module: Bandit.HTTP1.Handler, http_1_enabled: true, http_2_enabled: true, requests_processed: 3}}
Edited by Jonathan Schaeffer