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
return useFetch(/backend${url}, {
server: true,
credentials: "include", // Allow browser to handle cookies
headers,
...opts,
pick: pick
});
I get this error:
http proxy error: Error: socket hang up
at connResetException (node:internal/errors:693:14)
at Socket.socketOnEnd (node:_http_client:478:23)
at Socket.emit (node:events:539:35)
at endReadableNT (node:internal/streams/readable:1344:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
timestamp: true,
error: Error: socket hang up
at connResetException (node:internal/errors:693:14)
at Socket.socketOnEnd (node:_http_client:478:23)
at Socket.emit (node:events:539:35)
at endReadableNT (node:internal/streams/readable:1344:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
code: 'ECONNRESET'
}
}
If I use
return useFetch(http://api.test/${url}, {
server: true,
credentials: "include", // Allow browser to handle cookies
headers,
...opts,
pick: pick
});
everything works like a charm.
The text was updated successfully, but these errors were encountered:
Hello,
I got a pretty weird problem:
I created this proxy:
return useFetch(
/backend${url}
, {server: true,
credentials: "include", // Allow browser to handle cookies
headers,
...opts,
pick: pick
});
http proxy error: Error: socket hang up
at connResetException (node:internal/errors:693:14)
at Socket.socketOnEnd (node:_http_client:478:23)
at Socket.emit (node:events:539:35)
at endReadableNT (node:internal/streams/readable:1344:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
timestamp: true,
error: Error: socket hang up
at connResetException (node:internal/errors:693:14)
at Socket.socketOnEnd (node:_http_client:478:23)
at Socket.emit (node:events:539:35)
at endReadableNT (node:internal/streams/readable:1344:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
code: 'ECONNRESET'
}
}
return useFetch(
http://api.test/${url}
, {server: true,
credentials: "include", // Allow browser to handle cookies
headers,
...opts,
pick: pick
});
The text was updated successfully, but these errors were encountered: