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

download fails due to 500 error #9

Closed
youknowone opened this issue Aug 26, 2023 · 5 comments
Closed

download fails due to 500 error #9

youknowone opened this issue Aug 26, 2023 · 5 comments

Comments

@youknowone
Copy link

Download the installer.
  Downloaded 0K out of NaNK (0%)
  Downloaded 0K out of 0K (100%)
  Downloaded 0K out of NaNK (0%)
  Downloaded 0K out of 0K (100%)
  node:internal/process/promises:279
              triggerUncaughtException(err, true /* fromPromise */);
              ^
  
  HTTPError: Response code 500 (Internal Server Error)
      at Request._onResponseBase (/home/runner/work/_actions/wasmerio/setup-wasmer/v2/dist/index.js:1:103623)
      at Request._onResponse (/home/runner/work/_actions/wasmerio/setup-wasmer/v2/dist/index.js:1:104056)
      at ClientRequest.<anonymous> (/home/runner/work/_actions/wasmerio/setup-wasmer/v2/dist/index.js:1:104276)
      at Object.onceWrapper (node:events:6[28](https://github.com/RustPython/RustPython/actions/runs/5985643042/job/16238432038?pr=5044#step:5:29):26)
      at ClientRequest.emit (node:events:525:35)
      at ClientRequest.e.emit (/home/runner/work/_actions/wasmerio/setup-wasmer/v2/dist/index.js:1:38646)
      at HTTPParser.parserOnIncomingClient (node:_http_client:693:27)
      at HTTPParser.parserOnHeadersComplete (node:_http_common:128:17)
      at Socket.socketOnData (node:_http_client:534:22)
      at Socket.emit (node:events:513:28) {
    code: undefined,
    timings: {
      start: 169[30](https://github.com/RustPython/RustPython/actions/runs/5985643042/job/16238432038?pr=5044#step:5:31)67888719,
      socket: 1693067888719,
      lookup: 1693067888720,
      connect: 1693067888728,
      secureConnect: undefined,
      upload: 1693067888728,
      response: 16930679[34](https://github.com/RustPython/RustPython/actions/runs/5985643042/job/16238432038?pr=5044#step:5:35)577,
      end: 1693067934616,
      error: undefined,
      abort: 1693067934618,
      phases: {
        wait: 0,
        dns: 1,
        tcp: 8,
        tls: undefined,
        request: 0,
        firstByte: 45849,
        download: [39](https://github.com/RustPython/RustPython/actions/runs/5985643042/job/16238432038?pr=5044#step:5:40),
        total: [45](https://github.com/RustPython/RustPython/actions/runs/5985643042/job/16238432038?pr=5044#step:5:46)899
      }
    }
  }
@ayys
Copy link
Member

ayys commented Feb 7, 2024

@youknowone I've verified that this still happens. I've noticed that rerunning the CI "fixes" the issue, so its a transient error.
So I think a quick fix would be to add a retry functionality. I'll add "Find a hot-fix for issue #9" to my todo list.

@youknowone
Copy link
Author

When I submitted the issue, it was failing at least a few days. I thought the download URL was changed.

@ayys
Copy link
Member

ayys commented Feb 7, 2024

Yeah sorry, the flakiness is due to instability with Wasmer Edge (the hosting provider for https://get.wasmer.io and https://win.wasmer.io). The PR to add retries is ready for review if you wanna take a look #10.

I also took the liberty of cleaning up the CI a bit while I was at it.

@ayys
Copy link
Member

ayys commented Feb 14, 2024

@youknowone PR #10 fixed this issue. I am going to close this, but feel free to reopen if you still face the same issue.
version 3.1 of the action has the changes.

@ayys ayys closed this as completed Feb 14, 2024
@youknowone
Copy link
Author

Thank you so much!

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

2 participants