I have migrated Kong from version 0.11.0 to 0.13.0.
While trying to migrate the /apis to /services and /routes, I am getting error.
The GET /services and /routes is working but while creating anew service, I am getting error.
Request :
curl -i -X POST --url http://localhost:8001/services/ --data ‘name=example123’ --data ‘url=http://mockbin.org:8000’ --data ‘protocol=http’
Response :
[error] 282#0: *67183 [lua] responses.lua:121: handler(): [nil] could not execute insertion query: [Unavailable exception] Cannot achieve consistency level QUORUM, client: 127.0.0.1, server: , request: “POST /services/ HTTP/1.1”, host: “localhost:8001”