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

OPAM 502 Bad Gateaway error from github action #5875

Closed
aryx opened this issue Mar 9, 2024 · 5 comments
Closed

OPAM 502 Bad Gateaway error from github action #5875

aryx opened this issue Mar 9, 2024 · 5 comments

Comments

@aryx
Copy link

aryx commented Mar 9, 2024

If your issue concerns a package not building, please report to
https://github.com/ocaml/opam-repository/issues or to the package maintainer
unless you are confident it is an issue in the opam tool itself.

We have problem usings opam from github actions (GHA):
See https://github.com/semgrep/semgrep/actions/runs/8215778151/job/22469613987?pr=9909

Could not update repository "default": OpamDownload.Download_fail(_, "Download command failed: \"/opt/homebrew/bin/wget --content-disposition -t 3 -O /private/var/folders/76/zy5ktkns50v6gt5g8r0sf6sc0000gn/T/opam-3752-0ea4e8/index.tar.gz.part -U opam/2.1.3 -- [https://opam.ocaml.org/index.tar.gz\](https://opam.ocaml.org/index.tar.gz/)" exited with code 8 \"2024-03-09 08:24:50 ERROR 502: Bad Gateway.\"")
@aryx
Copy link
Author

aryx commented Mar 9, 2024

https://opam.ocaml.org/index.tar.gz/)" exited with code 8 \"2024-03-09 08:24:50 ERROR 502: Bad Gateway

@aryx aryx changed the title OPAM is down? OPAM 502 Bad Gateaway error from github action Mar 9, 2024
@MusicFreak456
Copy link

Opam website https://opam.ocaml.org/ is also not available for me, with the same 502 error.

@porcow
Copy link

porcow commented Mar 10, 2024

I have installed opam 2.1.5 on macOS Sonoma 14.4, When I try opam init, I get the following error:

[ERROR] Could not update repository "default": OpamDownload.Download_fail(_, "curl: code 502 while
        downloading https://opam.ocaml.org/index.tar.gz")

When I visit opam.ocaml.org in Chrome, I get 502 Bad Gateway.

@aryx
Copy link
Author

aryx commented Mar 10, 2024

cc @kit-ty-kate

@kit-ty-kate
Copy link
Member

Hi, sorry this happened to you. The opam dev team does not manage the opam.ocaml.org website, only the source code of the webserver (located in https://github.com/ocaml-opam/opam2web).

We are not on call during the weekend but the people that are and are responsible for the the entirety of ocaml.org, can be contacted through: https://github.com/ocaml/infrastructure/issues

I’ve opened #5876 to make that clearer when opening an issue here.

In any case it looks like the issue has been fixed, so I’ll close this issue. Thanks for the report nonetheless and sorry for the inconvenience.

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

4 participants