Reputation: 71
When I follow this article to practice vepsa https://docs.vespa.ai/en/tutorials/news-1-getting-started.html
when i do this step vespa deploy --wait 300 app-1-getting-started
{
"error-code": "METHOD_NOT_ALLOWED",
"message": "Method 'POST' is not supported"
}
why and how can i fix this error ?
Upvotes: 1
Views: 497
Reputation: 3184
Vespa deploys to http://localhost:19071/
and if the service running on that port is not the Vespa configuration service, but a different HTTP server that returns 405, this might explain the behavior you observe. The tutorial starts the Vespa container image using 3 port bindings
docker run -m 10G --detach --name vespa --hostname vespa-tutorial \
--publish 8080:8080 --publish 19071:19071 --publish 19092:19092 \
vespaengine/vespa
Upvotes: 1
Reputation: 981
I am unable to reproduce, I just ran through the steps. I suggest you submit an issue at https://github.com/vespa-engine/vespa/issues with your environment and also include vespa.log for the Vespa Team to have a look
Upvotes: 1