Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to create knowledgebase for azure cognitive service (Error: “No Endpoint keys found.”) #40089

Closed
maheshkumagali opened this issue Oct 4, 2019 · 20 comments

Comments

@maheshkumagali
Copy link

I am creating a new knowledge base connecting it to an already existing Azure Cognitive Service. But I am getting error: "No Endpoint keys found." when i click "Create KB".
Error: https://i.stack.imgur.com/pp8tV.png


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

@RohitMungi-MSFT
Copy link
Contributor

@maheshkumagali Is it possible to check if you are facing a similar issue when you create a new QnA resource along with the KB?
From the error it looks like the existing QnA service keys or service might be having issues. Is it possible to raise a support ticket for this resource from Azure portal?

@maheshkumagali
Copy link
Author

maheshkumagali commented Oct 4, 2019

Thanks for replying.
Just to make another point: my QnAMaker cognitive service does have the endpoint as shown here: https://i.stack.imgur.com/6PDQA.png.

Also I am able to create new KB pointing to another QnAMaker cognitive service. I am facing issue only when creating the new KB pointing to a particular QnAMaker cognitive service. Any things I need to check on the new QnAMaker cognitive service?

@RohitMungi-MSFT
Copy link
Contributor

@maheshkumagali If you are able to create a new KB with the new QnAMaker then there is an issue with the first QnAMaker resource. You can try to restart your app service and wait for some time for it to reinitialize. Checkout the help from the QnAMaker helper bot.

image

If the above does not help you can raise a user voice ticket against this resource from the General Enquiry through User voice link from the top right corner of QnAMaker portal or you can raise a support ticket against this resource if you have a support plan for this subscription.

image

@maheshkumagali
Copy link
Author

maheshkumagali commented Oct 4, 2019

@RohitMungi-MSFT Any idea on how to restart QnAMaker service? I dont find that option in azure portal.

@maheshkumagali
Copy link
Author

I restarted the app services in the same resource group but in vain.

@RohitMungi-MSFT
Copy link
Contributor

@maheshkumagali Please raise a support request against this QnA resource so the product team can help you with the same. If you are able to use your new QnA resource you can delete this resource.

@RohitMungi-MSFT
Copy link
Contributor

@maheshkumagali We will now proceed to close this thread. Please raise a support case against this resource to resolve the key issue or proceed to use the new resource.

@oatsoda
Copy link

oatsoda commented Oct 21, 2019

@maheshkumagali Did you solve this issue?

@abbodh
Copy link

abbodh commented Oct 30, 2019

I am getting the same issue while performing the deployment using ARM template.

@infact
Copy link

infact commented Nov 15, 2019

I restarted the app services in the same resource group but in vain.
I am facing the same issue.Any resolution ?

@tmccart1
Copy link

tmccart1 commented Apr 6, 2020

I can concur that some configuration is missing from the ARM template creation. If I provision everything manually from the QnA Maker web site, it works, but if I use an ARM template for all of the supporting Azure resources, it does not work. I made sure that the ARM template resources had all of the exact same configuration as the resources created from the QnA Maker site UI.

I tried all of the suggestions above and none of them worked.

It is very easy to reproduce this error from PostMan by issuing the following GET:

https://[your-cognitive-service-name].cognitiveservices.azure.com/qnamaker/v4.0/endpointkeys

Make sure to include the Ocp-Apim-Subscription-Key header and set its value to the "KEY 1" value of your Cognitive service, which can be found in the "Keys and Endpoint" blade.

Here is the return payload:

{
"error": {
"code": "EndpointKeysError",
"message": "No Endpoint keys found."
}
}

@abbodh
Copy link

abbodh commented Apr 7, 2020

I was able to run after scaling up the azure app service SKU. As after few deployments, I realized that the CPU consumption spiked really high.

Just to clarify, restarting the app service won't help and you have to re-create the resources again.

@tmccart1
Copy link

tmccart1 commented Apr 7, 2020

@abbodh , what sku did you use on the app service? I was using S1. Thank you for your insight, this may end up helping me a lot!

@abbodh
Copy link

abbodh commented Apr 7, 2020

@tmccart1 I changed it from S1 to S2. Interestingly, once endpoint got created, I switched back to S1 and did not noticed any issue since then (perks of azure scaling)

@tmccart1
Copy link

tmccart1 commented Apr 7, 2020

@abbodh , in my case I was also sharing the hosting plan with a bot app service (just a small demo, didn't think I needed much). The hosting plan was at S1. I am going to try splitting out the cognitive service app out to its own hosting plan and bump it up. Thanks again!

@tmccart1
Copy link

tmccart1 commented Apr 7, 2020

Ugh, it still did not help.

@mirojurisic
Copy link

this is still happening :(

@01
Copy link

01 commented Oct 19, 2021

having issue as well

@rliberoff
Copy link

Having this issue too when creating the QnA Maker from an ARM Template.

@Cokeisit
Copy link

I'm too is having this issue when creating from an ARM template. This is something that needs to be solved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests