there is no proxy on the network neither on gitlab server. tried the 
integration with gitlab.com also it also fails.
review board 2.5.13.1 , gitlab version 8.5.4

On Friday, July 14, 2017 at 4:11:35 AM UTC+5:30, Christian Hammond wrote:
>
> Hi,
>
> Are you using a HTTP Proxy for outbound HTTP requests in your network?
>
> Something either in-between Review Board and GitLab, or on the GitLab 
> server itself, is returning a HTTP 502 Bad Gateway when attempting to 
> communicate. It could be a HTTP Proxy that's unintentionally being used, or 
> it could be something on the GitLab server (you'd have to dig into access 
> logs on the GitLab server to see).
>
> Christian
>
> On Thu, Jul 13, 2017 at 6:23 AM, <[email protected] <javascript:>> 
> wrote:
>
>> hi,
>> i am getting this error while try to at selfhosted gitlab repo to review 
>> board.
>>
>>
>> <https://lh3.googleusercontent.com/-xta5Hm9c0Ws/WWdzYfNoSWI/AAAAAAAAAAM/eaxaltvV51E9jm_CL8Iv7xPHR4uQx2fyACLcBGAs/s1600/revewboard.JPG>
>>
>>
>> error logs :
>>
>> HostingServiceError: Unexpected HTTP error 502.
>>
>> 2017-07-13 13:14:26,852 - ERROR -  - root - Unexpected HTTP error when 
>> linking GitLab account for gauravs: HTTP Error 502: Bad Gateway
>>
>> Traceback (most recent call last):
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/gitlab.py", 
>> line 245, in authorize
>>
>>     'password': password,
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/service.py", 
>> line 383, in json_post
>>
>>     return self._do_json_method(self.http_post, *args, **kwargs)
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/service.py", 
>> line 412, in _do_json_method
>>
>>     data, headers = method(*args, **kwargs)
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/service.py", 
>> line 245, in http_post
>>
>>     method='POST', **kwargs)
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/service.py", 
>> line 293, in http_request
>>
>>     response = urlopen(request)
>>
>>   File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
>>
>>     return opener.open(url, data, timeout)
>>
>>   File "/usr/lib/python2.7/urllib2.py", line 435, in open
>>
>>     response = meth(req, response)
>>
>>   File "/usr/lib/python2.7/urllib2.py", line 548, in http_response
>>
>>     'http', request, response, code, msg, hdrs)
>>
>>   File "/usr/lib/python2.7/urllib2.py", line 473, in error
>>
>>     return self._call_chain(*args)
>>
>>   File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
>>
>>     result = func(*args)
>>
>>   File "/usr/lib/python2.7/urllib2.py", line 556, in http_error_default
>>
>>     raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
>>
>> HTTPError: HTTP Error 502: Bad Gateway
>>
>> 2017-07-13 13:14:26,856 - ERROR -  - root - Unknown error linking hosting 
>> account ID=None for hosting service='gitlab', username=u'gauravs', 
>> LocalSite=None
>>
>> Traceback (most recent call last):
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/forms.py", 
>> line 348, in save
>>
>>     **extra_authorize_kwargs)
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/gitlab.py", 
>> line 261, in authorize
>>
>>     % e.code)
>>
>> HostingServiceError: Unexpected HTTP error 502.
>>
>> 2017-07-13 13:14:26,857 - ERROR -  - root - Unexpected error when linking 
>> hosting service account on gitlab: Unexpected HTTP error 502.
>>
>> Traceback (most recent call last):
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/reviewboard/scmtools/forms.py", 
>> line 669, in _clean_hosting_info
>>
>>     force_authorize=force_authorize)
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/forms.py", 
>> line 348, in save
>>
>>     **extra_authorize_kwargs)
>>
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/gitlab.py", 
>> line 261, in authorize
>>
>>     % e.code)
>>
>> HostingServiceError: Unexpected HTTP error 502.
>>
>> i dont run gitlab on ssl thats why its http. any leads how can i fix it?
>>
>> -- 
>> Supercharge your Review Board with Power Pack: 
>> https://www.reviewboard.org/powerpack/
>> Want us to host Review Board for you? Check out RBCommons: 
>> https://rbcommons.com/
>> 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 [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Christian Hammond
> President/CEO of Beanbag <https://www.beanbaginc.com/>
> Makers of Review Board <https://www.reviewboard.org/>
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to