Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhandled backend message was encountered: L -> 3318, C -> 57014, #1133

Open
matthughes opened this issue Sep 27, 2024 · 1 comment
Open

Comments

@matthughes
Copy link
Contributor


: ?  An unhandled backend message was encountered
: ?    at /home/runner/work/skunk/skunk/modules/core/shared/src/main/scala/net/protocol/Close.scala:41
: ?
: ?    Message: ErrorResponse(F -> postgres.c, M -> canceling statement due to
: ?             statement timeout, V -> ERROR, L -> 3318, C -> 57014, R ->
: ?             ProcessInterrupts, S -> ERROR
: ?
: ?  This is an implementation error in Skunk.
: ?  Please report a bug with the full contents of this error message.

: skunk.exception.ProtocolError: ErrorResponse(F -> postgres.c, M -> canceling statement due to statement timeout, V -> ERROR, L -> 3318, C -> 57014, R>
@matthughes
Copy link
Contributor Author

      def close(message: CloseMessage): F[Unit] =
        for {
          _ <- send(message)
          _ <- send(Flush)
          _ <- expect { case CloseComplete => }
        } yield ()

So Skunk went to close the connection but instead of getting a CloseComplete, it got a ErrorResponse?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant