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

The bot fails to respond #1

Open
prateekmehta59 opened this issue Jul 1, 2018 · 6 comments
Open

The bot fails to respond #1

prateekmehta59 opened this issue Jul 1, 2018 · 6 comments

Comments

@prateekmehta59
Copy link

After connecting into the localhost, everytime I try to send a message through the bot, it says couldn't send retry.
Tried checking it in the Bot services, I am guessing the messaging endpoint is configured improperly.
I did create an ngrok session and passed on the https link in the endpoint, but thats where the bot stops working. Am I missing anything here?

@ceohockey60
Copy link
Owner

Hi @prateekmehta59, sorry it took me so long to respond (was traveling outside the US for work). Is everything set up properly on the MSFT bot framework end? This usually happens if that side of things wasn't configured properly. After you pass in the https link, you can test connectivity in the bot framework first, before "talking" to your bot.

Feel free to paste screenshots of your Bot framework set up or email me directly. Thanks! :)

@prateekmehta59
Copy link
Author

Hi @ceohockey60, Thanks for replying. So just to be clear, do we create a Bot Channel Registration or Web App Bot? I have actually tried with both, initially tested them (Test in Web Chat - under Bot Management), it works - I get my own msg back instead of the message saying couldn't send. But after updating the endpoint with Ngrok url, it starts giving out that error message.

Also you mentioned to register a subscription key for Microsoft Cognitive Services, can you please be more specific in that as in what should I choose under cognitive service.

I believe I am missing some step in this part of the configuration.

@ceohockey60
Copy link
Owner

Hi @prateekmehta59, the ngrok url for the messaging endpoint should look something like: "https://someNumbersandLetters.ngrok.io/api/messages"

Is that the case for you?

@prateekmehta59
Copy link
Author

Yes

@ceohockey60
Copy link
Owner

I see. Then I believe you need a subscription with the Azure Bot Service (one of the services on Azure), which will give you a subscription ID, etc. After that, you should be able to run your bot. (This wasn't necessary when I first developed this bot, because the Bot Framework was a separate service; now MSFT forces you to migrate all bots onto Azure.)

@prateekmehta59
Copy link
Author

Are you talking about the free subscription as in the initial registration, we have to do to start the bot services?

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

No branches or pull requests

2 participants