microsoft / botframework-sdk

Bot Framework provides the most comprehensive experience for building conversation applications.
MIT License
7.5k stars 2.44k forks source link

Azure Bot Service: Bot offline and not replying on SKYPE. However working smoothly in WebChat (Azure) and cortana. #3621

Closed tariksetia closed 7 years ago

tariksetia commented 7 years ago

Bot Info

Issue Description

Bot is deployed on skpe channel. When I add it to contact....it show offline and does not reply. The bot is replying in Cortana and Azure WebChat

Code Example

github = https://github.com/tariksetia/chatops.git

Reproduction Steps

  1. Create a Bot Service in Azure.
  2. Under the build section click open online code editor
  3. When the code editor is open...delete app.js, package.json and .gitignore
  4. open console or Kudu Console (wwwroot) (if editor console do not work, open kudu console)
  5. Type git init
  6. Type git remote add origin https://github.com/tariksetia/chatops.git
  7. Type git pull origin master
  8. npm install
  9. replace line number 19 in app.js with following
    var connector = new builder.ChatConnector({
    appId: 'your app id',
    appPassword: 'your app password'
    });
  10. Click run on console.
  11. on Azure Portal, in bot service, choose channels.
  12. Skype will be running by default . Click on skpye channel image
  13. Now you should see "Add Bot to Skype" page... follow instructions there.
  14. type Hi! in skype bot conversation

Expected Behavior

It should say : Hi! Whats your name?

Actual Results

In Skpye Windows (Broken) image

In Skype -Mobile (Broke but messaging is disabled) image

In WebChat/Azure (working) image

Cortana (Working)

image

IoTGirl commented 7 years ago

This seems similar to https://github.com/Microsoft/BotBuilder/issues/3557

tariksetia commented 7 years ago

I also created a new bot service with vanilla Luis intelligence bot, put my Microsoft credentials in code using online code editor, added bot to Skype....But it also didn't work.... facing same behavior on skype

tariksetia commented 7 years ago

This got fixed

Download [https://go.skype.com/skype.preview.download]. Install it. If you are using windows 10, set compatibility mode to Windows 8. In the left side bar, you will see your bot. Right click the bot and add to contact. This "add to contact" was not available is my default Windows 10 Skype.

Now the bot status might be offline, but you can chat with it.