www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Is code.dlang.org down?

reply Soulsbane <paul acheronsoft.com> writes:
I can't load the webpage nor build my program. The webpage just 
times out eventually.

Building my program gives this error output:

Error querying versions for asciitable, registry at 
https://code.dlang.org/ (fallbacks registry at 
https://code-mirror.dlang.io/, registry at 
https://dub-registry.herokuapp.com/): Failed to download 
https://code.dlang.org/api/packages/infos?packages=%5B%22asciitable%22%5D&include_dependencies=true&minimize=true
Selected package asciitable 0.0.10 doesn't exist. Using latest 
matching version instead.
Package asciitable not found in registry at 
https://code.dlang.org/ (fallbacks registry at 
https://code-mirror.dlang.io/, registry at 
https://dub-registry.herokuapp.com/): Failed to download 
https://code.dlang.org/api/packages/infos?packages=%5B%22asciitable%22%5D&include_dependencies=true&minimize=true
Failed to find any versions for package asciitable, referenced by 
table ~master
Command exited with non-zero status 2
0.18user 0.08system 1:13.34elapsed 0%CPU (0avgtext+0avgdata 
19504maxresident)k
0inputs+0outputs (0major+21692minor)pagefaults 0swaps
Error querying versions for asciitable, registry at 
https://code.dlang.org/ (fallbacks registry at 
https://code-mirror.dlang.io/, registry at 
https://dub-registry.herokuapp.com/): Failed to download 
https://code.dlang.org/api/packages/infos?packages=%5B%22asciitable%22%5D&include_dependencies=true&minimize=true
Selected package asciitable 0.0.10 doesn't exist. Using latest 
matching version instead.
Package asciitable not found in registry at 
https://code.dlang.org/ (fallbacks registry at 
https://code-mirror.dlang.io/, registry at 
https://dub-registry.herokuapp.com/): Failed to download 
https://code.dlang.org/api/packages/infos?packages=%5B%22asciitable%22%5D&include_dependencies=true&minimize=true
Failed to find any versions for package asciitable, referenced by 
table ~master
Command exited with non-zero status 2
0.20user 0.06system 1:13.38elapsed 0%CPU (0avgtext+0avgdata 
19496maxresident)k
0inputs+0outputs (0major+21731minor)pagefaults 0swaps

So even the fallback registries are down? Thanks!
Dec 15 2019
next sibling parent reply singingbush <singingbush hotmail.com> writes:
On Monday, 16 December 2019 at 07:35:11 UTC, Soulsbane wrote:
 I can't load the webpage nor build my program. The webpage just 
 times out eventually.

 [...]
I suspect it's this https://github.com/dlang/dub/issues/1815
Dec 15 2019
parent Soulsbane <paul acheronsoft.com> writes:
On Monday, 16 December 2019 at 07:41:58 UTC, singingbush wrote:
 On Monday, 16 December 2019 at 07:35:11 UTC, Soulsbane wrote:
 I can't load the webpage nor build my program. The webpage 
 just times out eventually.

 [...]
I suspect it's this https://github.com/dlang/dub/issues/1815
Ah, yeah could be. Thanks for the info!
Dec 15 2019
prev sibling next sibling parent Jacob Carlborg <doob me.com> writes:
On Monday, 16 December 2019 at 07:35:11 UTC, Soulsbane wrote:
 I can't load the webpage nor build my program. The webpage just 
 times out eventually.
This site works: https://dub.pm. -- /Jacob Carlborg
Dec 16 2019
prev sibling next sibling parent Jacob Carlborg <doob me.com> writes:
On Monday, 16 December 2019 at 07:35:11 UTC, Soulsbane wrote:

 Building my program gives this error output:
If you already have the dependencies installed you can add the `--skip-registry=all` flag when running `dub`. -- /Jacob Carlborg
Dec 16 2019
prev sibling next sibling parent Sebastiaan Koppe <mail skoppe.eu> writes:
On Monday, 16 December 2019 at 07:35:11 UTC, Soulsbane wrote:
 I can't [...] build my program.
It started yesterday: https://stats.uptimerobot.com/6mQX4Crw2L You can try `dub build --registry=https://dub.bytecraft.nl`, it will still work when the registry is down, but it does depend on the metadata. So if that is down as well, you are out of luck. This situation is quite damaging. We just can't have uptime be lower than triple 9's. I don't have much time currently, but it is something I want to work on in 2020. The way I see it we should redesign dub package resolution so it does not depend on a self-hosted application in someone's basement. I suggest to put all metadata in git and push to gitlab/github/bitbucket (for redundancy) and have dub clone that to resolve versions. The updating of packages can be done with cloud functions triggered by gitlab/github/bitbucket webhooks (with the added benefit that a version is updated near real-time). As I have shown in my registry-mirror, once you have the metadata you can simply fetch from gitlab/github archives directly. (Don't know about bitbucket or the other repos available in dub (maven?), but they should follow suit).
Dec 16 2019
prev sibling parent reply Jacob Carlborg <doob me.com> writes:
On Monday, 16 December 2019 at 07:35:11 UTC, Soulsbane wrote:
 I can't load the webpage nor build my program. The webpage just 
 times out eventually.
It's back up now. -- /Jacob Carlborg
Dec 16 2019
parent reply singingbush <singingbush hotmail.com> writes:
On Monday, 16 December 2019 at 12:46:27 UTC, Jacob Carlborg wrote:
 On Monday, 16 December 2019 at 07:35:11 UTC, Soulsbane wrote:
 I can't load the webpage nor build my program. The webpage 
 just times out eventually.
It's back up now. -- /Jacob Carlborg
Not for me: $ curl -IXGET code.dlang.org HTTP/1.1 503 Service Unavailable Cache-Control: no-cache Pragma: no-cache Content-Type: text/html; charset=utf-8 Connection: close Content-Length: 15965
Dec 16 2019
parent reply rikki cattermole <rikki cattermole.co.nz> writes:
On 17/12/2019 1:53 AM, singingbush wrote:
 On Monday, 16 December 2019 at 12:46:27 UTC, Jacob Carlborg wrote:
 On Monday, 16 December 2019 at 07:35:11 UTC, Soulsbane wrote:
 I can't load the webpage nor build my program. The webpage just times 
 out eventually.
It's back up now. -- /Jacob Carlborg
Not for me: $ curl -IXGET code.dlang.org HTTP/1.1 503 Service Unavailable Cache-Control: no-cache Pragma: no-cache Content-Type: text/html; charset=utf-8 Connection: close Content-Length: 15965
Its up, flush your dns.
Dec 16 2019
parent reply singingbush <singingbush hotmail.com> writes:
On Monday, 16 December 2019 at 13:01:12 UTC, rikki cattermole 
wrote:
 On 17/12/2019 1:53 AM, singingbush wrote:
 On Monday, 16 December 2019 at 12:46:27 UTC, Jacob Carlborg 
 wrote:
 On Monday, 16 December 2019 at 07:35:11 UTC, Soulsbane wrote:
 I can't load the webpage nor build my program. The webpage 
 just times out eventually.
It's back up now. -- /Jacob Carlborg
Not for me: $ curl -IXGET code.dlang.org HTTP/1.1 503 Service Unavailable Cache-Control: no-cache Pragma: no-cache Content-Type: text/html; charset=utf-8 Connection: close Content-Length: 15965
Its up, flush your dns.
This is an issue again. It's not just a case of me flushing DNS, see: https://stats.uptimerobot.com/6mQX4Crw2L the stats for package zip yesterday and today are pretty bad: 18 Dec | 17 Dec | 16 Dec | 15 Dec 38.456% | 29.437% | 83.065% | 64.540% the main dub repo should be running on decent infrastructure with proper funding. Could it be run across multiple regions in AWS? There should almost certainly be mirrors in the US, Europe, and Asia
Dec 18 2019
parent Bastiaan Veelo <Bastiaan Veelo.net> writes:
On Wednesday, 18 December 2019 at 17:17:54 UTC, singingbush wrote:
 This is an issue again. It's not just a case of me flushing 
 DNS, see: https://stats.uptimerobot.com/6mQX4Crw2L
Problems are resurfacing again. Bastiaan.
Jan 08 2020