rombert / ereviewboard

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

Reviewboard Repository Settings: The server has responded with an invalid JSon object. #47

Closed jaakash2004 closed 13 years ago

jaakash2004 commented 13 years ago

I added ereviewboard plugin to my Eclipse workspace. Installation went fine. However, While adding Task Repository, I added server details. When we click "Validate Settings" command button, It tries to connect to the server and gives the following error: "The server has responded with an invalid JSon object : A JSONObject text must begin with '{' at character 1" "Next" button is never enabled.

I can login to my reviewboard account using my credentials from a web browser.

Please let me know, is this a bug or I am making some mistake in configuration. Is there any workaround for this problem?

Thanks Aakash

jaakash2004 commented 13 years ago

I am using 0.8.0 version of ereviewboard.

rombert commented 13 years ago

Hi,

jaakash2004 commented 13 years ago

Hi Rombert,

We are using ReviewBoard version 1.5 beta 2 (dev) My eclipse version is 3.6.2 I do not have access our Web server.

Thanks Aakash

rombert commented 13 years ago

Hi,

I suggest that you upgrade to the latest stable 1.5 RB version - 1.5.5 at the moment ( http://www.reviewboard.org/docs/releasenotes/dev/reviewboard/1.5.5/ ) . The release notes for the 'final' 1.5 release mention that the new web api is implemented ( http://www.reviewboard.org/docs/releasenotes/dev/reviewboard/1.5/#api-changes ) , which means that this connector will not work for 1.5 Beta 2.

Robert

jaakash2004 commented 13 years ago

Changing the ReveiwBoard version would be out of my control for now. Anyway, I tried to enter public reviewboard server (which is running 1.6 beta 2 version), my username and password on the connector. With that connector is always giving authentication failure error. I am using the same username and password which I use on the website. Parameters are: Server: http://demo.reviewboard.org/ Username : jaakash2004 password:

What can be the problem in this case?

Appreciate your help.

Thanks Aakash

rombert commented 13 years ago

Not really sure what the problem might be. I use http://reviews.review-board.org , you might want want to try that instance.

jaakash2004 commented 13 years ago

Thanks Rombert, It works with that. But I still can't work with our reviewboard server as we are using 1.5 beta 2 version. I will try to upgrade it to the latest version. Any ways, Thanks for all your help.

Aakash

ramsrib commented 11 years ago

Hey, It's again occurring in the stable version of ReviewBoard 1.6.3.

I'm able to login (validate), but i can't create review request or task. When I run "update repository configuration", it throws "The server has responded with an invalid JSon object : A JSONObject text must begin with '{' at character 2 ....."

Check this attached screenshot : Screenshot from 2013-04-03 21:34:05

rombert commented 11 years ago

Looks like your server has returned a HTML response. Either you've set an incorrect URL in the task repository dialog, or the server has errored out. Check your reviewboard / web server logs for more information.