confluentinc / confluent-kafka-dotnet

Confluent's Apache Kafka .NET client
https://github.com/confluentinc/confluent-kafka-dotnet/wiki
Apache License 2.0
53 stars 857 forks source link

HTTPClient throwing forbidden error for schema registry url #2024

Open Alpesh1984909090 opened 1 year ago

Alpesh1984909090 commented 1 year ago

I'm trying to push message with .net 6 client but getting forbidden error for schema registry url. I'm able to access the url in postman but not accessible with .net application. I'm passing config for basic auth.

var schemaRegistryConfig = new SchemaRegistryConfig { Url = schemaRegistryUrl, BasicAuthCredentialsSource = AuthCredentialsSource.UserInfo, BasicAuthUserInfo = "username:password",

            };

Description

How to reproduce

Checklist

Please provide the following information:

anchitj commented 7 months ago

Can you provide more info? Any logs at the SR server side?