Reputation: 23
I built a simple bot which works perfectly well with emulator but doesn't work in portal when I try to test it with "Test connection to your bot". In emulator I tried with the the app id and app secret obtained from botframework and it worked fine. One thing I noticed is that the request I received from the emulator had a authorization header but the request from the portal didn't have the header.
Upvotes: 0
Views: 529
Reputation: 420
Have you got an SSL certificate? Remember that you need to use an https endpoint.
Upvotes: 0
Reputation: 1006
Also, make sure that you're using an https endpoint if you have the authorization header installed. We only pass the auth along if you're using https to protect your app secret.
Upvotes: 1