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

If the webapp crashes, there's no logs to be seen about it except that it crashed #49

Open
samip5 opened this issue Oct 20, 2023 · 1 comment

Comments

@samip5
Copy link

samip5 commented Oct 20, 2023

I would love to be able to debug why the webapp crashes but I cannot find anything about why...

@samip5
Copy link
Author

samip5 commented Oct 20, 2023

Related:

27b6dc3a2b76:/app# NODE_ENV=production,PORT=3000 /usr/bin/node app.js
listening on *:3000
8UGMCpMb-sANl0xKAAAB connected time=1697794923813
node:events:491
      throw er; // Unhandled 'error' event
      ^

Error: Response status was 404
    at ClientRequest.<anonymous> (/app/node_modules/node-downloader-helper/dist/index.js:1:9452)
    at Object.onceWrapper (node:events:628:26)
    at ClientRequest.emit (node:events:513:28)
    at HTTPParser.parserOnIncomingClient [as onIncoming] (node:_http_client:701:27)
    at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17)
    at TLSSocket.socketOnData (node:_http_client:542:22)
    at TLSSocket.emit (node:events:513:28)
    at addChunk (node:internal/streams/readable:324:12)
    at readableAddChunk (node:internal/streams/readable:297:9)
    at Readable.push (node:internal/streams/readable:234:10)
Emitted 'error' event on b instance at:
    at ClientRequest.<anonymous> (/app/node_modules/node-downloader-helper/dist/index.js:1:9583)
    at Object.onceWrapper (node:events:628:26)
    [... lines matching original stack trace ...]
    at Readable.push (node:internal/streams/readable:234:10) {
  status: 404,
  body: ''
}

Node.js v18.16.1

I don't think it should crash if that's the case...

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

No branches or pull requests

1 participant