Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 2402 by des.siam...@gmail.com: RBTools 0.3.4 breaks HTTP authentication on Review Board 1.0
http://code.google.com/p/reviewboard/issues/detail?id=2402

What version are you running?
RBTools 0.3.4 against Review Board 1.0.5.1 with HTTP authentication on the underlying server

What steps will reproduce the problem?
1. Try to post a new review using the post-review script
2. Enter my HTTP-authentication password
3. Note that authentication fails with the message "Unable to log in with the supplied username and password."

What is the expected output? What do you see instead?
I expect the review to be successfully posted. RBTools 0.3.4 fails, but RBTools 0.3.2 works fine. I have not tested 0.3.3 (MacPorts skipped that version).

With --debug, I see the following for 0.3.4:
----------
RBTools 0.3.4
Home = /Users/des
svn info svn://svn.obfuscated.com/foo/trunk
diff --version
repository info: Path: svn://svn.obfuscated.com/foo/, Base path: /trunk, Supports changesets: False
HTTP GETting api/
==> HTTP Authentication Required
Enter authorization information for "Web API" at review.obfuscated.com
Password:
Got HTTP error: 404: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
...
Unable to log in with the supplied username and password.
----------

And here is --debug from 0.3.2 (which posts reviews just fine):

----------
RBTools 0.3.2
Home = /Users/des
svn info svn://svn.obfuscated.com/foo/trunk
diff --version
repository info: Path: svn://svn.obfuscated.com/foo, Base path: /trunk, Supports changesets: False
HTTP GETting api/
==> HTTP Authentication Required
Enter authorization information for "Web API" at review.obfuscated.com
Password:
Got HTTP error: 404: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
...
Using the deprecated Review Board 1.0 web API
==> Review Board Login Required
Enter username and password for Review Board at https://review.obfuscated.com/
Password:
Logging in with username "me"
HTTP POSTing to https://review.obfuscated.com/api/json/accounts/login/: {'username': 'me', 'password': '**************'}
Logged in.
HTTP GETting api/json/reviewrequests/43543/
...
[Lots more HTTP requests, elided for brevity.]
...
Review request #43543 posted.

https://review.lab.nbttech.com/r/43543/
----------

What operating system are you using? What browser?
Mac OSX 10.7 with RBTools installed via MacPorts (Python 2.7)

Please provide any additional information below.
I understand that Review Board 1.0 is deprecated, but I did not see anything in the RBTools release notes to indicate that support has been dropped yet. (Unfortunately I do not have the ability to upgrade my company's Review Board server.) Should this still work?

Thanks!

--
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To post to this group, send email to reviewboard-issues@googlegroups.com.
To unsubscribe from this group, send email to 
reviewboard-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en.

Reply via email to