I am attempting to query a deployed PredictionIO engine with something like the following:
curl --max-time 2000 --connect-timeout 60 -H "Content-Type: application/json" \
-d '{
"ids": [
"AAAAAAAA-9999-4444-ACAC-18181818181818"
],
"other": "value"
}' \
But I only ever receive the following:
The server was not able to produce a timely response to your request
I know this means that the request is being received by Spray (that is a Spray timeout message), but for some reason it is never completing regardless of how long request-timeout
is.
My logs indicate that the predict
method is never being called, which suggests that something is getting stuck within the PredictionIO request-handler logic.