Giter Site home page Giter Site logo

For tfx login command with on-premises specifying server url and not collection url succeeds but causes errors later about tfs-cli HOT 5 CLOSED

microsoft avatar microsoft commented on August 18, 2024
For tfx login command with on-premises specifying server url and not collection url succeeds but causes errors later

from tfs-cli.

Comments (5)

yansklyarenko avatar yansklyarenko commented on August 18, 2024

@bbusacker Have you ever faced with the following error running login command?

Error: Connection failed. Check your internet connection & collection URL.
Message: connect ECONNREFUSED

I'm trying to tfx login --authtype basic. The connection URL looks correct - I do enter the collection URL, tried that with and without the trailing slash.
The basic auth is installed as a web server role feature and enabled in IIS for TFS website.

Any ideas what could that be?

from tfs-cli.

bryanmacfarlane avatar bryanmacfarlane commented on August 18, 2024

it's hard to say without any details. My first guess is you didn't enable basic auth correctly - it's should be enabled on the IIS application (/tfs) and not necessarily the root web site.

Either way this isn't related to the suggestion/issue logged here.

from tfs-cli.

bbusacker avatar bbusacker commented on August 18, 2024

I’ve not seen that. The collection url should be http://servername:port/tfs/CollectionName just to double check.

From: yansklyarenko [mailto:[email protected]]
Sent: August 27, 2015 12:37 PM
To: Microsoft/tfs-cli [email protected]
Cc: Brandon Busacker (bbusacker) [email protected]
Subject: Re: [tfs-cli] For tfx login command with on-premises specifying server url and not collection url succeeds but causes errors later (#29)

@bbusackerhttps://github.com/bbusacker Have you ever faced with the following error running login command?

Error: Connection failed. Check your internet connection & collection URL.
Message: connect ECONNREFUSED

I'm trying to tfx login --authtype basic. The connection URL looks correct - I do enter the collection URL, tried that with and without the trailing slash.
The basic auth is installed as a web server role feature and enabled in IIS for TFS website.

Any ideas what could that be?


Reply to this email directly or view it on GitHubhttps://github.com//issues/29#issuecomment-135517538.

from tfs-cli.

yansklyarenko avatar yansklyarenko commented on August 18, 2024

Guys, I apologize - the problem has nothing to do with the tool, it works just fine. I was able to login with basic auth. I've just dumped the real problem and the solution to the blog post.

from tfs-cli.

bryanmacfarlane avatar bryanmacfarlane commented on August 18, 2024

Glad you figured it out. Thanks

from tfs-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.