singlestoredb-laravel-driver icon indicating copy to clipboard operation
singlestoredb-laravel-driver copied to clipboard

SQLSTATE[HY000] [2002] Operation timed out

Open LucasNCastro opened this issue 1 year ago • 2 comments

Hello,

we have been encountering this error since we upgraded to SingleStore version 8.5.15:

Illuminate\Database\QueryException /cliRuntime.php in {closure}
SQLSTATE[HY000] [2002] Operation timed out (SQL: select * from `user` where `user`.`id` = 2251799845008727 limit 1)

The timeout appears randomly on different queries.

Environment :

Vapor : Lamba Serverless PHP : 8.1 Laravel : 9.21 Cluster SingleStore Cloud (Helios) : 8.5.15 singlestoredb/singlestoredb-laravel : 1.5.4

Are you also experiencing the same error?

LucasNCastro avatar Apr 22 '24 13:04 LucasNCastro

Hi @LucasNCastro , Checked this locally and didn't get this error.

AdalbertMemSQL avatar Apr 24 '24 12:04 AdalbertMemSQL

I believe this error is caused by the connectivity issue between the client and the database, not by the driver itself.

AdalbertMemSQL avatar May 09 '24 11:05 AdalbertMemSQL