opendatahub-io / caikit-nlp-client

A grpc and http client library for caikit-nlp
Apache License 2.0
3 stars 6 forks source link

[Bug] HTTP calls using self-signed certificate fetched from ServiceMesh fail #73

Closed bdattoma closed 11 months ago

bdattoma commented 11 months ago

<-- I will add more details in this ticket after testing once again tomorrow, I'm sorry for the partial information -->

Scenario

  1. Kserve stack (kserve, ServiceMesh and Serverless operators) through RHOAI/ODH operator
  2. deploy a model using either UI or CLI
  3. fetch the self-signed certificate from ServiceMesh/Istio namespace
  4. query the model from terminal curl --json '{"model_id": "<model_id>","inputs": "<query_text>?"}' https:/<endpoint>:<port>/api/v1/task/text-generation --cacert ---> you get an answer
  5. query the model leveraging on caikit-nlp python library ---> fails to validate the certificate
bdattoma commented 11 months ago

@dtrifiro ^^

i will try adding more details tomorrow

bdattoma commented 11 months ago

today i managed to make it working, although I don't think I changed anything...will keep trying but I'll close it for now