DUB cannot fetch packages on Linux

jfondren julian.fondren at gmail.com
Sun Aug 1 06:53:00 UTC 2021


On Sunday, 1 August 2021 at 06:03:50 UTC, Kirill wrote:
> Whenever DUB tries to fetch a package, it returns the following:
>
> ```D
> Package bindbc-glfw not found for registry at 
> https://code.dlang.org/ (fallback ["registry at 
> http://code.dlang.org/", "registry at 
> https://code-mirror.dlang.io/", "registry at 
> https://code-mirror2.dlang.io/", "registry at 
> https://dub-registry.herokuapp.com/"]): HTTP request returned 
> status code 503 (Service Unavailable)
> ```
>
> Is it linux-specific? Do you have any ideas what might be the 
> problem here?

It's a 503 (Service Unavailable) error from the HTTP request. 5xx 
series of errors are server-side errors, vs. 4xx which are 
client-side (404, you requested something that doesn't exist; 
401, you made a request you're not permitted to make; 400, your 
request was malformed). It's not Linux specific and the requests 
work at this time. The server(s) was having problems.


More information about the Digitalmars-d mailing list