[solved] Cant register Nitrokey FIDO2 in firefox

I tried it several times, but only get the circle.
have a info in the protocol:
{“reqId”:“XfIhCFreauARQ4xnIkd-TgAAAAc”,“level”:3,“time”:“2019-12-12T11:14:16+00:00”,“remoteAddr”:"…",“user”:"*****",“app”:“index”,“method”:“POST”,“url”:"/index.php/apps/twofactor_u2f/settings/finishregister",“message”:{“Exception”:“Exception”,“Message”:“Argument 1 passed to OCA\TwoFactorU2F\Controller\SettingsController::finishRegister() must be of the type string, null given, called in /var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php on line 170”,“Code”:0,“Trace”:[{“file”:"/var/www/html/nextcloud/lib/private/AppFramework/App.php",“line”:126,“function”:“dispatch”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:"->",“args”:[{“class”:“OCA\TwoFactorU2F\Controller\SettingsController”},“finishRegister”]},{“file”:"/var/www/html/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php",“line”:47,“function”:“main”,“class”:“OC\AppFramework\App”,“type”:"::",“args”:[“OCA\TwoFactorU2F\Controller\SettingsController”,“finishRegister”,{“class”:“OC\AppFramework\DependencyInjection\DIContainer”},{"_route":“twofactor_u2f.settings.finishRegister”}]},{“function”:"__invoke",“class”:“OC\AppFramework\Routing\RouteActionHandler”,“type”:"->",“args”:[{"_route":“twofactor_u2f.settings.finishRegister”}]},{“file”:"/var/www/html/nextcloud/lib/private/Route/Router.php",“line”:297,“function”:“call_user_func”,“args”:[{“class”:“OC\AppFramework\Routing\RouteActionHandler”},{"_route":“twofactor_u2f.settings.finishRegister”}]},{“file”:"/var/www/html/nextcloud/lib/base.php",“line”:1000,“function”:“match”,“class”:“OC\Route\Router”,“type”:"->",“args”:["/apps/twofactor_u2f/settings/finishregister"]},{“file”:"/var/www/html/nextcloud/index.php",“line”:42,“function”:“handleRequest”,“class”:“OC”,“type”:"::",“args”:[]}],“File”:"/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",“Line”:109,“Previous”:{“Exception”:“TypeError”,“Message”:“Argument 1 passed to OCA\TwoFactorU2F\Controller\SettingsController::finishRegister() must be of the type string, null given, called in /var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php on line 170”,“Code”:0,“Trace”:[{“file”:"/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",“line”:170,“function”:“finishRegister”,“class”:“OCA\TwoFactorU2F\Controller\SettingsController”,“type”:"->",“args”:[null,null,""]},{“file”:"/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",“line”:99,“function”:“executeController”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:"->",“args”:[{“class”:“OCA\TwoFactorU2F\Controller\SettingsController”},“finishRegister”]},{“file”:"/var/www/html/nextcloud/lib/private/AppFramework/App.php",“line”:126,“function”:“dispatch”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:"->",“args”:[{“class”:“OCA\TwoFactorU2F\Controller\SettingsController”},“finishRegister”]},{“file”:"/var/www/html/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php",“line”:47,“function”:“main”,“class”:“OC\AppFramework\App”,“type”:"::",“args”:[“OCA\TwoFactorU2F\Controller\SettingsController”,“finishRegister”,{“class”:“OC\AppFramework\DependencyInjection\DIContainer”},{"_route":“twofactor_u2f.settings.finishRegister”}]},{“function”:"__invoke",“class”:“OC\AppFramework\Routing\RouteActionHandler”,“type”:"->",“args”:[{"_route":“twofactor_u2f.settings.finishRegister”}]},{“file”:"/var/www/html/nextcloud/lib/private/Route/Router.php",“line”:297,“function”:“call_user_func”,“args”:[{“class”:“OC\AppFramework\Routing\RouteActionHandler”},{"_route":“twofactor_u2f.settings.finishRegister”}]},{“file”:"/var/www/html/nextcloud/lib/base.php",“line”:1000,“function”:“match”,“class”:“OC\Route\Router”,“type”:"->",“args”:["/apps/twofactor_u2f/settings/finishregister"]},{“file”:"/var/www/html/nextcloud/index.php",“line”:42,“function”:“handleRequest”,“class”:“OC”,“type”:"::",“args”:[]}],“File”:"/var/www/html/nextcloud/apps/twofactor_u2f/lib/Controller/SettingsController.php",“Line”:66},“CustomMessage”:"–"},“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:71.0) Gecko/20100101 Firefox/71.0”,“version”:“17.0.1.1”,“id”:“5df225e88abbb”}

Any idea?

apparently YOU had the best idea to solve that. so it would be nice if you’d sahre your solution with the forum. thanks

it is solved, because after a reboot and another night it works like expected :slight_smile:

1 Like