I'm trying to set up RB and thus far everything seems to work, 
except when I try to create a review request from an existing git commit on 
a repo hosted via GitLab. RB seems to have no trouble accessing the repo 
for the most part, all of the commits to the repo show up in RB. Creating a 
new review request by clicking on one of the commits results in a review 
request without any diff and the following is emitted to the log:

2015-12-01 19:57:48,168 - ERROR -  - Unable to update new review request 
from commit ID 73fa5...8132: HTTP Error 401: Unauthorized
Traceback (most recent call last):
line 150, in create
line 220, in update_from_commit_id
line 264, in update_from_committed_change
    commit = self.repository.get_change(commit_id)
line 450, in get_change
    return hosting_service.get_change(self, revision)
line 317, in get_change
    headers={'Accept': 'text/plain'})
line 55, in http_get
    return self.http_request(url, method='GET', **kwargs)
line 79, in http_request
    u = urlopen(r)
  File "/usr/lib64/python2.6/urllib2.py", line 126, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib64/python2.6/urllib2.py", line 397, in open
    response = meth(req, response)
  File "/usr/lib64/python2.6/urllib2.py", line 510, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib64/python2.6/urllib2.py", line 435, in error
    return self._call_chain(*args)
  File "/usr/lib64/python2.6/urllib2.py", line 369, in _call_chain
    result = func(*args)
  File "/usr/lib64/python2.6/urllib2.py", line 518, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 401: Unauthorized

Commit ID 73fa5...8132 does in fact exist and is viewable in the GitLab web 
interface. Also, uploading a diff works just fine.

Supercharge your Review Board with Power Pack: 
Want us to host Review Board for you? Check out RBCommons: 
Happy user? Let us know! https://www.reviewboard.org/users/
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to