Skip to content

Custom ports for outgoing HTTPS requests from Workers are ignored #5998

@GregBrimble

Description

@GregBrimble

Which Cloudflare product(s) does this pertain to?

Workers

Subject Matter

Workers Known Issue

Content Location

https://developers.cloudflare.com/workers/platform/known-issues/

Additional information

In production, Workers currently silently ignores any custom ports when using HTTPS. For example:

await fetch('https://example.com:1234/foo')

is the equivalent of:

await fetch('https://example.com/foo')

443 is used instead.

This isn't the case for the quick edit in the dashboard, or on cloudflareworkers.com, or when using HTTP. wrangler dev logs a warning message.

Metadata

Metadata

Labels

content:newRequest for new/missing contentdocumentationDocumentation edits

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions