You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cannot execute Concurrency::run() while having session driver set as DynamoDB.
Got the following RuntimeException: "Instances of Aws\DynamoDB\DynamoDbClient cannot be serialized. The exception is thrown on Aws\AwsClient@__sleep() which is called by Laravel\SerializableClosure\Serializers\Signed@__serialize:
We'll need more info and/or code to debug this further. Can you please create a repository with the command below, commit the code that reproduces the issue as one separate commit on the main/master branch and share the repository here?
While creating this repo I found out that the issue really is passing a request variable into a concurrent closure while using DyanmoDB. I'll close this issue and work on a new one with better description and more details.
Laravel Version
11.23.5
PHP Version
8.3.11
Database Driver & Version
PostgreSQL 16.3 on alpine linux (docker)
Description
Cannot execute
Concurrency::run()
while having session driver set as DynamoDB.Got the following
RuntimeException
: "Instances of Aws\DynamoDB\DynamoDbClient cannot be serialized. The exception is thrown onAws\AwsClient@__sleep()
which is called byLaravel\SerializableClosure\Serializers\Signed@__serialize
:Steps To Reproduce
Define a route to access the new controller.
Setup session driver for dynamodb on
config/session.php
:The text was updated successfully, but these errors were encountered: