You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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 ?
The text was updated successfully, but these errors were encountered:
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 ?
The text was updated successfully, but these errors were encountered: