Unexpected character "60" - Error trying to login to RTC java api

Accepted answer

Based on the last comment from Robert:
The URL and all other information is okay, by browser access normally. This java code, using the API, was working normally and suddenly came to give error when calling the login method. The RQM version is 6.0.2
Comments

So just to confirm I understand this, Robert is trying to use the RTC (EWM) plain java API to login to an RQM (ETM) repository, and this is no longer working. Similarly, if you tried this to login to a DNG repository, we don't expect that to work.

According to his comment, that is correct. I have heard about the RTC API not working any more for all JAZZ Foundation based products. I did not try to use a uri for QM - I can.

Well, the login still works for my 6.0.6 QM (and CCM). I have however heared that there are issues using the RTC Plain Java API against other products. And this could also be related to use Jazz Authorization Server and other security/authentication options. That it works on my vanilla demo setup does not mean it will always work.
One other answer

Tons of examples and how to can be found here: https://rsjazz.wordpress.com/2013/03/20/understanding-and-using-the-rtc-java-client-api/
Comments
Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Aug 16 '18, 4:07 p.m.See How should I ask a question in the Forum if I want to receive useful answers? there is 0 line information in your snippet.
SUSHEN SARKAR
Sep 13 '18, 2:28 p.m.Did you find any resolution to the problem. I am facing same issue and not finding resolution.
Herbert Roberto
Sep 07 '18, 2:44 p.m.Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Sep 10 '18, 4:09 a.m.There is no information in the question that would be of any help. It is unclear what line 3 is and it is unclear what changed. One guess would be the URL provided is wrong. Copy the URL into a browser and open it there.
SUSHEN SARKAR
Sep 10 '18, 11:19 a.m.Nope url is fine. When I tried the same URL from a REST client it works fine with me. for me the error is "Unable to login: Unexpected character "60": line 1, column 1". I am trying to use the code snippet 1 file shared along with java api. Not sure what I am missing but this whole login process is very painful with lack of clarity in documentation. .
Herbert Roberto
Sep 10 '18, 8:01 p.m.The URL and all other information is okay, by browser access normally. This java code, using the API, was working normally and suddenly came to give error when calling the login method. The RQM version is 6.0.2