contao-community-alliance / composer-client

This is the Contao Composer Client
http://de.contaowiki.org/Composer
27 stars 18 forks source link

Fatal error: Uncaught exception Exception with message couldn't connect to host #239

Open Znrl opened 9 years ago

Znrl commented 9 years ago

Wenn das grade nicht an mir liegt ist -> http://legacy-packages-via.contao-community-alliance.org/ grade nicht erreichbar. Das führt bei einem klick auf "Paketverwaltung" zu einer weißen Seite mit folgender Fehlermeldung:

Fatal error: Uncaught exception Exception with message couldn't connect to host thrown in system/modules/!composer/src/Downloader.php on line 119

0 system/modules/!composer/src/Downloader.php(24): ContaoCommunityAlliance\Contao\Composer\Downloader::curlDownload('http://legacy-p...', false)

1 system/modules/!composer/src/Controller/InstalledController.php(152): ContaoCommunityAlliance\Contao\Composer\Downloader::download('http://legacy-p...')

2 system/modules/!composer/src/Controller/InstalledController.php(65): ContaoCommunityAlliance\Contao\Composer\Controller\InstalledController->calculateLegacyReplaceMap(Object(Composer\Repository\InstalledFilesystemRepository))

3 system/modules/!composer/src/ClientBackend.php(218): ContaoCommunityAlliance\Contao\Composer\Controller\InstalledController->handle(Object(Contao\Input))

4 system/modules/core/classes/Backend.php(409): ContaoCommunityAlliance\Contao\Composer\ClientBackend->generate()

5 contao/main.php(142): Contao\Backend->getBackendModule('composer')

6 contao/main.php(293): Main->run()

7 {main}

Vtl. wäre es Sinnvoll hier trotzdem eine Backend Seite anzuzeigen und das als Warnung/Hinweis zu bringen, dass ein oder mehere URLs nicht erreichbar sind (vtl. verhindern, dass geupdated wird, "Button ausgrauen").

BugBuster1701 commented 9 years ago

aus dem Forum:

der legacy-server ist aktuell wegen Wartungsarbeiten inklusive Serverumzug temporaer offline. Dies wird vermutlich bis 22:00 Uhr andauern.

aber du hast Recht, es wäre gut wenn sowas abgefangen werden könnte.