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
[wrangler:err] Error: internal error
at async passThroughHandler (file:///Users/daniel/Projects/api-worker/src/handlers/pass-through.handler.ts:13:10)
at async Object.handle (file:///Users/daniel/Projects/api-worker/node_modules/itty-router/Router.js:1:614)
at async Object.fetch (file:///Users/daniel/Projects/api-worker/src/index.ts:241:12)
at async jsonError (file:///Users/daniel/Projects/api-worker/node_modules/wrangler/templates/middleware/middleware-miniflare3-json-error.ts:22:10)
at async drainBody (file:///Users/daniel/Projects/api-worker/node_modules/wrangler/templates/middleware/middleware-ensure-req-body-drained.ts:5:10)
[wrangler:inf] POST /users/v1/tokens 500 Internal Server Error (99ms)
The text was updated successfully, but these errors were encountered:
Which Cloudflare product(s) does this pertain to?
Miniflare
What version(s) of the tool(s) are you using?
wrangler 3.53.1
What version of Node are you using?
v21.1.0
What operating system and version are you using?
Mac Somona 14.4.1
Describe the Bug
Observed behavior
Sub-request to https://localhost result in error.
Expected behavior
HTTP requests work, would expect HTTPS requests to also work. Or a documented way to turn off HTTPS validation.
Steps to reproduce
Please provide a link to a minimal reproduction
No response
Please provide any relevant error logs
[wrangler:inf] Ready on http://localhost:8787
✘ [ERROR] WARNING: known issue with
fetch()
requests to custom HTTPS ports in published Workers:published using the
wrangler deploy
command.✘ [ERROR] Uncaught (async) Error: internal error
[wrangler:err] Error: internal error
at async passThroughHandler (file:///Users/daniel/Projects/api-worker/src/handlers/pass-through.handler.ts:13:10)
at async Object.handle (file:///Users/daniel/Projects/api-worker/node_modules/itty-router/Router.js:1:614)
at async Object.fetch (file:///Users/daniel/Projects/api-worker/src/index.ts:241:12)
at async jsonError (file:///Users/daniel/Projects/api-worker/node_modules/wrangler/templates/middleware/middleware-miniflare3-json-error.ts:22:10)
at async drainBody (file:///Users/daniel/Projects/api-worker/node_modules/wrangler/templates/middleware/middleware-ensure-req-body-drained.ts:5:10)
[wrangler:inf] POST /users/v1/tokens 500 Internal Server Error (99ms)
The text was updated successfully, but these errors were encountered: