Howdi. Trying to encode CLIP images from URLs in t...
# ask-for-help
a
Howdi. Trying to encode CLIP images from URLs in the playground but despite trying several different source I always get: Error: 500 - {"error":"An unexpected error has occurred, please check the server log."} and log says things httpx.UnsupportedProtocol: Request URL is missing an 'http://' or 'https://' protocol. I am however only testing https URLs. Any ideas?
j
I believe this is a bug in the Bento! will circulate back!
We found the bug and will be fixing it promptly!
There is a bug on the UI frontend that is causing the bug. If you are using the python client or using curl it will work fine
i.e.
Copy code
curl -s -X POST \
    'https://<your-endpoint>/encode_image' \
    -F items='<https://fastly.picsum.photos/id/237/200/300.jpg?hmac=TmmQSbShHz9CdQm0NkEjx1Dyh_Y984R9LpNrpvH2D_U>'  -F items='<https://fastly.picsum.photos/id/237/200/300.jpg?hmac=TmmQSbShHz9CdQm0NkEjx1Dyh_Y984R9LpNrpvH2D_U>'  -F items='<https://fastly.picsum.photos/id/237/200/300.jpg?hmac=TmmQSbShHz9CdQm0NkEjx1Dyh_Y984R9LpNrpvH2D_U>'
Also please redeploy with the latest CLIP bento!