bun icon indicating copy to clipboard operation
bun copied to clipboard

bad connection or unexpected message

Open jpascal opened this issue 3 years ago • 1 comments

I just try select from goroutines inside opened transaction and got ths error: pgdriver: Next: unexpected message '\x00'

Then I use pgx driver i got error: driver: bad connection

jpascal avatar Jul 07 '22 09:07 jpascal

Please provide minimal-reproducible-example

vmihailenco avatar Jul 07 '22 10:07 vmihailenco

@jpascal were you able to resolve this issue? We're seeing the same thing

54M5M17H avatar Jan 16 '23 18:01 54M5M17H

@54M5M17H you can try to replace pgdriver with pgx and see if the problems goes away https://bun.uptrace.dev/postgres/#pgx

vmihailenco avatar Jan 18 '23 10:01 vmihailenco