Sending SASL/GSSAPI handshake request to [BrokerWrapper _____ (connected: true) (ready: false) (idle: false) (needAuthentication: true) (authenticated: false)] +0ms
kafka-node:KafkaClient Sending SASL/GSSAPI authentication request to ______ +1ms
internal/streams/writable.js:285
throw new ERR_INVALID_ARG_TYPE(
^
TypeError [ERR_INVALID_ARG_TYPE]: The "chunk" argument must be of type string or an instance of Buffer or Uint8Array. Received an instance of Error
at TLSSocket.Writable.write (internal/streams/writable.js:285:13)
....
{
code: 'ERR_INVALID_ARG_TYPE'
}
Any ideas what could be causing this?