Eclipse with TFS plugin - endless login loop - eclipse

I have a problem in eclipse with the tfs plugin. I try to login and it stuck in some kind of login loop.
I looked here and in google. Nothing help.
I found this posts:
Eclipse with TFS plugin - looping login
http://social.msdn.microsoft.com/Forums/vstudio/en-US/5e3f8b3a-d623-4401-b9f1-50f1f52ab299/eclipse-tfs-plugin-keeps-signing-in-in-loop-followed-by-there-were-some-problems-message
I tried to clean cookies and password and everything possible in IE
I reinstalled the plugin. I updated everything possible, checked for eclipse indigo last version (3.2.7)
Nothing worked. Anyone can help me?

The forum posts you referenced are about the Team Foundation Service, not the on-premise server. Since the service uses Microsoft Accounts (previously known as Live Id's) it depends on cookies in your browser.
The on-premise version of Team Foundation Server uses your domain account which isn't stored as a cookie, but which is stored in the Windows Credentials Vault by default for Windows processes. Try going through the stored credentials to make sure your username/password or TFS server isn't mentioned there. If it is, either update it or remove it.
Can you verify whether the same account settings are correctly picked up by Visual Studio/Team Explorer (if you have it installed on the same machine)? Eclipse and Team Explorer should use the same credential vault.

Related

Device Login Page is not coming when entering TFS (Team Foundation Server) URL in Eclipse

I am trying to set up my Eclipse with my TFS Project (Team Explorer Everywhere). I am following the below documentation:
https://azuredevopslabs.com/labs/java/eclipsegit/
I am able to install the TFS Plugin. But as per the Step 10 in the documentation, I am not able to get the Device Login window post entering the TFS URL. After clicking on OK, the next expected window is not getting populated. The URL is correct as I am able to access the same through the browser. I have also tried by entering my credentials but still no luck. Can anyone help or suggest if I am missing anything.
If the Device Login windows does not pop up normally, it could be an issue with the plugin.
You can try to uninstall the TFS plugin and install TFS 14.135.0 to solve the problem.

MIcrosoft Feedback Client can't connect to Team Foundation Server

I have a problem with the MIcrosoft Feedback Client, and in general the Request feedback option in VSTS.
If I try to open a request from the notification email, the Feedback Client displays the following error:
Cannot connect to Team Foundation Server. Verify the network connection and try again.
However, if I simply launch it as an application, I got a popup first, where I need to pick the server, the team project collection and finally the project I'd like to connect to (it doesn't ask for login). This works just fine and the submitted feedback is displayed in VSTS, it can be queried, etc.
I removed all cookies and cleared browser cache from all browsers I use, also I checked if there's a false entry in Windows Credential Manager.
Any suggestions what I should try next?
update
We use Feedback Client for Microsoft Visual Studio Team Foundation Server 2015 downloaded from here
Make sure the account you use have the permission to access to the project and view the work items.
Feedback client use the credentials stored in Team Explorer. Try to delete the stored credentials from "Visual Studio -> Team -> Manage Connections -> Manage Connections -> Servers -> Remove" and then launch Feedback Client from email. A sign in dialog will pop up after this and you can enter your credential in it.
If it still does not work, clean all the TFS cache from "%LocalAppData%\Microsoft\Team Foundation\x.0\Cache" folder.
And also, check the link in the email to make sure it is correct. The link should like following:
mfbclients://xxxxxx.visualstudio.com/DefaultCollection/p:ProjectName?rid=FeedbackID
What version of the TFS Client are you using 2012, 2013 or 2015? I ran into a similar issue when we were using this on premise and I had to bump down to a lower version of the TFS Feedback Client.
Here is the TFS 2015 client.
https://www.microsoft.com/en-us/download/details.aspx?id=40768
I just tested mine to VSTS and it worked as expected.

Why Eclipse p2site is asking for credentials?

I have a p2site hosted on my server to provide Eclipse Update Site. The server is running an IIS 7.5
I have the same p2site content stored and provided both in my production environment and in my staging environment (two separate servers, with identical characteristics).
From a couple of days, if I connect with my staging environment p2site from an Eclipse Indigo instance, I'm required to enter credentials, which has never happened before.
Moreover, if I manually download the zip archive and install my plugin from this local archive, I'm asked the credentials too.
I can guess, but I'm not sure, that the problem can be related to the following: in the last days we have added HTTPS enablement for our web site, and installed our certificate in the root certificates of Windows Server 2008 R2.
Anyone knows why Eclipse (Indigo, haven't tested the other platforms yet) is behaving in this way?
And how can I prepare my local zip archive / p2site to overcome this issue?
Thank you very much
cghersi
Just for the sake of completeness, I found the solution on my own: the problem was that for some reasons (that I cannot still recognize...) there was a DENY rule in the .NetAuthorization section for the verbs OPTION,HEAD.
It seems that Eclipse send exactly these kind of requests when looking for p2site and so these requests were rejected and Eclipse was asking for credentials for these requests.
Hope is can be useful in the future for other people.
cghersi

Eclipse with TFS plugin - looping login

few days ago (without installing anything new as far as I know) my Eclipse environment started looping authentiacation action when loging to Team Foundation Services. Everytime I want to explore, checkin and so on I see dialog "connecting to server" then dialog loading indentity providers appears and after it white blank screen and all repeats again and again.
I tried to find if I can reset stored password but there is no one in Credentials Manager in Windows (related to TFS address).
I tried update Eclipse plugins (ADT, TFS plugin) to latest version - same behavior.
Any suggestions or same experience
Kind Regards Jindrich Polenius Brezina
I'm afraid that the authentication mechanism got broken during a recent upgrade of the service. It was fixed quickly, but due to the fact that you were unlucky enough to attempt to log-in while it broken I'm afraid that you are going to need to close Eclipse, delete all your cookies in internet explorer, close IE, open Eclipse and attempt to log in again. Very sorry about that.

Nuget Server returning 403's and 404's

I'm trying to host nuget on my Amazon EC2 VPS, and I'm having issues.
I've followed the instructions here ( Hosting your own NuGet Feeds )
I've read this thread ( NuGet: remote server returned an Error(403) Forbidden ) along the same lines.
I'm not running TFS
It "could" be a proxy issue, but I'm not entirely sure how to check.
My NuGet feed is located at http://nuget.infinitas.ws. You'll notice that both http://nuget.infinitas.ws/nuget/Packages and http://nuget.infinitas.ws/Packages are throwing errors.
Any help with this will be greatly appreciated.
You are probably running the NuGet.Server in a Web Site-project. Try to run it via an ASP.NET Web Application instead (in Visual Studio you can create one via File -> New -> Project -> ASP.NET Web Application)
Have you tried the latest version (1.5)?
The release notes include some changes related to proxy authentication:
Support for Proxies that require authentication
When using NuGet behind a proxy that requires authentication, NuGet will now prompt for proxy credentials. Entering credentials allows NuGet to connect to the remote repository.
I realize I'm a little late to the party but I've just spent a frustrating couple of hours with the same problem.
I found that switching the Application Pool from "Classic" to "Integrated" fixed the problem