Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

Package Manager Error #1289

Closed
Closed

Description

@corepk

I am getting a Package Manager error when I tried to add a new package/component from the package manager

Could not load component list:Error Cannot create property '$bundled' on string '<style>body{margin:0px;padding:0px;}iframe{width:100%;height:100%}</style><iframe src="http://www.airtel.in/dot/" width="100%" height="100%" frameborder=0></iframe>' *** Could not merge components ***

Version

v2.1.0

Browser

  • Electron distribution
  • Chrome
  • Safari
  • Firefox
  • Edge

OS

  • Windows

To Reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

Screenshots

Additional context

Activity

  1. corepk commented on Aug 7, 2021

    @corepk
    Author

    image

  2. gabog commented on Aug 9, 2021

    @gabog
    Contributor

    Hi corepk, does this happen with any package? or just help and cancel?
    Are you able to reproduce this if you create an empty bot from the scratch?

  3. srinaath commented on Aug 10, 2021

    @srinaath

    corepk Do you get this error adding any of the packages. We do have an error reported on the latest version of the Help and cancel package.
    microsoft/BotFramework-Composer#8515

  4. corepk commented on Aug 11, 2021

    @corepk
    Author

    Gabo Gilabert (@gabog) & Srinaath Ravichandran (@srinaath) - Yes I am getting this error with any of the packages.

  5. VishnuM1 commented on Aug 16, 2021

    @VishnuM1

    Am also getting the same exception, while trying to install any of the packages from the package manager console.
    image

  6. benbrown commented on Aug 17, 2021

    @benbrown
    Contributor

    This error indicates that the "schema merge" process was unable to complete successfully.

    During this process, the code downloads JSON schema files from json-schema.org and schemas.botframework.com -- is there a change that one or both of these URLs is blocked on your network corepk VishnuM1?

  7. corepk commented on Aug 18, 2021

    @corepk
    Author

    This error indicates that the "schema merge" process was unable to complete successfully.

    During this process, the code downloads JSON schema files from json-schema.org and schemas.botframework.com -- is there a change that one or both of these URLs is blocked on your network corepk VishnuM1?

    Hi Ben Brown (@benbrown) - We do not have such a security network policy so any URLs should not get blocked. I think it is a known issue and it is only with latest version of composer not sure though. VishnuM1 - Can you please confirm your composer verion?

  8. benbrown commented on Aug 18, 2021

    @benbrown
    Contributor

    corepk Does that airtel.in/dot url ring a bell to you at all? That is not something Composer should be accessing directly, and it seems to be a network error page...

  9. corepk commented on Aug 19, 2021

    @corepk
    Author

    Ben Brown (@benbrown) - yes. Thank you for highlighting it. Let me try to understand why is it happening. Airtel is an internet service provider and you are correct that Composer should not access this URL directly. Let me investigate it. Thanks again :)

  10. benbrown commented on Aug 19, 2021

    @benbrown
    Contributor

    corepk Any info you can provide will be helpful.

  11. ParagHurkat commented on Aug 24, 2021

    @ParagHurkat

    I also get a similar error when trying to install Orchestrator package.

    image

    If this problem persists, please file an issue on GitHub
    Could not load component list:Error Cannot create property '$bundled' on string '<style>body{margin:0px;padding:0px;}iframe{width:100%;height:100%}</style><iframe src=http://182.79.218.34:8080/webadmin/deny/index.php?dpid=15&dpruleid=11&cat=107&dplanguage=-&url=http%3a%2f%2f185%2e199%2e109%2e153%2fdraft%2d07%2fschema width="100%" height="100%" frameborder=0></iframe>' *** Could not merge components ***

    Now I tried installing the package via dotnet CLI

    dotnet add OrchTest.csproj package Microsoft.Bot.Builder.AI.Orchestrator --version 4.14.1
    Determining projects to restore...
    Writing C:\Users\pahurkat\AppData\Local\Temp\tmp176E.tmp
    info : Adding PackageReference for package 'Microsoft.Bot.Builder.AI.Orchestrator' into project 'OrchTest.csproj'.
    info : Restoring packages for C:\Users\pahurkat\OrchTest\OrchTest\OrchTest.csproj...
    warn : NU1701: Package 'Microsoft.Azure.KeyVault.Core 1.0.0' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework '.NETCoreApp,Version=v3.1'. This package may not be fully compatible with your project.
    info : Package 'Microsoft.Bot.Builder.AI.Orchestrator' is compatible with all the specified frameworks in project 'OrchTest.csproj'.
    info : PackageReference for package 'Microsoft.Bot.Builder.AI.Orchestrator' version '4.14.1' added to file 'C:\Users\pahurkat\OrchTest\OrchTest\OrchTest.csproj'.
    info : Committing restore...
    info : Writing assets file to disk. Path: C:\Users\pahurkat\OrchTest\OrchTest\obj\project.assets.json
    log : Restored C:\Users\pahurkat\OrchTest\OrchTest\OrchTest.csproj (in 629 ms).

    It does get added in the csproj file :

    but when I update the schema, it gives the same error

    image

  12. benbrown commented on Aug 24, 2021

    @benbrown
    Contributor

    Chris McConnell (@chrimc62) this error is coming out of the cli and the library when attempting to traverse the schema definitions. It appears most-often connected with a call to http://json-schema.org/draft-07/schema# that is referenced in our bot framework schema files. Any idea why this might occur for some people?

  13. added
    Bot Services
    customer-replied-to
    customer-reported
    on Sep 8, 2021
  14. chrimc62 commented on Sep 10, 2021

    @chrimc62

    Ben Brown (@benbrown) I have no idea why this is happening. The merge process will go out to json schema as part of validation, but except for temporary internet issues it should work fine. Do the people that are seeing this have poor internet access? Wonder if there is a timeout. The package uses axios to resolve URLs--we switched to that to better deal with people that have proxies. Is it possible they have a proxy server setup?

  15. chrimc62 commented on Sep 10, 2021

    @chrimc62

    ParagHurkat is it possible this is caused by an issue with your proxy server?
    The XML looks like it is proxy related. When we try to resolve a URL we are getting back that XML string as a result and the code is expecting an object which is why you get the error stack when we try to set a property on it.

  16. added a commit that references this issue on Sep 11, 2021
    65628d7
  17. added a commit that references this issue on Sep 14, 2021
    7a936c1
  18. prajwal-ainapur commented on Nov 17, 2021

    @prajwal-ainapur

    Am getting the same error now. Using Composer 2.1.1. Please guide me on how to resolve this.

  19. benbrown commented on Nov 17, 2021

    @benbrown
    Contributor

    prajwal-ainapur this is due to your local network having a restriction on content. Make sure you can access json-schema.org.

  20. prajwal-ainapur commented on Nov 18, 2021

    @prajwal-ainapur

    prajwal-ainapur this is due to your local network having a restriction on content. Make sure you can access json-schema.org.

    I tried accessing json-schema.org. Weird observation: It's opening on my Chrome browser but not on Edge browser.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Bot Servicescustomer-replied-tocustomer-reported

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions