www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - code.dlang.org having problems?

reply Russel Winder <russel winder.org.uk> writes:
It seems Dub is dead, and thus so are new Dub builds.

code.dlang.org appears to be having a 500 problem. I think the website is
recovering as I write, but still no Dub builds so the point remains: no
code.dlang.org, no Dub builds. :-(

--=20
Russel.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Dr Russel Winder      t: +44 20 7585 2200
41 Buckmaster Road    m: +44 7770 465 077
London SW11 1EN, UK   w: www.russel.org.uk
Mar 24 2018
next sibling parent reply rikki cattermole <rikki cattermole.co.nz> writes:
On 25/03/2018 4:48 AM, Russel Winder wrote:
 It seems Dub is dead, and thus so are new Dub builds.
 
 code.dlang.org appears to be having a 500 problem. I think the website is
 recovering as I write, but still no Dub builds so the point remains: no
 code.dlang.org, no Dub builds. :-(
 
Tip: $ dub --skip-registry=all
Mar 24 2018
parent reply Russel Winder <russel winder.org.uk> writes:
On Sun, 2018-03-25 at 04:50 +1300, rikki cattermole via Digitalmars-d wrote=
:
 On 25/03/2018 4:48 AM, Russel Winder wrote:
 It seems Dub is dead, and thus so are new Dub builds.
=20
 code.dlang.org appears to be having a 500 problem. I think the website =
is
 recovering as I write, but still no Dub builds so the point remains: no
 code.dlang.org, no Dub builds. :-(
=20
=20 Tip: $ dub --skip-registry=3Dall
Not useful just no, I need new versions. Two reasons: 1. I didn't have the latest version locally; and 2. I deleted ~/.dub as a clean up measure to ge= t rid of all the crap accrued over the years. Useful for non-dependency upgrade features though. --=20 Russel. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Dr Russel Winder t: +44 20 7585 2200 41 Buckmaster Road m: +44 7770 465 077 London SW11 1EN, UK w: www.russel.org.uk
Mar 24 2018
parent reply rikki cattermole <rikki cattermole.co.nz> writes:
On 25/03/2018 5:10 AM, Russel Winder wrote:
 On Sun, 2018-03-25 at 04:50 +1300, rikki cattermole via Digitalmars-d wrote:
 On 25/03/2018 4:48 AM, Russel Winder wrote:
 It seems Dub is dead, and thus so are new Dub builds.

 code.dlang.org appears to be having a 500 problem. I think the website is
 recovering as I write, but still no Dub builds so the point remains: no
 code.dlang.org, no Dub builds. :-(
Tip: $ dub --skip-registry=all
Not useful just no, I need new versions. Two reasons: 1. I didn't have the latest version locally; and 2. I deleted ~/.dub as a clean up measure to get rid of all the crap accrued over the years.
$ git clone https://yyyy/xx/zz $ dub add-local zz These are workarounds, to keep you going. Preferable no, but what else can you do really? The only thing comes to mind is allow dub itself to retrieve the projects zip and cache the database locally.
Mar 24 2018
parent Andre Pany <andre s-e-a-p.de> writes:
On Saturday, 24 March 2018 at 16:14:20 UTC, rikki cattermole 
wrote:
 On 25/03/2018 5:10 AM, Russel Winder wrote:
 On Sun, 2018-03-25 at 04:50 +1300, rikki cattermole via 
 Digitalmars-d wrote:
 On 25/03/2018 4:48 AM, Russel Winder wrote:
 It seems Dub is dead, and thus so are new Dub builds.

 code.dlang.org appears to be having a 500 problem. I think 
 the website is
 recovering as I write, but still no Dub builds so the point 
 remains: no
 code.dlang.org, no Dub builds. :-(
Tip: $ dub --skip-registry=all
Not useful just no, I need new versions. Two reasons: 1. I didn't have the latest version locally; and 2. I deleted ~/.dub as a clean up measure to get rid of all the crap accrued over the years.
$ git clone https://yyyy/xx/zz $ dub add-local zz These are workarounds, to keep you going. Preferable no, but what else can you do really? The only thing comes to mind is allow dub itself to retrieve the projects zip and cache the database locally.
There are currently 2 interesting dub pull requests. First one allows you to specify git dependencies. Second one allows you to connect to maven repositories. If e.g. the dub packages also beeing cloned to a maven repository this would increase the safety net. Next step of course would be a pull request to allow url (zip) dependencies. May someone is so kind to create a pr. Kind regards Andre
Mar 24 2018
prev sibling next sibling parent reply Seb <seb wilzba.ch> writes:
On Saturday, 24 March 2018 at 15:48:21 UTC, Russel Winder wrote:
 It seems Dub is dead, and thus so are new Dub builds.

 code.dlang.org appears to be having a 500 problem. I think the 
 website is recovering as I write, but still no Dub builds so 
 the point remains: no code.dlang.org, no Dub builds. :-(
Are you using an old dub binary? Since 1.6 dub has built-in mirrors like e.g. https://code-mirror.dlang.io And since 1.7. it has even more like https://dub-registry.herokuapp.com So this should cause no outage as the dub binary will softly fallback to its mirrors. Regarding the current code.dlang.org problems, see: https://github.com/dlang/dub-registry/issues/298
Mar 24 2018
parent Russel Winder <russel winder.org.uk> writes:
On Sat, 2018-03-24 at 16:59 +0000, Seb via Digitalmars-d wrote:
 On Saturday, 24 March 2018 at 15:48:21 UTC, Russel Winder wrote:
 It seems Dub is dead, and thus so are new Dub builds.
=20
 code.dlang.org appears to be having a 500 problem. I think the=20
 website is recovering as I write, but still no Dub builds so=20
 the point remains: no code.dlang.org, no Dub builds. :-(
=20 Are you using an old dub binary? =20 Since 1.6 dub has built-in mirrors like e.g.=20 https://code-mirror.dlang.io And since 1.7. it has even more like=20 https://dub-registry.herokuapp.com =20 So this should cause no outage as the dub binary will softly=20 fallback to its mirrors. Regarding the current code.dlang.org problems, see: =20 https://github.com/dlang/dub-registry/issues/298
I am using the Debian Stable packaged version which is 1.7.2 |> dub build Error querying versions for dinotify, registry at https://code.dlang.org/ (= fallback ["registry at http://code.dlang.org/", "registry at https://code-m= irror.dlang.io/", "registry at https://code-mirror2.dlang.io/", "registry a= t https://dub-registry.herokuapp.com/"]): HTTP request returned status code= 0 () Selected package dinotify 0.3.0 doesn't exist. Using latest matching versio= n instead. Error querying versions for unit-threaded, registry at https://code.dlang.o= rg/ (fallback ["registry at http://code.dlang.org/", "registry at https://c= ode-mirror.dlang.io/", "registry at https://code-mirror2.dlang.io/", "regis= try at https://dub-registry.herokuapp.com/"]): HTTP request returned status= code 0 () Selected package unit-threaded 0.7.38 doesn't exist. Using latest matching = version instead. Error querying versions for gtk-d, registry at https://code.dlang.org/ (fal= lback ["registry at http://code.dlang.org/", "registry at https://code-mirr= or.dlang.io/", "registry at https://code-mirror2.dlang.io/", "registry at h= ttps://dub-registry.herokuapp.com/"]): HTTP request returned status code 0 = () Selected package gtk-d 3.7.3 doesn't exist. Using latest matching version i= nstead. Package gtk-d not found in 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://d= ub-registry.herokuapp.com/"]): HTTP request returned status code 0 () Package dinotify not found in registry at https://code.dlang.org/ (fallback= ["registry at http://code.dlang.org/", "registry at https://code-mirror.dl= ang.io/", "registry at https://code-mirror2.dlang.io/", "registry at https:= //dub-registry.herokuapp.com/"]): HTTP request returned status code 0 () Package unit-threaded not found in registry at https://code.dlang.org/ (fal= lback ["registry at http://code.dlang.org/", "registry at https://code-mirr= or.dlang.io/", "registry at https://code-mirror2.dlang.io/", "registry at h= ttps://dub-registry.herokuapp.com/"]): HTTP request returned status code 0 = () Root package me-tv references unknown package gtk-d:gstreamer --=20 Russel. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Dr Russel Winder t: +44 20 7585 2200 41 Buckmaster Road m: +44 7770 465 077 London SW11 1EN, UK w: www.russel.org.uk
Mar 24 2018
prev sibling parent reply Atila Neves <atila.neves gmail.com> writes:
On Saturday, 24 March 2018 at 15:48:21 UTC, Russel Winder wrote:
 It seems Dub is dead, and thus so are new Dub builds.

 code.dlang.org appears to be having a 500 problem. I think the 
 website is recovering as I write, but still no Dub builds so 
 the point remains: no code.dlang.org, no Dub builds. :-(
code.dlang.org being down is now the main reason I experience build failures. Atila
Mar 26 2018
parent reply Seb <seb wilzba.ch> writes:
On Monday, 26 March 2018 at 14:16:28 UTC, Atila Neves wrote:
 On Saturday, 24 March 2018 at 15:48:21 UTC, Russel Winder wrote:
 It seems Dub is dead, and thus so are new Dub builds.

 code.dlang.org appears to be having a 500 problem. I think the 
 website is recovering as I write, but still no Dub builds so 
 the point remains: no code.dlang.org, no Dub builds. :-(
code.dlang.org being down is now the main reason I experience build failures. Atila
Even with a recent DUB binary (e.g. 1.7.2 or 1.8.0)? (=2.078.3 or 2.079.0) Anything that you are being able to reproduce with a "fake" always failing registry? In theory the recent DUB binaries comes with multiple backup mirrors and a more advanced retry logic. We even have a few tests for this now, e.g. https://github.com/dlang/dub/blob/master/test/timeout.sh https://github.com/dlang/dub/blob/master/test/fetchzip.sh
Mar 26 2018
next sibling parent reply Atila Neves <atila.neves gmail.com> writes:
On Monday, 26 March 2018 at 15:34:12 UTC, Seb wrote:
 On Monday, 26 March 2018 at 14:16:28 UTC, Atila Neves wrote:
 On Saturday, 24 March 2018 at 15:48:21 UTC, Russel Winder 
 wrote:
 [...]
code.dlang.org being down is now the main reason I experience build failures. Atila
Even with a recent DUB binary (e.g. 1.7.2 or 1.8.0)? (=2.078.3 or 2.079.0) Anything that you are being able to reproduce with a "fake" always failing registry? In theory the recent DUB binaries comes with multiple backup mirrors and a more advanced retry logic. We even have a few tests for this now, e.g. https://github.com/dlang/dub/blob/master/test/timeout.sh https://github.com/dlang/dub/blob/master/test/fetchzip.sh
Yes. Today it took too long to respond and my travis build failed because it was hung for >10min. Atila
Mar 26 2018
parent reply Seb <seb wilzba.ch> writes:
On Monday, 26 March 2018 at 16:24:10 UTC, Atila Neves wrote:
 On Monday, 26 March 2018 at 15:34:12 UTC, Seb wrote:
 On Monday, 26 March 2018 at 14:16:28 UTC, Atila Neves wrote:
 [...]
Even with a recent DUB binary (e.g. 1.7.2 or 1.8.0)? (=2.078.3 or 2.079.0) Anything that you are being able to reproduce with a "fake" always failing registry? In theory the recent DUB binaries comes with multiple backup mirrors and a more advanced retry logic. We even have a few tests for this now, e.g. https://github.com/dlang/dub/blob/master/test/timeout.sh https://github.com/dlang/dub/blob/master/test/fetchzip.sh
Yes. Today it took too long to respond and my travis build failed because it was hung for >10min. Atila
Do you have a link by chance?
Mar 26 2018
next sibling parent Atila Neves <atila.neves gmail.com> writes:
On Monday, 26 March 2018 at 18:28:09 UTC, Seb wrote:
 On Monday, 26 March 2018 at 16:24:10 UTC, Atila Neves wrote:
 On Monday, 26 March 2018 at 15:34:12 UTC, Seb wrote:
 On Monday, 26 March 2018 at 14:16:28 UTC, Atila Neves wrote:
 [...]
Even with a recent DUB binary (e.g. 1.7.2 or 1.8.0)? (=2.078.3 or 2.079.0) Anything that you are being able to reproduce with a "fake" always failing registry? In theory the recent DUB binaries comes with multiple backup mirrors and a more advanced retry logic. We even have a few tests for this now, e.g. https://github.com/dlang/dub/blob/master/test/timeout.sh https://github.com/dlang/dub/blob/master/test/fetchzip.sh
Yes. Today it took too long to respond and my travis build failed because it was hung for >10min. Atila
Do you have a link by chance?
No, since I restarted the build as soon as I could reach code.dlang.org in the browser. I'm not sure how much information the link would be anyway. At the time the website was unresponsive instead of just not returning anything.
Mar 26 2018
prev sibling parent Atila Neves <atila.neves gmail.com> writes:
On Monday, 26 March 2018 at 18:28:09 UTC, Seb wrote:
 On Monday, 26 March 2018 at 16:24:10 UTC, Atila Neves wrote:
 On Monday, 26 March 2018 at 15:34:12 UTC, Seb wrote:
 On Monday, 26 March 2018 at 14:16:28 UTC, Atila Neves wrote:
 [...]
Even with a recent DUB binary (e.g. 1.7.2 or 1.8.0)? (=2.078.3 or 2.079.0) Anything that you are being able to reproduce with a "fake" always failing registry? In theory the recent DUB binaries comes with multiple backup mirrors and a more advanced retry logic. We even have a few tests for this now, e.g. https://github.com/dlang/dub/blob/master/test/timeout.sh https://github.com/dlang/dub/blob/master/test/fetchzip.sh
Yes. Today it took too long to respond and my travis build failed because it was hung for >10min. Atila
Do you have a link by chance?
I was about to click on the rebuild button when I remembered you asked for this: https://travis-ci.org/atilaneves/reggae/jobs/362076768 It's an effort for me to keep my OCD from wanting the build green. ;) These kind of failures happen all the time. Atila
Apr 04 2018
prev sibling parent Anton Fediushin <fediushin.anton yandex.ru> writes:
On Monday, 26 March 2018 at 15:34:12 UTC, Seb wrote:
 Even with a recent DUB binary (e.g. 1.7.2 or 1.8.0)?
 (=2.078.3 or 2.079.0)

 Anything that you are being able to reproduce with a "fake" 
 always failing registry?

 In theory the recent DUB binaries comes with multiple backup 
 mirrors and a more advanced retry logic.
 We even have a few tests for this now, e.g.

 https://github.com/dlang/dub/blob/master/test/timeout.sh
 https://github.com/dlang/dub/blob/master/test/fetchzip.sh
I experienced the same with dub 1.8.0. It never switched to one of the mirrors. Only `--registry=` option helped.
Mar 26 2018