Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
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.

Proxy settings are not universally respected #968

Copy link
Copy link
@felixvanleeuwen

Description

@felixvanleeuwen
Issue body actions

Versions

What CLI version are you using.
@microsoft/botframework-cli/4.11.0-dev.20200907.c063415
What Nodejs version are you using
win32-x64 node-v12.18.1
What command-line interpreters are you using
Powershell 6 (x64)
What OS are you using
Windows 10

Describe the bug

Give a clear and concise description of what the bug is.
Before each BF CLI command node tries to access registry.npmjs.org without being aware of proxy settings.
This retries for about a minute and then the command actually goes through in about 2-3 seconds.
We have a script that runs about 30-40 of these commands and it takes about 45 minutes to run it.
When a temporary exception is made for this address in our firewall the script takes about 3-4 minutes to run.

To Reproduce

Steps to reproduce the behavior:

  1. Get behind a corporate proxy;
  2. Get behind a corporate firewall;
  3. Configure Node to use the proxy;
  4. Set environment variables to use the proxy;
  5. Run any of the following commands:
  • bf luis:version:export
  • bf luis:version:import
  • bf luis:train:run
  • bf luis:application:publish
  • bf qnamaker:kb:export
  • bf qnamaker:kb:replace
  • bf luis:version:rename
  • bf luis:convert
  • bf luis:version:list
  1. Wait for about a minute for the command to complete;
  2. That was the bug.

Expected behavior

Give a clear and concise description of what you expected to happen.
Every request that the BF CLI (and its dependencies) makes respects proxy settings, whether environment or Node.

[bug]

Reactions are currently unavailable

Metadata

Metadata

Assignees

Labels

Area: SDKGeneral SDK issues that don't clearly map to other areas (e.g.: helper methods)General SDK issues that don't clearly map to other areas (e.g.: helper methods)Bot ServicesRequired for internal Azure reporting. Do not delete. Do not change color.Required for internal Azure reporting. Do not delete. Do not change color.P1Painful if we don't fix, won't block releasingPainful if we don't fix, won't block releasingSize: SThe issue is simple and well understood, it will take a day or less to completeThe issue is simple and well understood, it will take a day or less to completecustomer-replied-toIndicates that the team has replied to the issue reported by the customer. Do not delete.Indicates that the team has replied to the issue reported by the customer. Do not delete.customer-reportedIssue is created by anyone that is not a collaborator in the repository.Issue is created by anyone that is not a collaborator in the repository.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.