iink SDK Web

Answered

when useing websoket reconginition ,reply access not granted

when useing websoket reconginition ,reply "access not granted". 


Best Answer

Dear Wu Haijun,


Thank you for your request.


In your snapshot, we can see an hmac . The access not granted might be due to an issue in the hmac computing.

In order to check step by step where issue comes from, could you please try first to perform a recognition without hmac :

Ensure that the "Enable Hmac" check box is not ticked in the Cloud dashboard of your application, then test your websocket recognition without computing the hmac.


If the recognition is OK, issue is probably due to your hmac computation. 


Best regards,


Gwenaëlle




1 Comment

Answer

Dear Wu Haijun,


Thank you for your request.


In your snapshot, we can see an hmac . The access not granted might be due to an issue in the hmac computing.

In order to check step by step where issue comes from, could you please try first to perform a recognition without hmac :

Ensure that the "Enable Hmac" check box is not ticked in the Cloud dashboard of your application, then test your websocket recognition without computing the hmac.


If the recognition is OK, issue is probably due to your hmac computation. 


Best regards,


Gwenaëlle