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

[ci] [R-package] Miktex installation failing: "Timeout was reached" #5600

Closed
jameslamb opened this issue Nov 23, 2022 · 4 comments · Fixed by #5602
Closed

[ci] [R-package] Miktex installation failing: "Timeout was reached" #5600

jameslamb opened this issue Nov 23, 2022 · 4 comments · Fixed by #5602

Comments

@jameslamb
Copy link
Collaborator

Description

R Windows CI jobs on multiple PRs and master with the following error.

Setting up MiKTeX
miktexsetup_standalone: Timeout was reached
miktexsetup_standalone: Data: code="28", url="https://api2.miktex.org/hello"
Error: Process completed with exit code -1.

Reproducible example

Example recent build from #5396: https://github.com/microsoft/LightGBM/actions/runs/3528457186/jobs/5918579958

Environment info

Four CI jobs are failing regularly with this error:

  • r-package (windows-latest, MINGW, R 3.6, cran)
  • r-package (windows-latest, MINGW, R 4.2, cran)
  • r-package (windows-latest, MINGW, R 3.6, cmake)
  • r-package (windows-latest, MINGW, R 4.2, cmake)

Additional Comments

In the past, we've seen MikTeX issues like this with minimal error messages resolve themselves after 12-48 hours 🙃

@jameslamb
Copy link
Collaborator Author

I tried that URL listed in the error message from two different machines, and found that it's returning 429s from both.

curl -I https://api2.miktex.org/hello
HTTP/1.1 429 Too Many Requests
Server: nginx/1.18.0 (Ubuntu)
Date: Wed, 23 Nov 2022 04:49:15 GMT
Connection: keep-alive

It looks like api2.miktex.org is completely down.

curl -I https://api2.miktex.org/
HTTP/1.1 404 Not Found
Server: nginx/1.18.0 (Ubuntu)
Date: Wed, 23 Nov 2022 04:52:23 GMT
Connection: keep-alive

@jameslamb
Copy link
Collaborator Author

I've opened MiKTeX/miktex#1228 asking about this. Otherwise, hopefully waiting a few more hours will resolve this 😕

@jameslamb
Copy link
Collaborator Author

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity since it was closed.
To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues
including a reference to this.

@github-actions github-actions bot removed the blocking label Aug 15, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant