rombert / ereviewboard

A mylyn-based Eclipse integration for Review Board
46 stars 31 forks source link

Authentication failed, please check your username and password #156

Open aaabidunique opened 7 years ago

aaabidunique commented 7 years ago

Whenever you create a task repository in eclipse for reviewboard and provide user credential it works fine for the first time, but after restarting eclipse if you click update repository configuration in task repository it gives "Updating repository conguration failed : Authentication failed, please check your username and password" error. Further, if you go to properties of the repository and try to validate again providing your credential it gives the same error, but if you remove the repository and re-add again it works fine till you restart eclipse again.

rombert commented 7 years ago

What versions of Eclipse and Mylyn are you using?

aaabidunique commented 7 years ago

I am using Eclipse Neon.2 Release (4.6.2) and for Mylyn see screenshot. screenshot from 2017-03-29 09-55-46

rombert commented 7 years ago

Hm, that's strange. When you open the task repository dialog, where you enter your username and password, are they still filled in?

If they are, it would be interesting to find out if the same values are sent before and after the restart. You can capture them using wireshark or maybe mitmproxy.

gyurma5th commented 6 years ago

I also encountered it. Albeit a bit differently. My password was changed on the server and I wanted to change it in eclipse too.

I investigated it some month ago. As I recall the old password is getting used in mylyn deeps unnecessarily verifying the server causing an AuthFailed exception.