File cache driver issue, file_put_contents(/path): failed to open stream: No such file or directory #34258
Unanswered
peterpan666
asked this question in
General
Replies: 1 comment
-
Ensure that dir |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description:
Hi, it seems that I have an issue similar to #31350.
The issue is happening on APIs route with
throttle:60,1
as a protection for these routes. I use the file driver cache.For some requests but not all of them, I've got the following exception. It seems that the same user does not have this exception all the time.
Steps To Reproduce:
I honestly have currently no idea how this is happening.
I tracked down the bug to the
FileStore.php:74
, where we can see a call to theensureCacheDirectoryExists
and theput
which throw the exception but I don't get why in such a short period of time the directory exists and is deleted a few microseconds after that.Thanks for reading this and let me know if you want any info or you want me to test something.
Beta Was this translation helpful? Give feedback.
All reactions