Skip to content
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

CachedSchemaRegistry getting 404 response codes #993

Closed
1 of 8 tasks
jonathansant opened this issue Jun 27, 2019 · 2 comments
Closed
1 of 8 tasks

CachedSchemaRegistry getting 404 response codes #993

jonathansant opened this issue Jun 27, 2019 · 2 comments

Comments

@jonathansant
Copy link
Contributor

jonathansant commented Jun 27, 2019

Description

I was playing around with the following example: https://github.com/confluentinc/confluent-kafka-dotnet/blob/master/examples/AvroSpecific/Program.cs using our schema registry.

I started getting a 404 from the schema registry.

How to reproduce

screenshot

I tracked down the issue and it seems that there's some weird functionality when using HttpClient. Basically when adding prepending the / here:

=> await RequestListOfAsync<int>($"/subjects/{subject}/versions", HttpMethod.Get)

causes HttpClient to discard part of the url.

Checklist

Please provide the following information:

  • A complete (i.e. we can run it), minimal program demonstrating the problem. No need to supply a project file.
  • Confluent.Kafka nuget version.
  • Apache Kafka version.
  • Client configuration.
  • Operating system.
  • Provide logs (with "debug" : "..." as necessary in configuration).
  • Provide broker log excerpts.
  • Critical issue.
@jonathansant
Copy link
Contributor Author

Any news on this, please?

@mhowlett
Copy link
Contributor

mhowlett commented Jul 3, 2019

thanks for the PR! closing this issue in favor of that.

@mhowlett mhowlett closed this as completed Jul 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants