digitalmars.D - DUB cannot fetch packages on Linux
- Kirill (12/12) Jul 31 2021 Whenever DUB tries to fetch a package, it returns the following:
- jfondren (7/19) Jul 31 2021 It's a 503 (Service Unavailable) error from the HTTP request. 5xx
- Kirill (5/11) Aug 01 2021 Thank you for the explanation.
- =?UTF-8?Q?S=c3=b6nke_Ludwig?= (7/19) Aug 01 2021 I'm not sure what the issue is exactly, but judging by the list of
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?
Jul 31 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.
Jul 31 2021
On Sunday, 1 August 2021 at 06:53:00 UTC, jfondren wrote: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.Thank you for the explanation. Though I still consider the whole situation to be quite strange. Dub is able to fetch a package on mac, yet is unable to do the same on linux.
Aug 01 2021
Am 01.08.2021 um 08:03 schrieb Kirill: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?I'm not sure what the issue is exactly, but judging by the list of fallback servers, it appears that you have a relatively old version of DUB. In fact, none of those servers are available anymore, while the main fallback, codemirror.dlang.org is not there. There was a brief downtime of under a minute at 3:47 UTC today, so without any fallbacks that could explain the error.
Aug 01 2021