casimir / frigoligo

Your articles with you
MIT License
50 stars 4 forks source link

Error 500 when checking server URL #40

Closed casimir closed 1 year ago

casimir commented 1 year ago

I’m on iOS and I’m getting the same error. Self-hosted, running Wallabag 2.6.2, https, NGINX server…

Web server giving a 500:

[07/Aug/2023:00:17:07 +0100] "GET /api/info.json HTTP/1.1" 500 68 "-" "Dart/3.0 (dart:io)"

Works fine from the browser on my phone.


Server's log:

[2023-08-07 00:39:29] request.INFO: Matched route "api_get_info". {"route":"api_get_info","route_parameters":{"_route":"api_get_info","_format":"json","_controller":"Wallabag\\ApiBundle\\Controller\\WallabagRestController::getInfoAction"},"request_uri":"https://wallabag.XXXXXXXXXX/api/info.json","method":"GET"} []
[2023-08-07 00:39:29] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
[2023-08-07 00:39:29] request.CRITICAL: Uncaught PHP Exception Symfony\Component\ErrorHandler\Error\UndefinedMethodError: "Attempted to call an undefined method named "getAttributes" of class "ReflectionClass"." at /var/www/wallabag/vendor/jms/serializer/src/Metadata/Driver/AttributeDriver/AttributeReader.php line 29 {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\FatalThrowableError(code: 0): Attempted to call an undefined method named \"getAttributes\" of class \"ReflectionClass\". at /var/www/wallabag/vendor/jms/serializer/src/Metadata/Driver/AttributeDriver/AttributeReader.php:29)"} []

Originally posted by @xadium in https://github.com/casimir/frigoligo/issues/34#issuecomment-1667001749

casimir commented 1 year ago

Looks like you are hit by https://github.com/wallabag/wallabag/issues/5657.

casimir commented 1 year ago

I'm closing this issue has it is more than likely a server issue but feel free to reopen if needed!