dlang-tour / core

D Language online tour (https://tour.dlang.org/) and online editor (https://run.dlang.io/)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Shorten button doesn't work

ryuukk opened this issue · comments

I get the following error:

{
	"statusMessage": "Failed to lookup host 'api.github.com'.",
	"statusDebugMessage": "object.Exception@../../../.dub/packages/vibe-core-1.8.1/vibe-core/source/vibe/core/net.d(71): Failed to lookup host 'api.github.com'.\n----------------\n??:? [0x8d5335]\n??:? [0x8fa47a]\n??:? [0x8e08fd]\nexception.d:516 [0x46e2d5]\nexception.d:436 [0x417145]\nnet.d:71 [0x71796d]\nnet.d:32 [0x7174f5]\nclient.d:693 [0x60eb7c]\nclient.d:610 [0x60c9b8]\nclient.d:582 [0x60a78f]\nclient.d:85 [0x609d07]\nclient.d:75 [0x609adb]\napiv1.d:146 [0x405711]\nrest.d:1527 [0x4c6909]\nrest.d:1527 [0x4c5cec]\nrouter.d:218 [0x6238ce]\nrouter.d:674 [0x625f83]\nrouter.d:607 [0x623636]\nrouter.d:211 [0x62345d]\nserver.d:2284 [0x62ba0f]\nserver.d:247 [0x629f46]\nserver.d:239 [0x629726]\nserver.d:2040 [0x634451]\ntask.d:656 [0x729864]\ntask.d:674 [0x7271f1]\ntask.d:400 [0x726a05]\n??:? [0x8d7d41]"
}
angular.js:10967          POST https://run.dlang.io/api/v1/gist 500
(anonymous) @ angular.js:10967
r @ angular.js:10760
g @ angular.js:10470
(anonymous) @ angular.js:14991
$eval @ angular.js:16251
$digest @ angular.js:16069
$apply @ angular.js:16359
(anonymous) @ angular.js:23939
Of @ angular.js:3358
d @ angular.js:3346
angular.js:12722 Error: [$sce:unsafe] http://errors.angularjs.org/1.4.9/$sce/unsafe
    at angular.js:38:1
    at f (angular.js:16950:13)
    at getTrusted (angular.js:17114:16)
    at c.<computed> [as getTrustedHtml] (angular.js:17794:16)
    at Object.fn (angular.js:22898:24)
    at r.$digest (angular.js:16095:23)
    at r.$apply (angular.js:16359:13)
    at g (angular.js:10791:36)
    at R (angular.js:10989:7)
    at v.onload (angular.js:10930:9)
(anonymous) @ angular.js:12722
(anonymous) @ angular.js:9490
$digest @ angular.js:16113
$apply @ angular.js:16359
g @ angular.js:10791
R @ angular.js:10989
v.onload @ angular.js:10930
load (async)
(anonymous) @ angular.js:10913
r @ angular.js:10760
g @ angular.js:10470
(anonymous) @ angular.js:14991
$eval @ angular.js:16251
$digest @ angular.js:16069
$apply @ angular.js:16359
(anonymous) @ angular.js:23939
Of @ angular.js:3358
d @ angular.js:3346
angular.js:12722 Error: [$sce:unsafe] http://errors.angularjs.org/1.4.9/$sce/unsafe
    at angular.js:38:1
    at f (angular.js:16950:13)
    at getTrusted (angular.js:17114:16)
    at c.<computed> [as getTrustedHtml] (angular.js:17794:16)
    at Object.fn (angular.js:22898:24)
    at r.$digest (angular.js:16095:23)
    at r.$apply (angular.js:16359:13)
    at g (angular.js:10791:36)
    at R (angular.js:10989:7)
    at v.onload (angular.js:10930:9)
(anonymous) @ angular.js:12722
(anonymous) @ angular.js:9490
$digest @ angular.js:16113
$apply @ angular.js:16359
g @ angular.js:10791
R @ angular.js:10989
v.onload @ angular.js:10930
load (async)
(anonymous) @ angular.js:10913
r @ angular.js:10760
g @ angular.js:10470
(anonymous) @ angular.js:14991
$eval @ angular.js:16251
$digest @ angular.js:16069
$apply @ angular.js:16359
(anonymous) @ angular.js:23939
Of @ angular.js:3358
d @ angular.js:3346

Manjaro Linux, Chromium Version 103.0.5060.53 (Official Build) Arch Linux (64-bit)
Same problem

The shorten button throws Failed to lookup host 'is.gd'..
The export gist button throws Failed to lookup host 'api.github.com'..
The import gist button just returns 500 and an 'Internal Server Error' page.
I'm guessing the server on which run.dlang.io is running doesn't have direct internet access or has dns misconfigured?
Would love to see this fixed.