Error in local but deployed on server is running without any problem
Unanswered
Falah posted this in #help-forum
FalahOP
⨯ TypeError: fetch failed
at async getClientUserInfo (./src/app/page.tsx:20:36)
at async Page (./src/app/page.tsx:156:115)
digest: "1485920505"
Cause: Error: read ECONNRESET
at TLSWrap.onStreamRead (node:internal/stream_base_commons:217:20)
at TLSWrap.callbackTrampoline (node:internal/async_hooks:130:17) {
errno: -54,
code: 'ECONNRESET',
syscall: 'read'
}
GET / 500 in 4251ms
at async getClientUserInfo (./src/app/page.tsx:20:36)
at async Page (./src/app/page.tsx:156:115)
digest: "1485920505"
Cause: Error: read ECONNRESET
at TLSWrap.onStreamRead (node:internal/stream_base_commons:217:20)
at TLSWrap.callbackTrampoline (node:internal/async_hooks:130:17) {
errno: -54,
code: 'ECONNRESET',
syscall: 'read'
}
GET / 500 in 4251ms
1 Reply
sometimes i get this, and my solution is just force refresh page and if still broken restart dev server... it is usally some broken state from what i have found