I'm getting a "Packets out of order" exception using MySQL #1855
-
Shlink version3.6.3 PHP version8.1 How do you serve ShlinkRoadRunner Docker image Database engineMySQL Database version8 Current behaviorAfter a while running the application throws the following exception:
Expected behaviorI'd expect no exception. How to reproduceI just leave the application running on my development environment. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
What is the behavior you get when this exception happens. Full stop of the service? Only some requests fail? Requests continue working regardless of the error? Have you tried any of the solutions suggested here https://stackoverflow.com/questions/63301495/pdoexception-packets-out-of-order-expected-0-received-1-packet-size-23? |
Beta Was this translation helpful? Give feedback.
-
I'm also seeing it might be a bug on some PHP versions (see https://bugs.php.net/bug.php?id=81335), so I was going to suggest updating to the latest 8.1.x However, I see you mentioned you use the docker image, but the docker image is based on PHP 8.2, so which one is true? |
Beta Was this translation helpful? Give feedback.
Update on this. The last message in that PHP bug tracker thread mentions the fix has been merged.
Linked PR is tagged as PHP 8.2, so I would say this should be fixed now.
Shlink 4.1.1 was released a few days ago, so the corresponding docker image should include that fix.