Open RamkumarManavalan opened 2 years ago
Team, any update on this? I am blocked. I had raised this ticket with Microsoft Bot Framework first, but they advised me to raise in this project. Please help.
Team, any help?
I got this working, after doing the below. Found this by myself, after a lot of troubleshooting and test combinations.
appsettings.json: { ... "runtimeSettings": { "adapters": [ { "name": "Microsoft.WebexAdapter", "enabled": true, "route": "webex", "type": "Bot.Builder.Community.Adapters.Webex.WebexAdapter" } ], ... "components": [ { "name": "Bot.Builder.Community.Adapters.Webex", "settingsPrefix": "Bot.Builder.Community.Adapters.Webex" } ], ... } ... "WebexAccessToken": "xxxxx", "WebexPublicAddress": "https://webexapis.com/v1/", "WebexSecret": "xxxxx", "WebexWebhookName": "xxxxx", ... }
Startup.cs: public void ConfigureServices(IServiceCollection services) { services.AddControllers().AddNewtonsoftJson(options => { options.SerializerSettings.MaxDepth = 128; //HttpHelper.BotMessageSerializerSettings.MaxDepth; }); services.AddSingleton<IBotFrameworkHttpAdapter, WebexAdapter>(); .... }
I could not include the services.AddMvc().SetCompatibilityVersion and services.AddTransient method calls in the function above. But these were recommended in the README.
Please review and let me know if the above is fine.
Hi Team,
I have developed a bot using Bot Framework Composer (v2.1.2 dotnet/C#) and deployed the same as Azure Bot Service. I have enabled the channels such as Skype, Teams and Slack in the Azure portal and they all work well. Now, I need to surface my bot in Webex teams too. I looked at a few Microsoft and Webex pages and did the following steps, but I am not able to succeed. I know I am missing some important step or doing something incorrectly. Please help.
But I get no response from the bot for any message that I send in webex to this bot.
I wanted to do some troubleshooting and hence used the local bot server and exposed the port through ngrok. I configured this ngork public URL as the WebExPublicAddress in Composer and also in the webhook (targetUrl with /api/webex suffixed). Whenever I send a message in webex, ngrok receives it, but reports 500 internal server error. I am not able to view any other logs of either ngrok or the composer.
I guess the issue could be around any of these:
Please advise.