-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Labels
bugSomething that isn't workingSomething that isn't working
Description
Which Cloudflare product(s) does this pertain to?
Wrangler
What versions & operating system are you using?
wrangler 4.15.0
Please provide a link to a minimal reproduction
No response
Describe the Bug
With a test.ts like this:
import postgres from 'postgres';
export default {
async fetch(request, env, ctx): Promise<Response> {
const connection = postgres('postgres://reader:NWDMCE5xdipIjRrp@hh-pgsql-public.ebi.ac.uk:5432/pfmegrnargs');
const results = await Promise.all([
connection`SELECT 1`,
connection`SELECT 2`,
]);
ctx.waitUntil(connection.end());
return Response.json(results);
},
} satisfies ExportedHandler<Env>;npx wrangler@4.14.4 dev test.ts, hit worker, works finenpx wrangler@4.15.0 dev test.ts, hit worker, throwsIncoming CONNECT on a worker not supportederror
Please provide any relevant error logs
[wrangler:err] TypeError: Incoming CONNECT on a worker not supported
at connect (cloudflare:sockets:7:20)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething that isn't workingSomething that isn't working
Type
Projects
Status
Done