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
Facebook and Web chat do not work - V3 #648
Comments
I am having the same issue (C#, V3). Facebook, Groupme, and Telegram webchats return "sorry, bot name is having a problem responding right now". While Kik, Twilio, Skype, and Slack do not return a response. When I test my bot connection on dev.botframework.com I get a response of "accepted" When ran using the local emulator it works fine if I leave MicrosoftAppId and MicrosoftAppPassword blank in the web.config file. I've attempted to follow this guide but the Emulator does not have a field for the botID. |
Same for me. It is related to some kind of permission. This error occurs when answering messages: System.UnauthorizedAccessException: Security token for MicrosoftAppId: xxxxxxx is unauthorized to post to connector! |
@alex182 and @rmatosaw can you try with the updated version of nuget v3.0.1 and see if it solves the problem? We had a bug in the MicrosoftAppCredentials implementation that should be fixed in the new package. |
Hi. Thanks for the tip. InternalServerError Also, the upgrade is not easy, because the reference to Bot.Connector needs to be removed manually. I don't know if I did it right. |
@rmatosaw how do you end up with this dependency: 'System.IdentityModel.Tokens.Jwt, Version=5.0.0.127, Culture=neutral, PublicKeyToken=31bf3856ad364e35'? Bot builder nuget is dependent on id="System.IdentityModel.Tokens.Jwt" version="4.0.2.206221351". Is it the case that you have another dependency that relies on a newer version of Also upgrade shouldn't be hard, just use |
3.0.1 made facebook work for me, node.js |
Removed all the references and added again, by nuget. After rewrite some references in web.config it worked! |
Hi folks, I've updated to 3.0.1 for Node.JS but Webchat doesn't work (no answer). Skype and Telegram work fine. Thanks, |
@msft-shahins that did it. thanks for the quick response! |
@rmatosaw can you elaborate on the issue that you are seeing? your bot works locally against emulator but it deosn't work with skype and other channels? what is your MicrosoftAppId? |
@0GiS0 what is the MicrosoftAppId for your bot? Is Webchat still not working for your bot? |
Same here, Facebook is now working but nothing new about WebChat : It understands and receive my message since I see logs in the Azure Web Console, but no messages are sent from the bot in the Webchat. The bot works locally with the emulator and with Facebook like I said 😄 . MicrosoftAppId : bb30223f-2e12-422f-bc7a-4f92d9388600 |
I'm using nodejs and have the following error when try to configure the facebook messenger (note: I already using nuguet 3.0.1 Server Error in '/' Application. The remote server returned an error: (400) Bad Request. Exception Details: System.Net.WebException: The remote server returned an error: (400) Bad Request. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [WebException: The remote server returned an error: (400) Bad Request.] [StorageException: The remote server returned an error: (400) Bad Request.] |
@msft-shahins mi MicrosoftAppId is d5f732f3-c3b0-4093-affc-1d320d4eae4c and still not working. But it happens with all my bots for the WebChat. My bots work well in Skype and Telegram. Thanks |
I've got two bugfixes and some additional tracing in place in the WebChat service now. Can you try again with the same app ID and let me know what the result is? Even if it fails, I'll have more data to get this working. |
I'm not sure how to attach the debugger as I use the bot channel web portal to configure. My appid 379a3e85-2a5b-4fa1-a1e7-45b6a9df278c and I just try again and still the same error. fyi the app work on skype |
Just tried again, it works here :) ! |
I'm very sorry for stupid mistake, I made mistake on my Facebook ID and after correcting it. It's working now. The fault is on myside but if the error return provide some friendly msg in future, it will help some of us to find out where goes wrong. |
Hi everyone- |
After migrating to V3 and changing settings in bot framework portal, Facebook and webchat are not working. When I test connection on the portal, it says the endpoint authorization succeeded and my c# code works on my local machine through the emulator. However, Facebook messenger, which was working with V1, now gives the error "sorry, bot name is having a problem responding right now", and web chat does not return a response. I am using an Azure web app to host the bot.
The text was updated successfully, but these errors were encountered: