Multiple replica in schema registry giving error - "error_code":50005,"message":"Unrecognized token 'upstream': was expecting (JSON String, Number (or 'NaN'/'INF'/'+INF'), Array, Object or token 'null', 'true' or 'false') #2998
Unanswered
saurabh1073
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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 ?
Beta Was this translation helpful? Give feedback.
All reactions