I am trying to get the GCP "Extensible Service Proxy" working proxying connections to a backend server, following this guide (replacing the backend with my custom one):
https://cloud.google.com/endpoints/docs/openapi/get-started-compute-engine-docker
However, after I start up ESP on the VM instance, when I try to test that the service is proxying correctly, I get a JSON error back from ESP saying "Method does not exist" (404 not found):
{
"code": 5,
"message": "Method does not exist.",
"details": [
{
"@type": "type.googleapis.com/google.rpc.DebugInfo",
"stackEntries": [],
"detail": "service_control"
}
]
}
I've confirmed that connectivity to the backend is not an issue (by running "exec" onto ESP and then running "curl" to confirm I'm getting an response back from the backend.
I've also tried running the above with an API key with the same result. What am I doing wrong here?