none
problem with facems.cognitiveservices API: Max retries exceeded with url RRS feed

  • Question

  • Hi there,

    When I try to use facems.cognitiveservices API, I always get the following error

    HTTPSConnectionPool(host='facems.cognitiveservices.azure.com', port=443): Max retries exceeded with url: /face/v1.0?returnFaceId=false&returnFaceLandmarks=false&returnFaceAttributes=age%2Cgender%2CheadPose%2Cglasses%2Cemotion (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')",),))

    How can I fix it?

    Thanks in advance.

    Ruixin

    Wednesday, October 23, 2019 8:33 AM

All replies

  • Hi Ruixin,

    Is it possible to provide us the documentation you are using to setup this API call to Azure face API? 

    Looking at the API call it looks like the hostname might be incorrect. Is it possible to make a call directly from the API reference page with your keys and check if it works? If the direct call works then it is most probably issue with the hostname used with your call and it needs to be corrected. 

    The host name is usually the region or the resource name as seen in this screen shot.

    -Rohit

    Thursday, October 24, 2019 8:19 AM
    Owner