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.

tfx-cli@0.6.0 regression: `extension create` fails without internet access

See original GitHub issue

We use an on-premise TFS 2018 Update 2 instance (version 16.131.27701.1), hosted on a network with no Internet access, and build TFS extensions locally. We package our custom TFS extensions using:

node_modules\.bin\tfx.cmd extension create --root tasks

This worked well, and produced a VSIX, with every version before tfx-cli 0.6.0. When upgrading to v0.6.0 today, however, the same command now fails:

TFS Cross Platform Command Line Interface v0.6.0
Copyright Microsoft Corporation
##[error]error: Error: getaddrinfo EAI_AGAIN app.vssps.visualstudio.com app.vssps.visualstudio.com:443
##[error]Cmd.exe exited with code '-1'.

It does not look expected that running tfx-cli extension create would attempt to connect to visualstudio.com. This seems related to changes committed in https://github.com/Microsoft/tfs-cli/commit/5bfdc01bcd8ff52e5ecbd58e3cdc623d7d0ea343.

Will an Internet connection be required for packaging extensions? We would be blocked from upgrading past v0.5.14 if that is the case.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
T-Hugscommented, Sep 4, 2018

Fixed in 0.6.1. Thanks for reporting!

0reactions
T-Hugscommented, Sep 4, 2018

Thanks @nil4. I will have a fix out soon.

Read more comments on GitHub >

github_iconTop Results From Across the Web

TFX-CLI fails on "tfx extension create" - Stack Overflow
Issue: while running the "tfx extension create" command, i'm getting this error (no debugging seems to be working): C:\Users\USER\Desktop\ ...
Read more >
Installing a Chrome Extension Without An Internet Connection
Copy the CRX file to the offline PC and then open the Chrome extensions page (chrome:://extensions). Make sure that Developer Mode is enabled....
Read more >
Edge Chromium extension install for users without internet
I want to install extensions for them on edge chromium. Iam using ADMX in GPO. Users with internet connection are getting the extension...
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