Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

La til headeren connection: keep-alive #249

Merged
merged 2 commits into from
Nov 1, 2024
Merged

La til headeren connection: keep-alive #249

merged 2 commits into from
Nov 1, 2024

Conversation

tepose
Copy link
Contributor

@tepose tepose commented Nov 1, 2024

Vi får feilen:

FetchError: request to http://dp-rapportering/rapporteringsperiode/1842211755 failed, reason: socket hang up
    at ClientRequest.<anonymous> (/node_modules/@remix-run/web-fetch/src/fetch.js:112:11)
    at ClientRequest.emit (node:events:518:28)
    at emitErrorEvent (node:_http_client:103:11)
    at Socket.socketCloseListener (node:_http_client:479:7)
    at Socket.emit (node:events:530:35)
    at TCP.<anonymous> (node:net:343:12) {
  type: 'system',
  errno: 'ECONNRESET',
  code: 'ECONNRESET',
  erroredSysCall: undefined
}

som virker å være en feil med fetch. Det blir foreslått å sette headeren connection: keep-alive for å løse dette fra node <=19 (vi bruker 22.x).

@tepose tepose requested a review from a team as a code owner November 1, 2024 13:40
@igorweber igorweber merged commit aa19731 into main Nov 1, 2024
9 checks passed
@igorweber igorweber deleted the keep-alive branch November 1, 2024 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants