question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

DEPLOY_ZIP_ERROR - RequestError - Error: getaddrinfo ENOTFOUND <resource>.scm.azurewebsites.net

See original GitHub issue

TO REPRODUCE

Azure Portal

  • Create a Bot Channels Registration in existing resource Group
  • Copied App Id and Password Launched Bot Composer
  • Created a New Skills Bot from scratch. (as per Prepare a Skill https://docs.microsoft.com/en-us/composer/how-to-export-a-skill)
  • Created a publishing Profile to an existing set of Azure Resources
  • Publish Skills bot using publish profile
  • Get:
  • DEPLOY_ZIP_ERROR - RequestError - Error: getaddrinfo ENOTFOUND <resource>.scm.azurewebsites.net

Version v1.3.1

OS Windows

Expected behavior Expecteed Skills Bot to Publish to designated Azure Resource Group and Bot Registration

Screenshots image

Publish profile:

{
  "name": "REDACTED",
  "environment": "composer",
  "runtimeIdentifier": "win-x64",
  "settings": {
    "applicationInsights": {
      "InstrumentationKey": "<Instrumentation Key>"
    },
    "cosmosDb": null,
    "blobStorage": null,
    "luis": {
      "authoringKey": "REDACTED",
      "authoringEndpoint": "https://westus.api.cognitive.microsoft.com/",
      "endpointKey": "REDACTED",
      "endpoint": "https://westus.api.cognitive.microsoft.com/",
      "region": "westus"
    },
    "MicrosoftAppId": "REDACTED",
    "MicrosoftAppPassword": "REDACTED"
  },
  "hostname": "<Name of Bot Channel Registration",
  "luisResource": "REDACTED"
}

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:18 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
luhan2017commented, Mar 23, 2021

@danielallen73 the unauthorized the error usually happens when the MicrosoftAppId and MicrosoftAppPassword mismatch. Could you check if the settings in your publish profile and your bot channel registration are matched?

@zxyanliu or me can help you with more details, let’s schedule a call to resolve this.

1reaction
luhan2017commented, Mar 18, 2021

@danielallen73 for the cognitive services or any other services, they don’t necessarily be within the same resource group. For now, to create two set of webapp and bot channel registration under the same resource group, you need to manually create one. But soon maybe within this week, we will release a new version composer(or you could try to use nightly), in the new version, we decouple the resource group and resources, you can create multiple webapp under the same resource group.

Read more comments on GitHub >

github_iconTop Results From Across the Web

NETERR: getaddrinfo ENOTFOUND localhost" - Stack Overflow
I am trying to figure out how to get monitoring to work in Postman. I have written tests on the ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found