- Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
fetch(url,{method: 'POST', headers })Promise{<pending>}>f(node:66034) UnhandledPromiseRejectionWarning: FetchError: requestto ... failed,reason: connectENETUNREACH ...:443atClientRequest.<anonymous>(file:///Users/gozala/Projects/nft.storage/node_modules/@web-std/fetch/src/index.js:100:11)atClientRequest.emit(events.js:315:20)atClientRequest.EventEmitter.emit(domain.js:467:12)atTLSSocket.socketErrorListener(_http_client.js:469:9)atTLSSocket.emit(events.js:315:20)atTLSSocket.EventEmitter.emit(domain.js:467:12)atemitErrorNT(internal/streams/destroy.js:106:8)atemitErrorCloseNT(internal/streams/destroy.js:74:3)atprocessTicksAndRejections(internal/process/task_queues.js:80:21)(node:66034) UnhandledPromiseRejectionWarning: Unhandledpromiserejection.Thiserrororiginatedeitherbythrowinginsideofanasyncfunctionwithoutacatchblock,orbyrejectingapromisewhichwasnothandledwith.catch().Toterminatethenodeprocessonunhandledpromiserejection,usetheCLIflag`--unhandled-rejections=strict`(seehttps://nodejs.org/api/cli.html#cli_unhandled_rejections_mode).(rejectionid: 3)Promise{<rejected> FetchError: request to ... failed, reason: connect ENETUNREACH ....:443 at ClientRequest.<anonymous> (file:///Users/gozala/Projects/nft.storage/node_modules/@web-std/fetch/src/index.js:100:11) at ClientRequest.emit (events.js:315:20) at ClientRequest.EventEmitter.emit (domain.js:467:12) at TLSSocket.socketErrorListener (_http_client.js:469:9) at TLSSocket.emit (events.js:315:20) at TLSSocket.EventEmitter.emit (domain.js:467:12) at emitErrorNT (internal/streams/destroy.js:106:8) at emitErrorCloseNT (internal/streams/destroy.js:74:3) at processTicksAndRejections (internal/process/task_queues.js:80:21) {type: 'system',errno: 'ENETUNREACH',code: 'ENETUNREACH',erroredSysCall: 'connect'}}Instead request should follow a redirect.
Metadata
Metadata
Assignees
Labels
No labels