Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
3 of 8 tasks
FANMixco opened this issue Jan 23, 2022 · 2 comments
Open
3 of 8 tasks

Comments

@FANMixco
Copy link

FANMixco commented Jan 23, 2022

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

  • Electron distribution
  • Chrome
  • Safari
  • Firefox
  • Edge

OS

  • macOS
  • Windows
  • Ubuntu

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
Copy link

sammydeprez commented Feb 12, 2022

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
Copy link

rschuetzler commented Jul 12, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants