SSWConsulting / SSW.SophieBot

Business grade bots that empower you on enterprise data searching and entering using advanced artificial intelligence.
https://sswsophie.com/sophiebot/
MIT License
6 stars 3 forks source link

🐛 Bug - Unable to start SophieBot locally #668

Open AttackOnMorty opened 3 months ago

AttackOnMorty commented 3 months ago

Cc: @jimmidier @piers-sinclair @adamcogan @divgul @matt-goldman

Hi Team,

Describe the Bug

I got a new Mac and set up the SophieBot from scratch by following Run bot with Bot Framework Composer. But I got an error in Bot Framework Emulator about ngrok.

Tasks

### Tasks
- [x] Investigate
- [x] Test with workaround
- [ ] Wait for the issue to be fixed - https://github.com/microsoft/BotFramework-Emulator/issues/2389

Acceptance Criteria

Environment

Screenshots

Image

Figure: Error

Thanks!

AttackOnMorty commented 2 months ago

Investigate

As per my conversation with @jimmidier, this is a known issue due to breaking changes in ngrok v3.

Downgrading to ngrok v2 can solve this problem. But ngrok will force you to upgrade to v3 if you are a free account. So we have to wait for the issue to be fixed.

There is a workaround for it for local testing - Use Teams | SSWSophieBotDev bot.

  1. Change the SSWSophieBotDev | Messaging endpoint to ngrok endpoint
  2. Test in Teams
AttackOnMorty commented 2 months ago

Test with workaround

✅ Done - Test locally using Dev bot on Teams

Image Figure: Got test message for workaround