BotFramework-Composer icon indicating copy to clipboard operation
BotFramework-Composer copied to clipboard

Cannot start bot in Composer after upgrade to 1.3

Open JohnRobertGreen opened this issue 5 years ago • 7 comments

Describe the bug

I was used v1.2; tested running locally and publishing which worked fine. Upgraded to 1.3. Can no longer run the bot from Composer. "Building" ophase seems to work. "Starting" phase reports "Failed to start. See Details" and details shows the very helpful "Start bot failed [object Object]".

Version

1.3

Browser

Chrome Version 87.0.4280.141 (Official Build) (64-bit)

OS

Windows 10

To Reproduce

Steps to reproduce the behavior:

  1. Click on 'Start bot'
  2. See error in start bot panel "Failed to start"

Expected behavior

The bot runs as it did using 1.2

Screenshots

image

Additional context

JohnRobertGreen avatar Jan 15 '21 00:01 JohnRobertGreen

Do you have .NET v 3.1 installed? You can run dotnet --info to find out.

See similar issue here: https://github.com/microsoft/BotFramework-Composer/issues/5390

dmvtech avatar Jan 15 '21 22:01 dmvtech

From dotnet --info:

Microsoft.NETCore.App 3.1.10 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]

John Green Head of Technology

Ultradata - Vision to Reality T: +613 9291 1600 www.ultradata.com.au


From: Dana V [email protected] Sent: Saturday, 16 January 2021 9:08 AM To: microsoft/BotFramework-Composer Cc: John Green; Author Subject: Re: [microsoft/BotFramework-Composer] Cannot start bot in Composer after upgrade to 1.3 (#5530)

Do you have .NET v 3.1 installed? You can run dotnet --info to find out.

See similar issue here: #5390https://github.com/microsoft/BotFramework-Composer/issues/5390

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/microsoft/BotFramework-Composer/issues/5530#issuecomment-761223834, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAPABCFZXK5NHPRVKXLHZDLS2C4FFANCNFSM4WDJPF2A.

This message contains privileged and confidential information intended only for the use of the addressee named above. If you are not the intended recipient of this message you are hereby notified that you must not disseminate, copy or take any action or place any reliance on it. If you have received this message in error please notify the sender immediately via return email. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of the company.

JohnRobertGreen avatar Jan 17 '21 05:01 JohnRobertGreen

Hi @JohnRobertGreen Can you please clear out the runtimes (all folders) in %APPDATA%\Roaming\BotFrameworkComposer\hostedBots and then try again? (You can also host an extracted runtime if you wish)

dmvtech avatar Jan 19 '21 19:01 dmvtech

I verified I could run the bot locally using v1.2.1, then stopped Composer, cleared out the directory noted above, updated to v1.3 and tried running locally. It did not start and reported the error "Start bot failed [object Object]"

JohnRobertGreen avatar Jan 21 '21 02:01 JohnRobertGreen

Thanks @JohnRobertGreen

Are you able to share your bot to see if I can reproduce? (maybe on another repo) If so, make sure to remove any personal/sensitive information.

Another option is exporting the runtime and debugging that to find out what the actual error/cause is.

There is a fix out that gives a move verbose error instead of [object Object], so if the second option above doesn't work alone, we can try and upgrade to that to see if that helps.

dmvtech avatar Jan 21 '21 18:01 dmvtech

Hi @JohnRobertGreen Are you able to debug the runtime?

dmvtech avatar Jan 29 '21 17:01 dmvtech

Closing this due to inactivity. If you still need assistance, please comment and I will reopen the issue.

dmvtech avatar Feb 01 '21 22:02 dmvtech