microsoft / BotFramework-Composer-Nightlies

Nightly releases of Bot Framework Composer (https://github.com/microsoft/BotFramework-Composer)
MIT License
12 stars 12 forks source link

Error while publishing a bot from Bot Framework Composer in a Linux env #5

Open FANMixco opened 2 years ago

FANMixco commented 2 years ago

Describe the bug

I'm having issues when I am using my existing resources and publishing my bot to a Linux env because it is failing with the below error:

"DEPLOY_ZIP_ERROR - There was a problem publishing bot assets (zip deploy)."

Version

v2.1.1 and 2.1.1-nightly.287412.59ec3db

Browser

OS

To Reproduce

Steps to reproduce the behavior:

  1. Go to 'Publish'
  2. Click on 'Publishing Profile'
  3. Click on 'Add new', provide Name, and select "Publish to Azure" as publishing target.
  4. Click 'Next'
  5. Select 'Import existing resources'
  6. Click 'Next'
  7. Add existing resources
  8. Click 'Import'
  9. Go to 'Publish'
  10. Select Bot
  11. Click' 'Publish selected bots'

Expected behavior

The bot should be published on Azure even if it takes over an hour. As an alternative, it should provide a message of how to publish it manually or through another tool.

Screenshots

v2.1.1

Screen Shot 2022-01-15 at 23 07 13 Screen Shot 2022-01-15 at 23 04 39

v2.1.1-nightly.285734.f5208f0

Screen Shot 2022-01-16 at 00 30 23 Screen Shot 2022-01-16 at 00 30 35 Screen Shot 2022-01-16 at 00 30 41

Additional context

  1. I'm not using any VPN or special network configuration. The latest was on my personal Mac and network.
  2. I have tried in two different networks with the same error.
  3. It takes over an hour to throw the error. It should take less than an hour ideally. There should be some feature that double-checks that after X time something might be suspicious or wrong.
  4. It has been reported more than once without any solution and just closed because of "inactivity".
  5. The same bug happens in the latest nightly build: 2.1.1-nightly.287412.59ec3db
  6. It works in Windows.
sammydeprez commented 2 years ago

check the hostname in your publishing settings, make sure it does not look like this:

"hostname": "https://xxxxxxx.azurewebsites.net"

but like this: "hostname": "xxxxxxx",

rschuetzler commented 2 years ago

I am on Bot Framework Composer (v2.1.2-nightly.306263.bfc4074) and receive the same error when trying to deploy a Nodejs bot to Linux. The error is as follows:

DEPLOY ZIP ERROR - There was
a problem publishing bot assets
(zip deploy). "Getting status of
zip upload processing failed.
{\"stack\": \"Error: getaddrinfo
ENOTFOUND
<hostname>.scm.azurewebsites.net
at GetAddrInfoReqWrap.onlookup
[as oncomplete] (dns.js:67:26)|

at GetAddrInfoReqWrap.callbackTrampoline
(internal/async_hooks.js:134:14)\"
,\"message\": \"getaddrinfo ENOTFOUND
<hostname>.scm.azurewebsites.net\",\"code\": \"ENOTFOUND\",\"
config\":{}}"

What's interesting is that I'm not sure where the .scm.azurewebsites.net is coming from. .azurewebsites.net makes sense, but the scm seems to appear on its own, because it's nowhere in my configuration.