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

Multiple replica of schema registry- one pod failed with "error_code":50005,"message":"Unrecognized token 'upstream': was expecting (JSON String, Number (or 'NaN'/'INF'/'+INF'), Array, Object or token 'null', 'true' or 'false') #2999

Open
saurabh1073 opened this issue Feb 22, 2024 · 0 comments

Comments

@saurabh1073
Copy link

actually we set two replicas of schema registry and if we hit below api to register the schema in secondary pod we are getting below error as service unavailable

api : curl -i -X POST -H "Content-Type: application/vnd.schemaregistry.v1+json" --data '{"schema": "{"type": "string"}"}' http://localhost:8081/subjects/Kafka-value/versions
error:
HTTP/1.1 503 Service Unavailable
Content-Type: application/vnd.schemaregistry.v1+json
Content-Length: 290
{"error_code":50005,"message":"Unrecognized token 'upstream': was expecting (JSON String, Number (or 'NaN'/'INF'/'+INF'), Array, Object or token 'null', 'true' or 'false')\n at [Source: (sun.net.www.protocol.http.HttpURLConnection$HttpInputStream); line: 1, column: 10]; error code: 50005"}.

Please suggest any possible solution for this ?

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

1 participant