Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.
TypeScript analyticsanalytics-dashboardclickhouseelixirgoogle-analyticsmarketingopen-source-analyticsphoenixplausible-analyticspostgresqlprivacyprivacy-friendlyself-hostedsimple-analyticsstatisticstailwindcssweb-analyticswebsite-analyticswebsite-statswebsite-tracking
Retry on HTTP2 `:unprocessed` error in `Persistor.Remote` (#5697)
Adrian Gruntkowski3d12ced6fff3
diff --git a/lib/plausible/ingestion/persistor/remote.ex b/lib/plausible/ingestion/persistor/remote.exindex 62fd3dd100..4238504a68 100644--- a/lib/plausible/ingestion/persistor/remote.ex+++ b/lib/plausible/ingestion/persistor/remote.ex@@ -56,6 +56,10 @@ defmodule Plausible.Ingestion.Persistor.Remote dotrueend+ defp handle_transient_error(_request, %Req.HTTPError{protocol: :http2, reason: :unprocessed}) do+ true+ end+defp handle_transient_error(_reqeust, _response), do: falsedefp encode_payload(event, session_attrs) do