Re: code.dlang.org internal server error
On Wednesday, 8 February 2017 at 13:40:56 UTC, Eugene Wissner wrote: On Wednesday, 8 February 2017 at 12:54:00 UTC, John Colvin wrote: On Wednesday, 8 February 2017 at 05:49:55 UTC, Ali Çehreli wrote: code.dlang.org gives the following error: 500 - Internal Server Error Internal Server Error Ali Seeing as code.dlang.org is pretty critical these days, it would be great if there was a better way to handle this than "wait for Sönke to notice it's down". or just support git/githab & co. directly from dub. Exactly!
Re: code.dlang.org internal server error
Dne 10.2.2017 v 07:27 puming via Digitalmars-d napsal(a): On Thursday, 9 February 2017 at 12:19:12 UTC, Daniel Kozák wrote: V Thu, 9 Feb 2017 11:54:05 +0100 Sönke Ludwig via Digitalmars-dnapsáno: [...] In general issue is not with connectivity to China but with GFW (https://en.wikipedia.org/wiki/Great_Firewall), So you would need some VPS inside china, unfortunately AFAIK all VPS inside Hong Kong are outside of GFW so it is still posible it would not help. But in our company we have VPS inside GFW (for our chinese customers), so maybe I could ask if they dont mind to provide it for dub mirror purpose Yes, GFW is the main problem. What's more, to setup a HTTP site in China, one has to file for permission from the govt. Yes, we have ICP number, so in theory it should be possible to make mirror in China
Re: code.dlang.org internal server error
On Thursday, 9 February 2017 at 12:19:12 UTC, Daniel Kozák wrote: V Thu, 9 Feb 2017 11:54:05 +0100 Sönke Ludwig via Digitalmars-dnapsáno: [...] In general issue is not with connectivity to China but with GFW (https://en.wikipedia.org/wiki/Great_Firewall), So you would need some VPS inside china, unfortunately AFAIK all VPS inside Hong Kong are outside of GFW so it is still posible it would not help. But in our company we have VPS inside GFW (for our chinese customers), so maybe I could ask if they dont mind to provide it for dub mirror purpose Yes, GFW is the main problem. What's more, to setup a HTTP site in China, one has to file for permission from the govt.
Re: code.dlang.org internal server error
On Thursday, 9 February 2017 at 10:54:05 UTC, Sönke Ludwig wrote: Am 09.02.2017 um 03:34 schrieb puming: On Wednesday, 8 February 2017 at 14:11:48 UTC, Sönke Ludwig wrote: [...] I have a VPS slot in Hong Kong for personal use, with 1GB memory, 30GB disk and 300GB monthly bandwidth. Is that OK for a mirror site? That should work! Considering that connectivity from my VPS to China generally appears to be sub optimal, that would be good to have as an alternative anyway. We just need to implement a mirror mode, where user and package management is disabled and updates are pulled from code.dlang.org instead of from github directly. When you get mirror mode working, please make an anouncement so that I can contact you about setting up the mirror. I can afford to increase VPS capacity to 2GB Mem/60GB disc or something similar if neccessary.
Re: code.dlang.org internal server error
V Thu, 9 Feb 2017 11:54:05 +0100 Sönke Ludwig via Digitalmars-dnapsáno: > Am 09.02.2017 um 03:34 schrieb puming: > > On Wednesday, 8 February 2017 at 14:11:48 UTC, Sönke Ludwig wrote: > >> Am 08.02.2017 um 14:29 schrieb singingbush: > >>> [...] > >> > >> Yes, we need to prioritize this somehow. Having a fallback mirror, > >> coupled with dependency upgrade checks that run asynchronously > >> would get rid of these issues. It would be great if somebody could > >> find the time to tackle one or the other. I personally have an > >> very limited time budget for open source at the moment and I need > >> to focus that on vibe.d for a bit. > >> > >> BTW, the server is running again (it ran out of disk space again > >> and I need to configure a proactive alert for that). > > > > I have a VPS slot in Hong Kong for personal use, with 1GB memory, > > 30GB disk and 300GB monthly bandwidth. Is that OK for a mirror > > site? > > That should work! Considering that connectivity from my VPS to China > generally appears to be sub optimal, that would be good to have as an > alternative anyway. > > We just need to implement a mirror mode, where user and package > management is disabled and updates are pulled from code.dlang.org > instead of from github directly. In general issue is not with connectivity to China but with GFW (https://en.wikipedia.org/wiki/Great_Firewall), So you would need some VPS inside china, unfortunately AFAIK all VPS inside Hong Kong are outside of GFW so it is still posible it would not help. But in our company we have VPS inside GFW (for our chinese customers), so maybe I could ask if they dont mind to provide it for dub mirror purpose
Re: code.dlang.org internal server error
V Thu, 09 Feb 2017 02:34:46 + puming via Digitalmars-dnapsáno: > On Wednesday, 8 February 2017 at 14:11:48 UTC, Sönke Ludwig wrote: > > Am 08.02.2017 um 14:29 schrieb singingbush: > >> [...] > > > > Yes, we need to prioritize this somehow. Having a fallback > > mirror, coupled with dependency upgrade checks that run > > asynchronously would get rid of these issues. It would be great > > if somebody could find the time to tackle one or the other. I > > personally have an very limited time budget for open source at > > the moment and I need to focus that on vibe.d for a bit. > > > > BTW, the server is running again (it ran out of disk space > > again and I need to configure a proactive alert for that). > > I have a VPS slot in Hong Kong for personal use, with 1GB memory, > 30GB disk and 300GB monthly bandwidth. Is that OK for a mirror > site? I have VPS in Czech republic 120GB ssd + 250GB NAS 4G RAM 8 cores 3TB bandwidth per month So I belive I am able to provide mirror :)
Re: code.dlang.org internal server error
Am 09.02.2017 um 03:34 schrieb puming: On Wednesday, 8 February 2017 at 14:11:48 UTC, Sönke Ludwig wrote: Am 08.02.2017 um 14:29 schrieb singingbush: [...] Yes, we need to prioritize this somehow. Having a fallback mirror, coupled with dependency upgrade checks that run asynchronously would get rid of these issues. It would be great if somebody could find the time to tackle one or the other. I personally have an very limited time budget for open source at the moment and I need to focus that on vibe.d for a bit. BTW, the server is running again (it ran out of disk space again and I need to configure a proactive alert for that). I have a VPS slot in Hong Kong for personal use, with 1GB memory, 30GB disk and 300GB monthly bandwidth. Is that OK for a mirror site? That should work! Considering that connectivity from my VPS to China generally appears to be sub optimal, that would be good to have as an alternative anyway. We just need to implement a mirror mode, where user and package management is disabled and updates are pulled from code.dlang.org instead of from github directly.
Re: code.dlang.org internal server error
On Wednesday, 8 February 2017 at 14:11:48 UTC, Sönke Ludwig wrote: Am 08.02.2017 um 14:29 schrieb singingbush: [...] Yes, we need to prioritize this somehow. Having a fallback mirror, coupled with dependency upgrade checks that run asynchronously would get rid of these issues. It would be great if somebody could find the time to tackle one or the other. I personally have an very limited time budget for open source at the moment and I need to focus that on vibe.d for a bit. BTW, the server is running again (it ran out of disk space again and I need to configure a proactive alert for that). I have a VPS slot in Hong Kong for personal use, with 1GB memory, 30GB disk and 300GB monthly bandwidth. Is that OK for a mirror site?
Re: code.dlang.org internal server error
Am 08.02.2017 um 14:29 schrieb singingbush: On Wednesday, 8 February 2017 at 12:54:00 UTC, John Colvin wrote: On Wednesday, 8 February 2017 at 05:49:55 UTC, Ali Çehreli wrote: code.dlang.org gives the following error: 500 - Internal Server Error Internal Server Error Ali Seeing as code.dlang.org is pretty critical these days, it would be great if there was a better way to handle this than "wait for Sönke to notice it's down". I raised github issue in dub repo for this a while back: https://github.com/dlang/dub/issues/995 It'd be good to have multiple repos and be able to configure dub to use whichever the user wants to use as with tools like maven or gradle. For use in my workplace I'd want dub to try getting dependencies from our own internal dub repo which in turn could look to code.dlang.org for anything that wouldn't exist internally. Yes, we need to prioritize this somehow. Having a fallback mirror, coupled with dependency upgrade checks that run asynchronously would get rid of these issues. It would be great if somebody could find the time to tackle one or the other. I personally have an very limited time budget for open source at the moment and I need to focus that on vibe.d for a bit. BTW, the server is running again (it ran out of disk space again and I need to configure a proactive alert for that).
Re: code.dlang.org internal server error
On Wednesday, 8 February 2017 at 12:54:00 UTC, John Colvin wrote: On Wednesday, 8 February 2017 at 05:49:55 UTC, Ali Çehreli wrote: code.dlang.org gives the following error: 500 - Internal Server Error Internal Server Error Ali Seeing as code.dlang.org is pretty critical these days, it would be great if there was a better way to handle this than "wait for Sönke to notice it's down". or just support git/githab & co. directly from dub.
Re: code.dlang.org internal server error
On Wednesday, 8 February 2017 at 12:54:00 UTC, John Colvin wrote: On Wednesday, 8 February 2017 at 05:49:55 UTC, Ali Çehreli wrote: code.dlang.org gives the following error: 500 - Internal Server Error Internal Server Error Ali Seeing as code.dlang.org is pretty critical these days, it would be great if there was a better way to handle this than "wait for Sönke to notice it's down". I raised github issue in dub repo for this a while back: https://github.com/dlang/dub/issues/995 It'd be good to have multiple repos and be able to configure dub to use whichever the user wants to use as with tools like maven or gradle. For use in my workplace I'd want dub to try getting dependencies from our own internal dub repo which in turn could look to code.dlang.org for anything that wouldn't exist internally.
Re: code.dlang.org internal server error
On Wednesday, 8 February 2017 at 05:49:55 UTC, Ali Çehreli wrote: code.dlang.org gives the following error: 500 - Internal Server Error Internal Server Error Ali Seeing as code.dlang.org is pretty critical these days, it would be great if there was a better way to handle this than "wait for Sönke to notice it's down".
Re: code.dlang.org internal server error
On Wednesday, 8 February 2017 at 06:35:41 UTC, Eugene Wissner wrote: On Wednesday, 8 February 2017 at 05:49:55 UTC, Ali Çehreli wrote: code.dlang.org gives the following error: 500 - Internal Server Error Internal Server Error Ali code.dlang.org is quite often down with the same errror. Considering how often others are told to visit that site, this will turn into the next Tango/Phobos thing that appears in the comments on every D story for the next 10 years.
Re: code.dlang.org internal server error
vibed.org is down too, it would be nice to have some mirrors of those sites Dne 8.2.2017 v 07:35 Eugene Wissner via Digitalmars-d napsal(a): On Wednesday, 8 February 2017 at 05:49:55 UTC, Ali Çehreli wrote: code.dlang.org gives the following error: 500 - Internal Server Error Internal Server Error Ali code.dlang.org is quite often down with the same errror.
Re: code.dlang.org internal server error
On Wednesday, 8 February 2017 at 05:49:55 UTC, Ali Çehreli wrote: code.dlang.org gives the following error: 500 - Internal Server Error Internal Server Error Ali code.dlang.org is quite often down with the same errror.
code.dlang.org internal server error
code.dlang.org gives the following error: 500 - Internal Server Error Internal Server Error Ali