www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - code.dlang.org internal server error

reply =?UTF-8?Q?Ali_=c3=87ehreli?= <acehreli yahoo.com> writes:
code.dlang.org gives the following error:

500 - Internal Server Error

Internal Server Error

Ali
Feb 07
next sibling parent reply Eugene Wissner <belka caraus.de> writes:
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.
Feb 07
next sibling parent Daniel Kozak via Digitalmars-d <digitalmars-d puremagic.com> writes:
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.
Feb 07
prev sibling parent bachmeier <no spam.net> writes:
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.
Feb 08
prev sibling parent reply John Colvin <john.loughran.colvin gmail.com> writes:
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".
Feb 08
next sibling parent reply singingbush <singingbush hotmail.com> writes:
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.
Feb 08
parent reply =?UTF-8?Q?S=c3=b6nke_Ludwig?= <sludwig+d outerproduct.org> writes:
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).
Feb 08
parent reply puming <zhaopuming gmail.com> writes:
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?
Feb 08
next sibling parent reply =?UTF-8?Q?S=c3=b6nke_Ludwig?= <sludwig outerproduct.org> writes:
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.
Feb 09
next sibling parent reply Daniel =?UTF-8?B?S296w6Fr?= via Digitalmars-d writes:
V Thu, 9 Feb 2017 11:54:05 +0100
Sönke Ludwig via Digitalmars-d <digitalmars-d puremagic.com> napsá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
Feb 09
parent reply puming <zhaopuming gmail.com> writes:
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-d <digitalmars-d puremagic.com> 
 napsá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.
Feb 09
parent Daniel Kozak via Digitalmars-d <digitalmars-d puremagic.com> writes:
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-d <digitalmars-d puremagic.com> napsá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
Feb 09
prev sibling parent puming <zhaopuming gmail.com> writes:
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.
Feb 09
prev sibling parent Daniel =?UTF-8?B?S296w6Fr?= via Digitalmars-d writes:
V Thu, 09 Feb 2017 02:34:46 +0000
puming via Digitalmars-d <digitalmars-d puremagic.com> napsá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 :)
Feb 09
prev sibling parent reply Eugene Wissner <belka caraus.de> writes:
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.
Feb 08
parent Soulsbane <paul acheronsoft.com> writes:
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!
Feb 10