-
Notifications
You must be signed in to change notification settings - Fork 847
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
No provider for SASL mechanism GSSAPI error #567
Comments
@rnpridgeon - do you have any insight on this one? |
Looks like it should be compiling correctly at a glance. Do we by chance capture the output generated when we execute |
|
The librdkafka build looks fine, it is picking up libsasl2 for GSSAPI support. I think the problem might be that Confluent.Kafka depends on the librdkafka.redist NuGet package which perhaps is not built with SASL support for your platform, you can override which librdkafka library to load by doing: |
It is working now however by using I noticed that under
When I tried to use the librdkafka.so i got an exception of |
Library.Load will fail for an existing library if the library's dependencies are unmet. |
I documented a similar issue on macos over in #570 - i thought this was specific to macos, but maybe something has changed in .NET Core. I was seeing the librdkafka in the runtimes folder loaded even if an absolute path is specified in The workaround at the moment is to overwrite the |
I believe this is the same issue as #570, closing in favor of that. |
Hi @mhowlett I also looked at #550 "I made it work by using https://hub.docker.com/r/confluentinc/cp-kafka-connect/ and installing dot net core 2.1 runtime inside the container. I don’t know what’s missing in Microsoft’s dot net 2.1 runtime image." I created the docker image with above recommendation based of kafka-connect, But Now I'm not facing the same issue but I'm facing below issue, here are the snippet from logs : [thrd:sasl_plaintext://BROKER1:6667/bootst]: sasl_plaintext://BROKER1:6667/bootstrap: GSSAPI Error: Unspecified GSS failure. Minor code may provide more information (Matching credential not found) =================================== 7|2019-01-14 20:58:05.369|rdkafka#consumer-1|SASLMECHS| [thrd:sasl_plaintext://BROKER1:6667/bootst]: sasl_plaintext://BROKER1:6667/bootstrap: Broker supported SASL mechanisms: GSSAPI ====================== Here are the config settings Below is the only workaround available? Is there any workaround or patch available? @srininz77: If possible, Can you please share your Docker file for above recommendation? |
solved in docker by installing librdkafka and confluent kafka from sources:
|
Hello, I have tried downloading openssl , yum install cyrus-sasl-gssapi cyrus-sasl-devel. I have windows 10 ,net6.0 and building kafka client.I deployed it on openshit. |
Seems this issue is still happening with .Net 6 and using Confluent.Kafka Library, The Workaround above is still the only option? |
in your Dockerfile what does the above statement refer to, what is the ./lib content |
Hello! Did you solve this issue? |
Is this still an issue? |
Description
The issue is similar to issue 550.
An exception of type 'System.InvalidOperationException' occurred in Confluent.Kafka.dll but was not handled in user code: 'No provider for SASL mechanism GSSAPI: recompile librdkafka with libsasl2 or openssl support. Current build options: PLAIN SASL_SCRAM'
How to reproduce
Dockerfile
Checklist
Please provide the following information:
The text was updated successfully, but these errors were encountered: