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

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

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

Status: New
Tags: Priority:Medium, Type:Defect

File attachments:

 * revewboard.JPG
   



--
reveiw board not accepting gitlab repo without ssl i.e:it is only supporting 
https not http
==

# What version are you running?
review board 2.5.13.1 , gitlab version 8.5.4
# What's the URL of the page containing the problem?
reviewboardurl/admin/db/scmtools/repository/add/ 


# What steps will reproduce the problem?
1. at admin panel "add repository"
2. hosting service "GITLAB"
3. url http://gitlaburl
4. save -> gives error 502


# What is the expected output? What do you see instead?
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.


# What operating system are you using? What browser?
ubuntu 16.04 LTS

# Please provide any additional information below.
i am not using ssl certificate there what i feel is its not accepting http and 
only accepting https


--

-- 
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: RB 2.0.17 - Interdiff fails to highlight deleted code

2017-07-13 Thread Sebastian Unger
We've just come across this (or something very similar) in 2.5.13.1.


   - Is this expected (i.e. you know the bug is still there) or something 
   new (i.e. you fixed the bug and this is something else)?
   - Is there a bug tracker issue somewhere that I can subscribe to to get 
   updates regarding this?
   - Are the circumstances under which this happens known so I can inform 
   my users what to look out for?
   - Is there any additional testing or debugging I can help with to get 
   this resolved?

Cheers,
Seb



On Wednesday, 12 July 2017 05:46:52 UTC+12, Will Jacobs wrote:
>
> Awesome, thanks again!
>
> On Tuesday, July 11, 2017 at 11:31:07 AM UTC-5, Christian Hammond wrote:
>>
>> Hey Will,
>>
>> It's a bug in 2.5.x and later 2.0.x releases. It wasn't present in 1.6.x 
>> or 1.7.x.
>>
>> Christian
>>
>> On Tue, Jul 11, 2017 at 9:10 AM, Will Jacobs  wrote:
>>
>>> Hey Christian - 
>>>
>>> Thanks as usual for the response! Just a quick question - how long has 
>>> this bug been around? I recently upgraded from 1.6.14 to 2.5.12, and am 
>>> seeing this as well, but I'm trying to understand if it was also a bug in 
>>> 1.6.14 which we never noticed or never exhibited.
>>>
>>> Thanks,
>>> -Will
>>>
>>> On Thursday, July 6, 2017 at 6:14:07 AM UTC-5, Christian Hammond wrote:

 Thanks, Peter. There's still bugs here, and I've spent a lot of time 
 reworking the algorithms to fix these. I'm not ready to ship any of that 
 code yet, though. Needs further tweaking and testing. Having test cases 
 like these really help with that, and I'll add the files to my regression 
 tests.

 Christian

 On Wed, Jul 5, 2017 at 9:20 AM, Peter Hodgson  
 wrote:

> Hi Chris,
>
> I've now replicated this with a very simple example.
>
> The original file is attached as LICENSE.
>
> I added a char and committed the change reflected in rb40.patch and 
> created the review request (that file is created via the download patch 
> link)
>
> I then committed a change removing the line starting with the word 
> LIABILITY and updated the review request, the full diff of which is the 
> file rb40_v2.patch (again created via the download patch link).
>
> To define the issue again:
> orig - v2 Shows the correct diff, showing both the char addition and 
> line removal
> orig - v1 Shows the correct diff, showing just the line change
> v1 - v2Is nonsense, the diff claims "This file contains only 
> whitespace changes" and shows the last 5 lines of the rev1 file vs the 
> last 
> four of the rev2 file. It does not highlight the missing lines.
>
> I understand this is an old thread, if I don't hear back in a couple 
> of days I'll raise it afresh.
>
> Many thanks,
> Peter
>
>
> On Wednesday, 5 July 2017 16:35:28 UTC+1, Peter Hodgson wrote:
>>
>> Hi Chris,
>>
>> I just came across this same bug in 2.5.12 exactly as described by 
>> Paul so I'm presuming it wasn't fixed.
>>
>> What files do you need to debug this? I'll see if I can reproduce 
>> this without distributing our actual codebase.
>>
>> Thanks,
>> Peter
>>
>> On Tuesday, 30 June 2015 22:37:02 UTC+1, Christian Hammond wrote:
>>>
>>> Hi Paul, 
>>>
>>> We recently fixed a bug like this, but perhaps there's another issue 
>>> somewhere. 
>>>
>>> In order to diagnose this, I'll need to have original copies of the 
>>> affected files, as well as both diffs. I won't be able to diagnose 
>>> without 
>>> those, unfortunately. 
>>>
>>> Christian  
>>>
>>> --   
>>> Christian Hammond - chri...@beanbaginc.com   
>>> Review Board - https://www.reviewboard.org   
>>> Beanbag, Inc. - https://www.beanbaginc.com 
>>>
>>> -Original Message- 
>>> From: Paul Fee  
>>> Reply: revie...@googlegroups.com > 
>>> Date: June 30, 2015 at 4:02:10 AM 
>>> To: revie...@googlegroups.com > 
>>> Subject:  RB 2.0.17 - Interdiff fails to highlight deleted code 
>>>
>>> > Hi all, 
>>> >   
>>> > I'm using ReviewBoard 2.0.17 and see unexpected behaviour in the 
>>> diff 
>>> > viewer. 
>>> >   
>>> > Steps to reproduce: 
>>> >   
>>> > 1. Change a few files (I'm using SVN) 
>>> > 2. rbt post   
>>> > 3. Publish review 
>>> > 4. Delete a group of lines from one of the files already changed. 
>>> > 5. rbt post -r   
>>> > 6. Publish review 
>>> > 7. Review entire diff: http://reviewboard/r/9581/diff/2/ - 
>>> Result: PASS 
>>> > 8. Review first interdiff: http://reviewboard/r/9581/diff/1/ - 
>>> Result: PASS 
>>> > 9. Review second interdiff: http://reviewboard/r/9581/diff/1-2/ - 
>>> Result: 

Re: getting error on rbt land with revision number on windows

2017-07-13 Thread Christian Hammond
Hi Chann,

It's actually trying to run 'rbt patch', and failing to find 'rbt'. It's
possible it explicitly wants 'rbt.exe'. This code path may need some
tweaking (in fact, it's bypassing our main "execute a program"
functionality, so it definitely needs some tweaking there).

We can look into it for the next release (my plate's too full to poke at it
this week), but that doesn't help you right now, so... how comfortable do
you feel with Python? I could guide you toward some things to try.

Christian

On Tue, Jul 11, 2017 at 1:51 PM, Chann An  wrote:

> I tried patch.exe from gnu and cygwin.  Both gave me me the same error.
> And "rbt patch"  works so I don't think it's an issue with patch.exe.
> Maybe something funky with ' errread, errwrite' for windows?
>
> On Tuesday, July 11, 2017 at 1:24:11 PM UTC-7, David Trowbridge wrote:
>>
>> It looks like you don't have gnu patch installed. rbt land is a
>> relatively new command and apparently we don't have good error handling for
>> this case yet.
>>
>> -David
>>
>> On Tue, Jul 11, 2017 at 10:58 AM Chann An  wrote:
>>
>>> I'm getting an error every time I do a 'rbt land -r ' on windows 7
>>> and windows 2012r2 in git bash.  Same command runs perfectly on mac.  The
>>> error says I'm missing the patch command but it's there in my path.  rbt
>>> patch works also with no problems.  It's just when i do a land with a
>>> revision number.  Any help would be greatly appreciated.
>>>
>>> rbt land -d -r 1037450
>>>
>>> >>> RBTools 0.7.10
>>>
>>> >>> Python 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:42:59) [MSC
>>> v.1500 32 bit (Intel)]
>>>
>>> >>> Running on Windows-2012ServerR2-6.3.9600
>>>
>>> >>> Home = C:\Users\can
>>>
>>> >>> Current directory = C:\repository\test
>>>
>>> >>> Command line: rbt land -d -r 1037450
>>>
>>> >>> Running: tf vc help
>>>
>>> >>> Checking for a Subversion repository...
>>>
>>> >>> Unable to execute "svn help": skipping SVN
>>>
>>> >>> Checking for a Git repository...
>>>
>>> >>> Running: git rev-parse --git-dir
>>>
>>> >>> Running: git config core.bare
>>>
>>> >>> Running: git rev-parse --show-toplevel
>>>
>>> >>> Running: git symbolic-ref -q HEAD
>>>
>>> >>> Running: git config --get branch.env_stage.merge
>>>
>>> >>> Running: git config --get branch.env_stage.remote
>>>
>>> >>> Running: git config --get remote.origin.url
>>>
>>> >>> repository info: Path: xxx, Base path: , Supports changesets: False
>>>
>>> >>> Making HTTP GET request to https://rb.corp.linkedin.com/api/
>>>
>>> >>> Running: git status --porcelain --untracked-files=no
>>> --ignore-submodules=dirty
>>>
>>> >>> Making HTTP GET request to https://xxx/api/review-requests/1037450/
>>>
>>> >>> Cached response for HTTP GET https://xxx/api/review-request
>>> s/1037450/ expired and was not modified
>>>
>>> Applying patch from review request 1037450
>>>
>>> Traceback (most recent call last):
>>>
>>>   File "C:/Program Files 
>>> (x86)/RBTools/bin/../Python27/Scripts/rbt-script.py",
>>> line 11, in 
>>>
>>> load_entry_point('RBTools==0.7.10', 'console_scripts', 'rbt')()
>>>
>>>   File "C:\Program Files (x86)\RBTools\Python27\lib\sit
>>> e-packages\rbtools-0.7.10-py2.7.egg\rbtools\commands\main.py", line
>>> 133, in main
>>>
>>> command.run_from_argv([RB_MAIN, command_name] + args)
>>>
>>>   File "C:\Program Files (x86)\RBTools\Python27\lib\sit
>>> e-packages\rbtools-0.7.10-py2.7.egg\rbtools\commands\__init__.py", line
>>> 663, in run_from_argv
>>>
>>> exit_code = self.main(*args) or 0
>>>
>>>   File "C:\Program Files (x86)\RBTools\Python27\lib\sit
>>> e-packages\rbtools-0.7.10-py2.7.egg\rbtools\commands\land.py", line
>>> 261, in main
>>>
>>> self.patch(request_id)
>>>
>>>   File "C:\Program Files (x86)\RBTools\Python27\lib\sit
>>> e-packages\rbtools-0.7.10-py2.7.egg\rbtools\commands\land.py", line
>>> 130, in patch
>>>
>>> p = subprocess.Popen(patch_command)
>>>
>>>   File "C:\Program Files (x86)\RBTools\Python27\lib\subprocess.py",
>>> line 390, in __init__
>>>
>>> errread, errwrite)
>>>
>>>   File "C:\Program Files (x86)\RBTools\Python27\lib\subprocess.py",
>>> line 640, in _execute_child
>>>
>>> startupinfo)
>>>
>>> WindowsError: [Error 2] The system cannot find the file specified
>>>
>>> --
>>> 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.
>>>
>> --
> 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/

Re: gitlab integration fails

2017-07-13 Thread Christian Hammond
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+unsubscr...@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? 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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Review Board with Mercurial - The file "/filename.py" was not found in the repository.

2017-07-13 Thread tim . halvorsen
I am evaluating ReviewBoard and considering it for purchase.  To do so, I 
ran a brand-new instance of the Demo Virtual Machine (running ReviewBoard 
2.5.10) posted 
at https://bitnami.com/stack/reviewboard-plus-powerpack/virtual-machine. 
 The only thing I did after starting up this VM is to install Mercurial 
(apt-get install mercurial) and add a locally-stored clone of the 
repository there and add the repository via the Admin page.

When I attempt to create a Review Request, and specify one of the 
changesets that appears on the web page (under "Create from an existing 
commit on: default"), the resulting Review Request does not have anything 
auto-filled into the description from the changeset.

I found the following in the reviewboard.log file:

2017-07-13 12:29:32,300 - ERROR -  - Unable to update new review request 
from commit ID 7e3d96823f78e36f65d49ff9243d91cedc4ec8f8: The file '/foo.py' 
(r7b4e8afe08b4) could not be found in the repository: 
7b4e8afe08b4886a21cb637ff2be6629bc82a4c7
Traceback (most recent call last):
  File 
"/opt/bitnami/apps/reviewboardpowerpack/htdocs/reviewboard/reviews/managers.py",
 
line 157, in create
draft.update_from_commit_id(commit_id)
  File 
"/opt/bitnami/apps/reviewboardpowerpack/htdocs/reviewboard/reviews/models/review_request_draft.py",
 
line 278, in update_from_commit_id
self.update_from_committed_change(commit_id)
  File 
"/opt/bitnami/apps/reviewboardpowerpack/htdocs/reviewboard/reviews/models/review_request_draft.py",
 
line 352, in update_from_committed_change
base_commit_id=commit.parent)
  File 
"/opt/bitnami/apps/reviewboardpowerpack/htdocs/reviewboard/diffviewer/managers.py",
 
line 457, in create_from_data
check_existence=(not parent_diff_file_contents)))
  File 
"/opt/bitnami/apps/reviewboardpowerpack/htdocs/reviewboard/diffviewer/managers.py",
 
line 604, in _process_files
base_commit_id)
FileNotFoundError: The file '/foo.py' (r7b4e8afe08b4) could not be found in 
the repository: 7b4e8afe08b4886a21cb637ff2be6629bc82a4c7

I debugged it, and found that repository.get_file_exists returns False, due 
to a failure in the construction of the mercurial command line. 
 Specifically, diffviewer/managers.py at line 630 takes the file name 
listed in the changeset (e.g. 'foo.py'), and calls self._normalize_filename 
with a 'basedir' value of '/' (a hard-coded value set by an earlier routine 
on the call stack), resulting in the filename '/foo.py'.

This results in the command being invoked as: hg cat --rev  /foo.py

If you type this command manually at a prompt, Mercurial (correctly) 
returns the message "abort: /foo.py not under root ".

This error message is correct because there should NOT be a leading slash 
at the front of a file name (at least not when using Mercurial).

This ReviewBoard bug renders support in a local Mercurial repository to be 
non-functional.

Has this problem been fixed in a later version?  If so, can the 
demonstration Virtual Machine be updated to the later version that contains 
this fix?

If not yet fixed, can this problem be fixed, so that I might consider 
buying this product?

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


gitlab integration fails

2017-07-13 Thread paramjeet . singh
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.