unispeech / unimrcp

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

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

Open dashu101 opened 1 week ago

dashu101 commented 1 week 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 1 week 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?