Re: gitlab integration fails

2017-07-17 Thread paramjeet . singh
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,  
> wrote:
>
>> hi,
>> i am getting this error while try to at selfhosted gitlab repo to review 
>> board.
>>
>>
>> 
>>
>>
>> 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 reviewboard...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Christian Hammond
> President/CEO of Beanbag 
> Makers of Review Board 
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? 

Re: Review Board Ticket #4565: reveiw board not accepting gitlab repo without ssl i.e:it is only supporting https not http

2017-07-17 Thread Paramjeet Singh
--
To reply, visit https://hellosplat.com/s/beanbag/tickets/4565/
--

New update by paramjeet.singh
For Beanbag, Inc. > Review Board > Ticket #4565


Reply:

hi,
tried the same on gitlab.com but got the same issue no progress so far? is 
this version of reviewboard tested with gitlab?
review board 2.5.13.1 , gitlab version 8.5.4

-- 
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at https://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.


Re: gitlab integration fails

2017-07-17 Thread paramjeet . singh
hi christian,

thank you so much for you reply. i have checked and we are not using any 
proxy and this problem is occurring even on gitlab.com also. 

i am not able to add repository hosted on gitlab.com and getting same error 
for this.

i am using reviewboard 2.5.13.1 on ubuntu 16.04. any other leads i am not 
able to find whats going wrong here? 

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,  
> wrote:
>
>> hi,
>> i am getting this error while try to at selfhosted gitlab repo to review 
>> board.
>>
>>
>> 
>>
>>
>> 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 reviewboard...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Christian Hammond
> President/CEO of Beanbag