microsoft/ConversationLearner-Samples

Network Error

PowerFeature opened this issue · 4 comments

I try to install on an Azure VM running Ubuntu server. When I get to the UI I get

CREATE_APPLICATION_ASYNC Failed
Network Error
Unknown
Is your Bot running?

And Import Tutorials gives me

FETCH_TUTORIAL_ASYNC Failed
Error
Network Error

I have opened port 5050 to get access to the UI. But nothing else. Botservice should be running:

Creating Conversation Learner Client....
Starting DOL (Direct Offline):

Can you help?

I don't understand the scenario. The UI is meant to be communicating with a locally running bot during training. Once you have trained your model and completed coding your bot you publish it to a cloud such as Azure and in that case the SDK and UI server ports should NOT be exposed.

Most likely you have issue with ports. The default configuration in the sample is setup to make this work by default with Azure so I'm not sure what you did. Also, it doesn't make sense to run DOL when published since it is not "offline". You can turn this off by setting DOL_START = false in your azure config

I ran into the same problem on Firefox, but working fine with Chrome. ¯_(ツ)_/¯

We currently only support Chrome (as per documentation)

@killerfeature - Just to clarify, the UI does not run when the bot is published. As Matt suggests above, it runs on localhost when you are authoring your bot. Closing this for now. Feel free to re-open if you have additional questions.