المواضيع التي نشرها Alain Raap

Moodle in English -> Authentication -> Auth SAML2 plugin gives duplicate email error after SSO / MFA login

بواسطة - Alain Raap

I am testing a SSO / (RSA) MFA login with the auth_saml2 plugin with autocreation of the user in Moodle. The first time this login via SSO / (RSA) MFA works fine, the user is created in Moodle. When I login the second time, I get an error in Moodle:

auth_saml2: saml_login_complete user 'Username' can't be autocreated as email 'user@x.com' is taken

Without using RSA MFA the SSO works fine in both login situations, what could be the cause of the error of duplicate email address?

متوسط التقييمات: -

Moodle in English -> General help -> Redis keyspace misses -> Re: Redis keyspace misses

بواسطة - Alain Raap
I'm using Moodle 4.5.4 now and I still see this problem with Redis and the high number of keyspace misses.
When I change the Connection timeout value to zero (0) again, the problem seems over. Anyone who had the
same problem with this Redis setting? After the change, the connection timeout is set to 3 seconds by Moodle itself again.redis connection timeout

Moodle in English -> Hardware and performance -> PHP 8.3 support -> Re: PHP 8.3 support

بواسطة - Alain Raap
When you run your site in debug mode, you can see where the plugins fail with deprecation errors or other php errors.
That's how we found the plugins that have problems with the new PHP version. Moodle itself runs fine on this version.
Hi Andrei,

Performance can be optimized by using caching, caching and caching, for PHP the Zend Opcache, for session and Moodle MUC Redis, for the database InnoDB (load your database in memory). It all fits together when tuned in a way that you find your bottlenecks in your Moodle stack. It took us a lot of time, but we see that every new LTS version asks for a good performance test. Redis 'untestable' means that there is no test configuration found in [your site]/admin/settings.php?section=cachestore_redis_settings, configure it there and you can run the tests. But, as Howard mentioned, it's not a really good test to find out your Redis performance. You could try the Redis benchmark on the server, but that only gives you a view of the server itself, and not when a lot of clients cache their data in Redis. There is a plugin you can install to see some stats of Redis: https://moodle.org/plugins/tool_redis
I hope this gives you a little insight, feel free to contact me if I can help you, as we run almost the same stack.