jackc/pgx · error
expected AuthenticationGSSContinue message but received unex
Error message
expected AuthenticationGSSContinue message but received unexpected message %T
What it means
Error "expected AuthenticationGSSContinue message but received unexpected message %T" thrown in jackc/pgx.
Source
Thrown at pgconn/krb5.go:99
}
}
return nil
}
func (c *PgConn) rxGSSContinue() (*pgproto3.AuthenticationGSSContinue, error) {
msg, err := c.receiveMessage()
if err != nil {
return nil, err
}
switch m := msg.(type) {
case *pgproto3.AuthenticationGSSContinue:
return m, nil
case *pgproto3.ErrorResponse:
return nil, ErrorResponseToPgError(m)
}
return nil, fmt.Errorf("expected AuthenticationGSSContinue message but received unexpected message %T", msg)
}
View on GitHub (pinned to ec1a0befd2)
When it happens
Trigger: Thrown at pgconn/krb5.go:99 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of jackc/pgx@ec1a0befd2 (2026-08-04).
Data as JSON: /data/errors/64468ab5781058b2.json.
Report an issue: GitHub.