Replies: 2 comments 8 replies
-
Hi, are you using the worker mode? |
Beta Was this translation helpful? Give feedback.
-
@dunglas I think I've got it. We've got a partner which uses our staging environment to test their staging environment. Unfortunately or in this case fortunately, they send us a pretty big request, every 10 minutes which runs for ~1minute. While processing this request we are using transactions. So it seems that if we have another request running with transactions, this completely unrelated request which saves to the database (without using transactions) fails, or probably this insert will land in the transaction of the other request. Is this possible? I've searched for issues of frankenphp with transactions but couldn't find any. Maybe this is an edge case because the request is running for this long? Maybe in our case we were able to catch it because of this long running transaction. In other cases the issue might be much more subtle, causing an issue even harder to reproduce or catch. |
Beta Was this translation helpful? Give feedback.
-
Hi everyone
I am in the progress of migrating our (travel/booking) application to FrankenPHP. We deploy to kubernetes (AWS EKS) for a pretty big application. I've had a few spots where I was using local vars to temporary store doctrine entities. After fixing these, it seems that the app runs pretty well (on our staging environment). Except for one issue which prevents us from going prod:
save
endpoint in our php app creates a "booking" and returns the id.read.json
which returns everything related to the booking andinfo.json
which returns more informations about the product and so on.Regularly one of these two requests return the
AccessDeniedException
(the logs show exactly that this line is the origin). We never had an issue with this exact process when using apache/php-fpm. Does anybody have an idea how FrankenPHP could affect this?Beta Was this translation helpful? Give feedback.
All reactions