I saw this error when running Kafka in ubuntu app inside Windows OS and trying to connect my application from Windows to connect running Kafka server. it was failing to connect.
When running my application from Ubuntu app inside Windows OS and trying to connect Kafka server, it connects successfully and the error was gone