elm / compiler

Compiler for Elm, a functional language for reliable webapps.
https://elm-lang.org/
BSD 3-Clause "New" or "Revised" License
7.51k stars 656 forks source link

elm init gives 405 #2192

Closed GuillotJessica closed 3 years ago

GuillotJessica commented 3 years ago

Quick Summary: ???

I need the list of published packages before I can start initializing projects, so I tried to fetch:

https://package.elm-lang.org/all-packages

But it came back as 405 Not Allowed

This may mean some online endpoint changed in an unexpected way, so if does not seem like something on your side is causing this (e.g. firewall) please report this to https://github.com/elm/compiler/issues with your operating system, Elm version, the command you ran, the terminal output, and any additional information that can help others reproduce the error!

SSCCE

github-actions[bot] commented 3 years ago

Thanks for reporting this! To set expectations:

Finally, please be patient with the core team. They are trying their best with limited resources.

evancz commented 3 years ago

Thank you for the report!

I am doing some website maintenance that seems to have caused this. It works at the moment, but it may be flaky as I try to figure out why that link was available through browsers but not through elm init. I'll report back when I figure it out!

GuillotJessica commented 3 years ago

it worked, thank you

evancz commented 3 years ago

Sorry for the trouble with this!

I have been trying to make the package website a little faster, but it looks like I made a change that was incompatible with the elm init code. It makes a POST request for some data, and the server only wanted GET requests. It should be fixed now though!