libsql / sqld

LibSQL with extended capabilities like HTTP protocol, replication, and more.
https://libsql.org
902 stars 38 forks source link

HRANA_WEBSOCKET_ERROR with client from client/web #482

Closed razr22 closed 1 year ago

razr22 commented 1 year ago

Am trying to run drizzle transactions on the edge with turso, importing createClient from @libsql/client/web

When I send requests to any edge API ep I get this error:

CodingDoug commented 1 year ago

Could you show a minimal example of code that doesn't work the way you expect, with instructions on how you're running it and the full logs of any errors you get?

razr22 commented 1 year ago

So that was the error I was receiving when executing a transaction on the edge with the /web createClient. I was on version 0.1.6, I just updated to 0.2.2 and the issue has not reoccurred.

CodingDoug commented 1 year ago

Great, so we can close this issue?

glommer commented 1 year ago

confirmed with Zain on discord that this is fixed by updating