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

GitHub Actions unable to install Java due to problems with Cloudflare CDN #1196

Closed
Soroosh129 opened this issue May 26, 2022 · 5 comments · Fixed by #1202
Closed

GitHub Actions unable to install Java due to problems with Cloudflare CDN #1196

Soroosh129 opened this issue May 26, 2022 · 5 comments · Fixed by #1202

Comments

@Soroosh129
Copy link
Contributor

I have been getting the following error fairly regularly:
image

Generally, re-running the CI fixes this issue.

Here is an example of a failing task: https://github.com/lf-lang/lingua-franca/runs/6613476780?check_suite_focus=true#step:3:21

@petervdonovan
Copy link
Collaborator

petervdonovan commented May 26, 2022

I have the same issue in the vscode-lingua-franca repo, only on MacOS. I suspect the problem is unrelated to anything we have done. Surprisingly, I have not seen any relevant bug reports here, though.

@Soroosh129
Copy link
Contributor Author

Soroosh129 commented May 26, 2022

It looks like an unexpected CloudFlare HTML file is being downloaded instead of the actual thing:
image

To get the above, I copied the output of the CI task into a .html file and opened it in a browser.

@lhstrh
Copy link
Member

lhstrh commented May 26, 2022

I saw a commit from @petervdonovan that attempted to address this issue by choosing a different Java distribution? Did it work?
ff8996

@petervdonovan
Copy link
Collaborator

Did it work?

No, it did not work. It did not work to revert to an older setup-java version, either.

@Soroosh129
Copy link
Contributor Author

There are other distributions to try.
Is it worth playing around with these? Perhaps one of these is not using CloudFlare.

@lhstrh lhstrh changed the title Cryptic Error on GitHub Actions: Error: <!DOCTYPE html> GitHub Actions unable to install Java due to problems with Cloudflare CDN May 31, 2022
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 a pull request may close this issue.

3 participants