You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I confirm this is a bug with Supabase, not with my own application.
I confirm I have searched the Docs, GitHub Discussions, and Discord.
Describe the bug
Edge functions making POST requests to api.brightdata.com fail with an HTTP/2 stream error. This is the same issue that was fixed in #369 (released in v1.54.6) but has regressed.
Error message:
error sending request from 10.32.166.137:54466 for https://api.brightdata.com/request (3.232.8.188:443):
client error (SendRequest): http2 error: stream error detected: unspecific protocol error detected
Runtime version (from response metadata):supabase-edge-runtime-1.73.0 (compatible with Deno v2.1.4)
Behavior
Intermittent: All 4 of our Bright Data API calls passed on Apr 9, all 4 failed on Apr 10. Historical data shows scattered single-source failures over the past 2 weeks, getting worse over time.
Works locally: The exact same fetch() call to api.brightdata.com succeeds from a local machine every time.
Bright Data is not the issue: Their API, dashboard, and account are all healthy. The error is at the HTTP/2 transport layer between the edge runtime and their server.
Deno.createHttpClient({ http2: false }) would allow forcing HTTP/1.1, but this API is not available in the edge runtime since unstable APIs are not enabled.
Bug report
Describe the bug
Edge functions making POST requests to
api.brightdata.comfail with an HTTP/2 stream error. This is the same issue that was fixed in #369 (released in v1.54.6) but has regressed.Error message:
Runtime version (from response metadata):
supabase-edge-runtime-1.73.0 (compatible with Deno v2.1.4)Behavior
fetch()call toapi.brightdata.comsucceeds from a local machine every time.Reproduction
Minimal edge function that reproduces the issue:
Workaround attempted
Deno.createHttpClient({ http2: false })would allow forcing HTTP/1.1, but this API is not available in the edge runtime since unstable APIs are not enabled.Request
Deno.createHttpClientin edge functions — this would give users a workaround for HTTP/2 incompatibilities with third-party APIs.Environment
api.brightdata.com(also confirmed withbrd.superproxy.io:33335)