zorn-v / nextcloud-social-login

GNU Affero General Public License v3.0
198 stars 137 forks source link

Logins fail with internal server error #369

Closed dmgeurts closed 1 year ago

dmgeurts commented 1 year ago

NC version 24.0.3 Social Login: 4.16.1

Social logins are all failing.

Related Nextcloud error:

{"reqId":"ApPErA8MNDm3bIn5h1xt","level":3,"time":"2022-08-09T13:27:31+00:00","remoteAddr":"192.168.100.74","user":"--","app":"index","method":"GET","url":"/apps/sociallogin/custom_oidc/BCC_G.Suite_COID?state=HA-*****RAZTXW1OYJ5DN8&code=-*****HwTuWfyRzLp_JqgtkY-Et1e0tUstys0rr-3Kg&scope=email+profile+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email+openid+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile&authuser=0&hd=domain.uk&prompt=none","message":"Argument 1 passed to OC\\EventDispatcher\\ServiceEventListener::__invoke() must be an instance of OCP\\EventDispatcher\\Event, instance of OC\\EventDispatcher\\GenericEventWrapper given, called in /var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php on line 264 in file '/var/www/nextcloud/lib/private/EventDispatcher/ServiceEventListener.php' line 65","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:103.0) Gecko/20100101 Firefox/103.0","version":"24.0.3.2","exception":{"Exception":"Exception","Message":"Argument 1 passed to OC\\EventDispatcher\\ServiceEventListener::__invoke() must be an instance of OCP\\EventDispatcher\\Event, instance of OC\\EventDispatcher\\GenericEventWrapper given, called in /var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php on line 264 in file '/var/www/nextcloud/lib/private/EventDispatcher/ServiceEventListener.php' line 65","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":172,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":298,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":1023,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","Line":165,"Previous":{"Exception":"TypeError","Message":"Argument 1 passed to OC\\EventDispatcher\\ServiceEventListener::__invoke() must be an instance of OCP\\EventDispatcher\\Event, instance of OC\\EventDispatcher\\GenericEventWrapper given, called in /var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php on line 264","Code":0,"Trace":[{"file":"/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":264,"function":"__invoke","class":"OC\\EventDispatcher\\ServiceEventListener","type":"->"},{"file":"/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":239,"function":"doDispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":73,"function":"callListeners","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/EventDispatcher/SymfonyAdapter.php","line":122,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Node/Node.php","line":118,"function":"dispatch","class":"OC\\EventDispatcher\\SymfonyAdapter","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Node/File.php","line":133,"function":"sendHooks","class":"OC\\Files\\Node\\Node","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/SimpleFS/SimpleFile.php","line":149,"function":"delete","class":"OC\\Files\\Node\\File","type":"->"},{"file":"/var/www/nextcloud/lib/private/Avatar/UserAvatar.php","line":212,"function":"delete","class":"OC\\Files\\SimpleFS\\SimpleFile","type":"->"},{"file":"/var/www/nextcloud/lib/private/Avatar/UserAvatar.php","line":106,"function":"remove","class":"OC\\Avatar\\UserAvatar","type":"->"},{"file":"/var/www/nextcloud/apps/sociallogin/lib/Service/ProviderService.php","line":514,"function":"set","class":"OC\\Avatar\\UserAvatar","type":"->"},{"file":"/var/www/nextcloud/apps/sociallogin/lib/Service/ProviderService.php","line":443,"function":"login","class":"OCA\\SocialLogin\\Service\\ProviderService","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/apps/sociallogin/lib/Service/ProviderService.php","line":303,"function":"auth","class":"OCA\\SocialLogin\\Service\\ProviderService","type":"->"},{"file":"/var/www/nextcloud/apps/sociallogin/lib/Controller/LoginController.php","line":41,"function":"handleCustom","class":"OCA\\SocialLogin\\Service\\ProviderService","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":225,"function":"custom","class":"OCA\\SocialLogin\\Controller\\LoginController","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":133,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":172,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":298,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":1023,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/lib/private/EventDispatcher/ServiceEventListener.php","Line":65},"CustomMessage":"--"}}
zorn-v commented 1 year ago

Try v4.16.2

dmgeurts commented 1 year ago

Yup, 4.16.2 fixed it.