It's all about the answers!

Ask a question

Invalid username or password with plain java client API

Jérémy Friant (10711) | asked Nov 04 '14, 9:20 a.m.

I developed an application in which I need to connect to the RTC. I tested the connection with a server install in localhost, no problem, I can connect me and see my project Areas. 

Now I try to connect to the real server (not local) and I get the following error (AuthenticationException) CRJAZ20124I Ivalid username or password. 

The error comes from (TeamRepository.class) : 

internalLogin (new SubProgressMonitor (monitor, IprogressMonitor.UNKNOWN)); 
monitor.worked (1); 

In my code I get well IteamRepository element from the repository URI (so there is an interaction with the server). 

The code to authenticate me was recovered on the page 

If you can help me 



One answer

permanent link
sam detweiler (12.5k6194201) | answered Nov 04 '14, 9:58 a.m.
edited Nov 04 '14, 1:12 p.m.
what userid and password do you use to connect to the production server?

the only time any of my plain java api code gets that error, I made a mistake with the userid or password

the accepted answer here has a utility of mine that dumps the contents of workitems returned for a saved query

Your answer

Register or to post your answer.