unispeech / unimrcp

Open source cross-platform implementation of MRCP protocol
http://www.unimrcp.org
Apache License 2.0
377 stars 167 forks source link

HTTP auth failure [403 Forbidden] <cognitive.subscription.key> #331

Open dashu101 opened 2 months ago

dashu101 commented 2 months ago

I am using the Microsoft Azure SR plug-in of unimrcp. Now I have applied for the corresponding language resources and filled in the following rules:

{
"auth-endpoint": "https://eastus.api.cognitive.microsoft.com/sts/v1.0/issuetoken",
"auth-key": "xxxxxxxxxxxxx",
"service-endpoint": ""
}

And also applied for a license as follows: image

Now use ./unimrcpserver to start the server and find

HTTP auth failure [403 Forbidden] <cognitive.subscription.key>

I would like to ask whether it is possible that the node for license application is different from the hostname and HOST IP used by the machine to initiate the request?

dashu101 commented 2 months ago

Is it possible that the above problem is caused by the node for license application being different from the hostname and HOST IP used by this machine to initiate the request?