Error Related to Session During Checkout with SSO (OKTA)

aashutosh.namdeo
aashutosh.namdeo Posts: 38 🧑🏻‍🚀 - Cadet

Hello Team,

We are encountering an error during checkout related to session handling. We are using SSO through OKTA, and the error log we are seeing is as follows:

Uncaught exception 'Spryker\Shared\SessionRedis\Handler\Exception\LockCouldNotBeAcquiredException' with message 'Spryker\Shared\SessionRedis\Handler\SessionHandlerRedisLocking could not acquire access to the session 39c593da59e5b9798e6dcda4004b0911' in /data/vendor/spryker/session-redis/src/Spryker/Shared/SessionRedis/Handler/SessionHandlerRedisLocking.php:100

We are unable to determine the cause or solution for this issue. Could you please assist us in resolving this?

Thank you!

Tagged:

Answers

  • profuel
    profuel SSA Sprykee Posts: 82 🪐 - Explorer

    hi, @aashutosh.namdeo !

    We noticed similar issues on other projects as well, please check this document: https://docs.spryker.com/docs/dg/dev/troubleshooting/troubleshooting-performance-issues/redis-session-lock.html#situations-that-can-cause-session-lock-issues

  • aashutosh.namdeo
    aashutosh.namdeo Posts: 38 🧑🏻‍🚀 - Cadet

    hi @profuel

    Thanks for answer, can this issue occure with specific to OKTA integration or any other integration ? is anything to change in integration.

  • profuel
    profuel SSA Sprykee Posts: 82 🪐 - Explorer

    Sorry to be a messenger with bad news, but this issue is not limited by OKTA integration, and may affect any frontend customer of any part of your project.