onlyutkarsh / ExportImportBuildDefinition

Export and Import your build definitions. Useful for recreating all the build steps, variables, schedules, etc in a different team project/account.
http://bit.ly/exportimportbuild
Other
17 stars 8 forks source link

TFS.Web.Api.Exception: An undefined error occurred while attempting to connect to the server #9

Open sdumortier opened 7 years ago

sdumortier commented 7 years ago

Version 0.0.2 Last updated ‎11‎/‎7‎/‎2016‎ ‎7‎:‎33‎:‎30‎ ‎AM

I'm getting the following error when attempting to export/import build definitions. Currently using OnPrem TFS 2015 Update 2

TFS.Web.Api.Exception: An undefined error occurred while attempting to connect to the server. Status code(): error.

vinimehta commented 7 years ago

having the same issues as well. Any idea on a fix @onlyutkarsh ?

GregDSmith commented 7 years ago

We are also having the same issue. It maybe related to another issue that we have where in some cases the TFS code adds the port number to our URL. Our internal server have a DNS entry that alias the server to tfs.XXXXX.com, so this is a valid url for our installation tfs.XXXXX//tfs/. However, there are certain commands which will try and navigate to tfs.XXXXX:8080//tfs/

If we connect directly to the server, and not the alias, the export works fine.

dipenpatelOEH commented 7 years ago

If you are using a proxy server, try without going through the proxy and connect to directly. It worked for us. If it works add the alias address as exceptions in the proxy file