Have someone solve the "https" after deploy one engine

39 views
Skip to first unread message

段石石

unread,
Jun 1, 2016, 4:54:23 AM6/1/16
to predictionio-dev
when i deploy my engine, i can't get the result 

import predictionio

engine_client = predictionio.EngineClient(url="http://172.16.88.21:7070")
print engine_client.send_query({"user": "1", "num": 4})


predictionio.NotFoundError: request: POST /queries.json {'num': 4, 'user': '1'} /queries.json?num=4&user=1 status: 404 body: The requested resource could not be found.
how can i get the result by using the https?


Pat Ferrel

unread,
Jun 1, 2016, 11:16:01 AM6/1/16
to 段石石, predictionio-dev
The Salesforce version of Predictionio-0.9.6 requires SSL/HTTPS for all connections. This has not been documented on the pio site. 

Of you don’t want SSL try the ActionML branch PredictionIO-0.9.7-aml instructions here: actionml.com/docs/install It does not use SSL
Reply all
Reply to author
Forward
0 new messages