Thread overview | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
December 16, 2019 Is code.dlang.org down? | ||||
---|---|---|---|---|
| ||||
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! |
December 16, 2019 Re: Is code.dlang.org down? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Soulsbane | 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 |
December 16, 2019 Re: Is code.dlang.org down? | ||||
---|---|---|---|---|
| ||||
Posted in reply to singingbush | 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!
|
December 16, 2019 Re: Is code.dlang.org down? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Soulsbane | 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 |
December 16, 2019 Re: Is code.dlang.org down? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Soulsbane | 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
|
December 16, 2019 Re: Is code.dlang.org down? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Soulsbane | 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). |
December 16, 2019 Re: Is code.dlang.org down? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Soulsbane | 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
|
December 16, 2019 Re: Is code.dlang.org down? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jacob Carlborg | 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
|
December 17, 2019 Re: Is code.dlang.org down? | ||||
---|---|---|---|---|
| ||||
Posted in reply to singingbush | 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.
|
December 18, 2019 Re: Is code.dlang.org down? | ||||
---|---|---|---|---|
| ||||
Posted in reply to rikki cattermole | 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 |
Copyright © 1999-2021 by the D Language Foundation