contao / contao-manager

Contao Manager
GNU Lesser General Public License v3.0
85 stars 33 forks source link

Error 500 Contao manager #575

Closed AgenceUpMotion closed 4 years ago

AgenceUpMotion commented 4 years ago

Hello,

I'm on contao 4.9.4

I want to access contao-manager but impossible, I have the following error. manager-contao

AgenceUpMotion commented 4 years ago
[17-Jul-2020 11:26:49 Europe/Zurich] [2020-07-17 11:24:49] request.INFO: Matched route "contao_managerapi_server_selfupdate__invoke". {"route":"contao_managerapi_server_selfupdate__invoke","route_parameters":{"_route":"contao_managerapi_server_selfupdate__invoke","_controller":"Contao\\ManagerApi\\Controller\\Server\\SelfUpdateController"},"request_uri":"https://lotisseo.fr/contao-manager.phar.php/api/server/self-update","method":"GET"} []
[17-Jul-2020 11:26:49 Europe/Zurich] [2020-07-17 11:24:49] security.DEBUG: Checking for guard authentication credentials. {"firewall_key":"api","authenticators":3} []
[17-Jul-2020 11:26:49 Europe/Zurich] [2020-07-17 11:24:49] security.DEBUG: Checking support on guard authenticator. {"firewall_key":"api","authenticator":"Contao\\ManagerApi\\Security\\LoginAuthenticator"} []
[17-Jul-2020 11:26:49 Europe/Zurich] [2020-07-17 11:24:49] security.DEBUG: Guard authenticator does not support the request. {"firewall_key":"api","authenticator":"Contao\\ManagerApi\\Security\\LoginAuthenticator"} []
[17-Jul-2020 11:26:49 Europe/Zurich] [2020-07-17 11:24:49] security.DEBUG: Checking support on guard authenticator. {"firewall_key":"api","authenticator":"Contao\\ManagerApi\\Security\\JwtAuthenticator"} []
[17-Jul-2020 11:26:49 Europe/Zurich] [2020-07-17 11:24:49] security.DEBUG: Checking support on guard authenticator. {"firewall_key":"api","authenticator":"Contao\\ManagerApi\\Security\\TokenAuthenticator"} []
[17-Jul-2020 11:26:49 Europe/Zurich] [2020-07-17 11:24:49] security.DEBUG: Guard authenticator does not support the request. {"firewall_key":"api","authenticator":"Contao\\ManagerApi\\Security\\TokenAuthenticator"} []
[17-Jul-2020 11:26:49 Europe/Zurich] [2020-07-17 11:24:49] security.DEBUG: Calling getCredentials() on guard authenticator. {"firewall_key":"api","authenticator":"Contao\\ManagerApi\\Security\\JwtAuthenticator"} []
[17-Jul-2020 11:26:49 Europe/Zurich] [2020-07-17 11:24:49] security.DEBUG: Passing guard token information to the GuardAuthenticationProvider {"firewall_key":"api","authenticator":"Contao\\ManagerApi\\Security\\JwtAuthenticator"} []
[17-Jul-2020 11:26:49 Europe/Zurich] [2020-07-17 11:24:49] security.INFO: Guard authentication successful! {"token":"[object] (Symfony\\Component\\Security\\Guard\\Token\\PostAuthenticationGuardToken: PostAuthenticationGuardToken(user=\"upmotion\", authenticated=true, roles=\"ROLE_ADMIN\"))","authenticator":"Contao\\ManagerApi\\Security\\JwtAuthenticator"} []
[17-Jul-2020 11:26:49 Europe/Zurich] [2020-07-17 11:24:49] security.DEBUG: Guard authenticator set no success response: request continues. {"authenticator":"Contao\\ManagerApi\\Security\\JwtAuthenticator"} []
[17-Jul-2020 11:26:49 Europe/Zurich] [2020-07-17 11:24:49] security.DEBUG: Remember me skipped: it is not configured for the firewall. {"authenticator":"Contao\\ManagerApi\\Security\\JwtAuthenticator"} []
[17-Jul-2020 11:26:49 Europe/Zurich] [2020-07-17 11:24:49] app.DEBUG: Checked CA file /etc/ssl/certs/ca-certificates.crt: valid [] []
[17-Jul-2020 11:26:49 Europe/Zurich] [2020-07-17 11:26:49] app.CRITICAL: Uncaught PHP Exception Contao\ManagerApi\Exception\RequestException: "HTTP request to https://download.contao.org/contao-manager/stable/contao-manager.version failed with status code 500 ()" at phar:///home/clients/03b28c197d366f5d0827fbdb71db69a5/lotisseo/web/contao-manager.phar.php/api/System/Request.php line 111 {"exception":"[object] (Contao\\ManagerApi\\Exception\\RequestException(code: 0): HTTP request to https://download.contao.org/contao-manager/stable/contao-manager.version failed with status code 500 () at phar:///home/clients/03b28c197d366f5d0827fbdb71db69a5/lotisseo/web/contao-manager.phar.php/api/System/Request.php:111, RuntimeException(code: 0):  at phar:///home/clients/03b28c197d366f5d0827fbdb71db69a5/lotisseo/web/contao-manager.phar.php/api/System/Request.php:101)"} []
fritzmg commented 4 years ago

Have you simply tried again?

AgenceUpMotion commented 4 years ago

Yes,

I delete the contao-manager.phar.php and delete the contao-manager folder and try again.

I also tried again by emptying the cache

aschempp commented 4 years ago

This is most likely because your server is blocking outgoing connections. Regardless of that, the manager should not throw that exception...