Re: gitlab integration fails

2017-07-19 Thread Paramjeet Singh
sure will try in a while and will get back to you very soon on this.


regards
paramjeet singh

On Wed, Jul 19, 2017 at 2:45 PM, Christian Hammond  wrote:

> Okay. That's bizarre and not common. Knowing the earliest version of
> Review Board that fails would help a lot. I'd be curious to find out
> whether both 2.5.10 and 2.5.11 work or both fail for you.
>
> Christian
>
> On Wed, Jul 19, 2017 at 2:12 AM, Paramjeet Singh  > wrote:
>
>> Name: cryptography
>> Version: 1.9
>> Location: /usr/local/lib/python2.7/dist-package.
>>
>> and another thing is that the same has been tried on bitnami amazon ec2
>> trial image for reviewboard 2.5.13.1 and even i tried to install using
>> bitnami's installer on my server but it didn't worked for me.
>>
>>
>>
>> regards
>> paramjeet singh
>>
>> On Wed, Jul 19, 2017 at 2:33 PM, Christian Hammond <
>> christ...@beanbaginc.com> wrote:
>>
>>> PyCrypto is different from cryptography. I'd be interested in knowing
>>> what version of that might be on the system running 2.5.13.1. This is the
>>> only newer factor I can think of that could interfere on our end with any
>>> SSL-related communications.
>>>
>>> Christian
>>>
>>> On Wed, Jul 19, 2017 at 1:56 AM, Paramjeet Singh <
>>> paramjeet.si...@abspl.in> wrote:
>>>
 hi,

 yes python crypto(pycrypto) 2.6.1 is installed.

  this configuration for reviewboard 2.5.13.1 is tried on ubuntu 16.04
 LTS and Red Hat Enterprise Linux 7.2 did't worked on any of them.


 regards
 paramjeet singh

 On Wed, Jul 19, 2017 at 2:17 PM, Christian Hammond <
 christ...@beanbaginc.com> wrote:

> Can you see what version of the Python cryptography module is
> installed?
>
> Christian
>
> On Wed, Jul 19, 2017 at 1:46 AM, Paramjeet Singh <
> paramjeet.si...@abspl.in> wrote:
>
>> yes i have installed 2.5.0 and it worked fine very comfortably. will
>> try other versions and will see when it breaks and post it here soon.
>>
>> and yes password has been changed.
>>
>>
>> regards
>> paramjeet singh
>>
>>
>>
>> On Tue, Jul 18, 2017 at 8:31 PM, Christian Hammond <
>> christ...@beanbaginc.com> wrote:
>>
>>> Okay, looks like that worked.
>>>
>>> Did you install 2.5.0, then? It'd be helpful to try upgrading a few
>>> versions at a time, figure out when it breaks.
>>>
>>> Also, the details you posted include confidential information on
>>> your account. Only the last line should have been provided here. You'll
>>> want to reset your password and any tokens on GitLab.
>>>
>>> Christian
>>>
>>>
>>> On Tue, Jul 18, 2017 at 00:30  wrote:
>>>
 hi christian,

 first of all sorry for mixing up things on two places i am just a
 beginner. will keep discussion here only from now onwards.

 however installing revieboard 2.5 instead of 2.5.13.1 did it for me
 with the same configuration and its working smoothly fir now on 
 version 2.5.

 reviewboard is installed on ubuntu 16.04 LTS


 by executing the mentioned command i got this output :

 {"name":"Pxxt Singh","username":"xxx
 xxx","id":43,"state":"active","avatar_url":null,"web_url":"h
 ttp://xx.net/u/","created_at":"2016-12-0
 9T09:20:02.303Z","is_admin":false,"bio":"","skype":"","linke
 din":"","twitter":"","website_url":"","email":"paramjeet.sin
 g...@abspl.in","theme_id":2,"color_scheme_id":1,"projects_limi
 t":20,"current_sign_in_at":"2017-07-18T04:56:49.273Z","ident
 ities":[],"can_create_group":true,"can_create_project":true,
 "two_factor_enabled":false,"private_token":"2Mjz_Tg-CDGNWocxnmc5"}
 201

 regards
 On Tuesday, July 18, 2017 at 12:35:13 PM UTC+5:30, Christian
 Hammond wrote:

> What Linux distribution is Review Board installed on?
>
> 2.5.13.1 is definitely compatible with GitLab, and it's not a bug
> in Review Board. There is something impacting the communication 
> between the
> servers. As for what that is, I'm not sure yet.
>
> From the terminal on your Linux server hosting Review Board, try
> running:
>
> python -c "import urllib; res = urllib.urlopen('https://YOUR_G
> ITLAB/api/v3/session/', 
> 'login=YOUR_GITLAB_USERNAME&password=YOUR_GITLAB_PASSWORD');
> print res.read(); print res.code"
>
> See what that says. I'm mostly interested in the very last line.
>
> Also let's keep all discussion in one place, in this thread.
> Having half the discussion in the bug report makes it a bit more
> challenging. If it turns out there is a bug here (I'm not positive 
> about
> thi

Re: gitlab integration fails

2017-07-19 Thread Christian Hammond
Okay. That's bizarre and not common. Knowing the earliest version of Review
Board that fails would help a lot. I'd be curious to find out whether both
2.5.10 and 2.5.11 work or both fail for you.

Christian

On Wed, Jul 19, 2017 at 2:12 AM, Paramjeet Singh 
wrote:

> Name: cryptography
> Version: 1.9
> Location: /usr/local/lib/python2.7/dist-package.
>
> and another thing is that the same has been tried on bitnami amazon ec2
> trial image for reviewboard 2.5.13.1 and even i tried to install using
> bitnami's installer on my server but it didn't worked for me.
>
>
>
> regards
> paramjeet singh
>
> On Wed, Jul 19, 2017 at 2:33 PM, Christian Hammond <
> christ...@beanbaginc.com> wrote:
>
>> PyCrypto is different from cryptography. I'd be interested in knowing
>> what version of that might be on the system running 2.5.13.1. This is the
>> only newer factor I can think of that could interfere on our end with any
>> SSL-related communications.
>>
>> Christian
>>
>> On Wed, Jul 19, 2017 at 1:56 AM, Paramjeet Singh <
>> paramjeet.si...@abspl.in> wrote:
>>
>>> hi,
>>>
>>> yes python crypto(pycrypto) 2.6.1 is installed.
>>>
>>>  this configuration for reviewboard 2.5.13.1 is tried on ubuntu 16.04
>>> LTS and Red Hat Enterprise Linux 7.2 did't worked on any of them.
>>>
>>>
>>> regards
>>> paramjeet singh
>>>
>>> On Wed, Jul 19, 2017 at 2:17 PM, Christian Hammond <
>>> christ...@beanbaginc.com> wrote:
>>>
 Can you see what version of the Python cryptography module is installed?

 Christian

 On Wed, Jul 19, 2017 at 1:46 AM, Paramjeet Singh <
 paramjeet.si...@abspl.in> wrote:

> yes i have installed 2.5.0 and it worked fine very comfortably. will
> try other versions and will see when it breaks and post it here soon.
>
> and yes password has been changed.
>
>
> regards
> paramjeet singh
>
>
>
> On Tue, Jul 18, 2017 at 8:31 PM, Christian Hammond <
> christ...@beanbaginc.com> wrote:
>
>> Okay, looks like that worked.
>>
>> Did you install 2.5.0, then? It'd be helpful to try upgrading a few
>> versions at a time, figure out when it breaks.
>>
>> Also, the details you posted include confidential information on your
>> account. Only the last line should have been provided here. You'll want 
>> to
>> reset your password and any tokens on GitLab.
>>
>> Christian
>>
>>
>> On Tue, Jul 18, 2017 at 00:30  wrote:
>>
>>> hi christian,
>>>
>>> first of all sorry for mixing up things on two places i am just a
>>> beginner. will keep discussion here only from now onwards.
>>>
>>> however installing revieboard 2.5 instead of 2.5.13.1 did it for me
>>> with the same configuration and its working smoothly fir now on version 
>>> 2.5.
>>>
>>> reviewboard is installed on ubuntu 16.04 LTS
>>>
>>>
>>> by executing the mentioned command i got this output :
>>>
>>> {"name":"Pxxt Singh","username":"xxx
>>> xxx","id":43,"state":"active","avatar_url":null,"web_url":"h
>>> ttp://xx.net/u/","created_at":"2016-12-0
>>> 9T09:20:02.303Z","is_admin":false,"bio":"","skype":"","linke
>>> din":"","twitter":"","website_url":"","email":"paramjeet.sin
>>> g...@abspl.in","theme_id":2,"color_scheme_id":1,"projects_limi
>>> t":20,"current_sign_in_at":"2017-07-18T04:56:49.273Z","ident
>>> ities":[],"can_create_group":true,"can_create_project":true
>>> ,"two_factor_enabled":false,"private_token":"2Mjz_Tg-CDGNWocxnmc5"}
>>> 201
>>>
>>> regards
>>> On Tuesday, July 18, 2017 at 12:35:13 PM UTC+5:30, Christian Hammond
>>> wrote:
>>>
 What Linux distribution is Review Board installed on?

 2.5.13.1 is definitely compatible with GitLab, and it's not a bug
 in Review Board. There is something impacting the communication 
 between the
 servers. As for what that is, I'm not sure yet.

 From the terminal on your Linux server hosting Review Board, try
 running:

 python -c "import urllib; res = urllib.urlopen('https://YOUR_G
 ITLAB/api/v3/session/', 
 'login=YOUR_GITLAB_USERNAME&password=YOUR_GITLAB_PASSWORD');
 print res.read(); print res.code"

 See what that says. I'm mostly interested in the very last line.

 Also let's keep all discussion in one place, in this thread. Having
 half the discussion in the bug report makes it a bit more challenging. 
 If
 it turns out there is a bug here (I'm not positive about this yet -- 
 other
 people have definitely used 2.5.13.1 with GitLab), we can move it 
 there,
 but support is best done here.

 Christian

>>>
 On Mon, Jul 17, 2017 at 10:07 PM,  wrote:

> there is no proxy on the network

Re: gitlab integration fails

2017-07-19 Thread Paramjeet Singh
Name: cryptography
Version: 1.9
Location: /usr/local/lib/python2.7/dist-package.

and another thing is that the same has been tried on bitnami amazon ec2
trial image for reviewboard 2.5.13.1 and even i tried to install using
bitnami's installer on my server but it didn't worked for me.



regards
paramjeet singh

On Wed, Jul 19, 2017 at 2:33 PM, Christian Hammond  wrote:

> PyCrypto is different from cryptography. I'd be interested in knowing what
> version of that might be on the system running 2.5.13.1. This is the only
> newer factor I can think of that could interfere on our end with any
> SSL-related communications.
>
> Christian
>
> On Wed, Jul 19, 2017 at 1:56 AM, Paramjeet Singh  > wrote:
>
>> hi,
>>
>> yes python crypto(pycrypto) 2.6.1 is installed.
>>
>>  this configuration for reviewboard 2.5.13.1 is tried on ubuntu 16.04 LTS
>> and Red Hat Enterprise Linux 7.2 did't worked on any of them.
>>
>>
>> regards
>> paramjeet singh
>>
>> On Wed, Jul 19, 2017 at 2:17 PM, Christian Hammond <
>> christ...@beanbaginc.com> wrote:
>>
>>> Can you see what version of the Python cryptography module is installed?
>>>
>>> Christian
>>>
>>> On Wed, Jul 19, 2017 at 1:46 AM, Paramjeet Singh <
>>> paramjeet.si...@abspl.in> wrote:
>>>
 yes i have installed 2.5.0 and it worked fine very comfortably. will
 try other versions and will see when it breaks and post it here soon.

 and yes password has been changed.


 regards
 paramjeet singh



 On Tue, Jul 18, 2017 at 8:31 PM, Christian Hammond <
 christ...@beanbaginc.com> wrote:

> Okay, looks like that worked.
>
> Did you install 2.5.0, then? It'd be helpful to try upgrading a few
> versions at a time, figure out when it breaks.
>
> Also, the details you posted include confidential information on your
> account. Only the last line should have been provided here. You'll want to
> reset your password and any tokens on GitLab.
>
> Christian
>
>
> On Tue, Jul 18, 2017 at 00:30  wrote:
>
>> hi christian,
>>
>> first of all sorry for mixing up things on two places i am just a
>> beginner. will keep discussion here only from now onwards.
>>
>> however installing revieboard 2.5 instead of 2.5.13.1 did it for me
>> with the same configuration and its working smoothly fir now on version 
>> 2.5.
>>
>> reviewboard is installed on ubuntu 16.04 LTS
>>
>>
>> by executing the mentioned command i got this output :
>>
>> {"name":"Pxxt Singh","username":"xxx
>> xxx","id":43,"state":"active","avatar_url":null,"web_url":"h
>> ttp://xx.net/u/","created_at":"2016-12-0
>> 9T09:20:02.303Z","is_admin":false,"bio":"","skype":"","linke
>> din":"","twitter":"","website_url":"","email":"paramjeet.sin
>> g...@abspl.in","theme_id":2,"color_scheme_id":1,"projects_limi
>> t":20,"current_sign_in_at":"2017-07-18T04:56:49.273Z","ide
>> ntities":[],"can_create_group":true,"can_create_project":
>> true,"two_factor_enabled":false,"private_token":"2Mjz_Tg-
>> CDGNWocxnmc5"}
>> 201
>>
>> regards
>> On Tuesday, July 18, 2017 at 12:35:13 PM UTC+5:30, Christian Hammond
>> wrote:
>>
>>> What Linux distribution is Review Board installed on?
>>>
>>> 2.5.13.1 is definitely compatible with GitLab, and it's not a bug in
>>> Review Board. There is something impacting the communication between the
>>> servers. As for what that is, I'm not sure yet.
>>>
>>> From the terminal on your Linux server hosting Review Board, try
>>> running:
>>>
>>> python -c "import urllib; res = urllib.urlopen('https://YOUR_G
>>> ITLAB/api/v3/session/', 
>>> 'login=YOUR_GITLAB_USERNAME&password=YOUR_GITLAB_PASSWORD');
>>> print res.read(); print res.code"
>>>
>>> See what that says. I'm mostly interested in the very last line.
>>>
>>> Also let's keep all discussion in one place, in this thread. Having
>>> half the discussion in the bug report makes it a bit more challenging. 
>>> If
>>> it turns out there is a bug here (I'm not positive about this yet -- 
>>> other
>>> people have definitely used 2.5.13.1 with GitLab), we can move it there,
>>> but support is best done here.
>>>
>>> Christian
>>>
>>
>>> On Mon, Jul 17, 2017 at 10:07 PM,  wrote:
>>>
 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 its

Re: gitlab integration fails

2017-07-19 Thread Christian Hammond
PyCrypto is different from cryptography. I'd be interested in knowing what
version of that might be on the system running 2.5.13.1. This is the only
newer factor I can think of that could interfere on our end with any
SSL-related communications.

Christian

On Wed, Jul 19, 2017 at 1:56 AM, Paramjeet Singh 
wrote:

> hi,
>
> yes python crypto(pycrypto) 2.6.1 is installed.
>
>  this configuration for reviewboard 2.5.13.1 is tried on ubuntu 16.04 LTS
> and Red Hat Enterprise Linux 7.2 did't worked on any of them.
>
>
> regards
> paramjeet singh
>
> On Wed, Jul 19, 2017 at 2:17 PM, Christian Hammond <
> christ...@beanbaginc.com> wrote:
>
>> Can you see what version of the Python cryptography module is installed?
>>
>> Christian
>>
>> On Wed, Jul 19, 2017 at 1:46 AM, Paramjeet Singh <
>> paramjeet.si...@abspl.in> wrote:
>>
>>> yes i have installed 2.5.0 and it worked fine very comfortably. will try
>>> other versions and will see when it breaks and post it here soon.
>>>
>>> and yes password has been changed.
>>>
>>>
>>> regards
>>> paramjeet singh
>>>
>>>
>>>
>>> On Tue, Jul 18, 2017 at 8:31 PM, Christian Hammond <
>>> christ...@beanbaginc.com> wrote:
>>>
 Okay, looks like that worked.

 Did you install 2.5.0, then? It'd be helpful to try upgrading a few
 versions at a time, figure out when it breaks.

 Also, the details you posted include confidential information on your
 account. Only the last line should have been provided here. You'll want to
 reset your password and any tokens on GitLab.

 Christian


 On Tue, Jul 18, 2017 at 00:30  wrote:

> hi christian,
>
> first of all sorry for mixing up things on two places i am just a
> beginner. will keep discussion here only from now onwards.
>
> however installing revieboard 2.5 instead of 2.5.13.1 did it for me
> with the same configuration and its working smoothly fir now on version 
> 2.5.
>
> reviewboard is installed on ubuntu 16.04 LTS
>
>
> by executing the mentioned command i got this output :
>
> {"name":"Pxxt Singh","username":"xxx
> xxx","id":43,"state":"active","avatar_url":null,"web_url":"h
> ttp://xx.net/u/","created_at":"2016-12-0
> 9T09:20:02.303Z","is_admin":false,"bio":"","skype":"","linke
> din":"","twitter":"","website_url":"","email":"paramjeet.
> si...@abspl.in","theme_id":2,"color_scheme_id":1,"projects_
> limit":20,"current_sign_in_at":"2017-07-18T04:56:49.273Z","
> identities":[],"can_create_group":true,"can_create_projec
> t":true,"two_factor_enabled":false,"private_token":"2Mjz_
> Tg-CDGNWocxnmc5"}
> 201
>
> regards
> On Tuesday, July 18, 2017 at 12:35:13 PM UTC+5:30, Christian Hammond
> wrote:
>
>> What Linux distribution is Review Board installed on?
>>
>> 2.5.13.1 is definitely compatible with GitLab, and it's not a bug in
>> Review Board. There is something impacting the communication between the
>> servers. As for what that is, I'm not sure yet.
>>
>> From the terminal on your Linux server hosting Review Board, try
>> running:
>>
>> python -c "import urllib; res = urllib.urlopen('https://YOUR_G
>> ITLAB/api/v3/session/', 
>> 'login=YOUR_GITLAB_USERNAME&password=YOUR_GITLAB_PASSWORD');
>> print res.read(); print res.code"
>>
>> See what that says. I'm mostly interested in the very last line.
>>
>> Also let's keep all discussion in one place, in this thread. Having
>> half the discussion in the bug report makes it a bit more challenging. If
>> it turns out there is a bug here (I'm not positive about this yet -- 
>> other
>> people have definitely used 2.5.13.1 with GitLab), we can move it there,
>> but support is best done here.
>>
>> Christian
>>
>
>> On Mon, Jul 17, 2017 at 10:07 PM,  wrote:
>>
>>> 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.
>
>
>>

Re: gitlab integration fails

2017-07-19 Thread Paramjeet Singh
hi,

yes python crypto(pycrypto) 2.6.1 is installed.

 this configuration for reviewboard 2.5.13.1 is tried on ubuntu 16.04 LTS
and Red Hat Enterprise Linux 7.2 did't worked on any of them.


regards
paramjeet singh

On Wed, Jul 19, 2017 at 2:17 PM, Christian Hammond  wrote:

> Can you see what version of the Python cryptography module is installed?
>
> Christian
>
> On Wed, Jul 19, 2017 at 1:46 AM, Paramjeet Singh  > wrote:
>
>> yes i have installed 2.5.0 and it worked fine very comfortably. will try
>> other versions and will see when it breaks and post it here soon.
>>
>> and yes password has been changed.
>>
>>
>> regards
>> paramjeet singh
>>
>>
>>
>> On Tue, Jul 18, 2017 at 8:31 PM, Christian Hammond <
>> christ...@beanbaginc.com> wrote:
>>
>>> Okay, looks like that worked.
>>>
>>> Did you install 2.5.0, then? It'd be helpful to try upgrading a few
>>> versions at a time, figure out when it breaks.
>>>
>>> Also, the details you posted include confidential information on your
>>> account. Only the last line should have been provided here. You'll want to
>>> reset your password and any tokens on GitLab.
>>>
>>> Christian
>>>
>>>
>>> On Tue, Jul 18, 2017 at 00:30  wrote:
>>>
 hi christian,

 first of all sorry for mixing up things on two places i am just a
 beginner. will keep discussion here only from now onwards.

 however installing revieboard 2.5 instead of 2.5.13.1 did it for me
 with the same configuration and its working smoothly fir now on version 
 2.5.

 reviewboard is installed on ubuntu 16.04 LTS


 by executing the mentioned command i got this output :

 {"name":"Pxxt Singh","username":"xxx
 xxx","id":43,"state":"active","avatar_url":null,"web_url":"h
 ttp://xx.net/u/","created_at":"2016-12-
 09T09:20:02.303Z","is_admin":false,"bio":"","skype":"","
 linkedin":"","twitter":"","website_url":"","email":"param
 jeet.si...@abspl.in","theme_id":2,"color_scheme_id":1,"proje
 cts_limit":20,"current_sign_in_at":"2017-07-18T04:56:49.
 273Z","identities":[],"can_create_group":true,"can_create_
 project":true,"two_factor_enabled":false,"private_token"
 :"2Mjz_Tg-CDGNWocxnmc5"}
 201

 regards
 On Tuesday, July 18, 2017 at 12:35:13 PM UTC+5:30, Christian Hammond
 wrote:

> What Linux distribution is Review Board installed on?
>
> 2.5.13.1 is definitely compatible with GitLab, and it's not a bug in
> Review Board. There is something impacting the communication between the
> servers. As for what that is, I'm not sure yet.
>
> From the terminal on your Linux server hosting Review Board, try
> running:
>
> python -c "import urllib; res = urllib.urlopen('https://YOUR_G
> ITLAB/api/v3/session/', 
> 'login=YOUR_GITLAB_USERNAME&password=YOUR_GITLAB_PASSWORD');
> print res.read(); print res.code"
>
> See what that says. I'm mostly interested in the very last line.
>
> Also let's keep all discussion in one place, in this thread. Having
> half the discussion in the bug report makes it a bit more challenging. If
> it turns out there is a bug here (I'm not positive about this yet -- other
> people have definitely used 2.5.13.1 with GitLab), we can move it there,
> but support is best done here.
>
> Christian
>

> On Mon, Jul 17, 2017 at 10:07 PM,  wrote:
>
>> 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

Re: gitlab integration fails

2017-07-19 Thread Christian Hammond
Can you see what version of the Python cryptography module is installed?

Christian

On Wed, Jul 19, 2017 at 1:46 AM, Paramjeet Singh 
wrote:

> yes i have installed 2.5.0 and it worked fine very comfortably. will try
> other versions and will see when it breaks and post it here soon.
>
> and yes password has been changed.
>
>
> regards
> paramjeet singh
>
>
>
> On Tue, Jul 18, 2017 at 8:31 PM, Christian Hammond <
> christ...@beanbaginc.com> wrote:
>
>> Okay, looks like that worked.
>>
>> Did you install 2.5.0, then? It'd be helpful to try upgrading a few
>> versions at a time, figure out when it breaks.
>>
>> Also, the details you posted include confidential information on your
>> account. Only the last line should have been provided here. You'll want to
>> reset your password and any tokens on GitLab.
>>
>> Christian
>>
>>
>> On Tue, Jul 18, 2017 at 00:30  wrote:
>>
>>> hi christian,
>>>
>>> first of all sorry for mixing up things on two places i am just a
>>> beginner. will keep discussion here only from now onwards.
>>>
>>> however installing revieboard 2.5 instead of 2.5.13.1 did it for me with
>>> the same configuration and its working smoothly fir now on version 2.5.
>>>
>>> reviewboard is installed on ubuntu 16.04 LTS
>>>
>>>
>>> by executing the mentioned command i got this output :
>>>
>>> {"name":"Pxxt Singh","username":"xxx
>>> xxx","id":43,"state":"active","avatar_url":null,"web_url":"h
>>> ttp://xx.net/u/","created_at":"
>>> 2016-12-09T09:20:02.303Z","is_admin":false,"bio":"","skype":
>>> "","linkedin":"","twitter":"","website_url":"","email":"para
>>> mjeet.si...@abspl.in","theme_id":2,"color_scheme_id":1,"
>>> projects_limit":20,"current_sign_in_at":"2017-07-18T04:56:
>>> 49.273Z","identities":[],"can_create_group":true,"can_
>>> create_project":true,"two_factor_enabled":false,"
>>> private_token":"2Mjz_Tg-CDGNWocxnmc5"}
>>> 201
>>>
>>> regards
>>> On Tuesday, July 18, 2017 at 12:35:13 PM UTC+5:30, Christian Hammond
>>> wrote:
>>>
 What Linux distribution is Review Board installed on?

 2.5.13.1 is definitely compatible with GitLab, and it's not a bug in
 Review Board. There is something impacting the communication between the
 servers. As for what that is, I'm not sure yet.

 From the terminal on your Linux server hosting Review Board, try
 running:

 python -c "import urllib; res = urllib.urlopen('https://YOUR_G
 ITLAB/api/v3/session/', 
 'login=YOUR_GITLAB_USERNAME&password=YOUR_GITLAB_PASSWORD');
 print res.read(); print res.code"

 See what that says. I'm mostly interested in the very last line.

 Also let's keep all discussion in one place, in this thread. Having
 half the discussion in the bug report makes it a bit more challenging. If
 it turns out there is a bug here (I'm not positive about this yet -- other
 people have definitely used 2.5.13.1 with GitLab), we can move it there,
 but support is best done here.

 Christian

>>>
 On Mon, Jul 17, 2017 at 10:07 PM,  wrote:

> 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/hosti

Re: gitlab integration fails

2017-07-19 Thread Paramjeet Singh
yes i have installed 2.5.0 and it worked fine very comfortably. will try
other versions and will see when it breaks and post it here soon.

and yes password has been changed.


regards
paramjeet singh



On Tue, Jul 18, 2017 at 8:31 PM, Christian Hammond  wrote:

> Okay, looks like that worked.
>
> Did you install 2.5.0, then? It'd be helpful to try upgrading a few
> versions at a time, figure out when it breaks.
>
> Also, the details you posted include confidential information on your
> account. Only the last line should have been provided here. You'll want to
> reset your password and any tokens on GitLab.
>
> Christian
>
>
> On Tue, Jul 18, 2017 at 00:30  wrote:
>
>> hi christian,
>>
>> first of all sorry for mixing up things on two places i am just a
>> beginner. will keep discussion here only from now onwards.
>>
>> however installing revieboard 2.5 instead of 2.5.13.1 did it for me with
>> the same configuration and its working smoothly fir now on version 2.5.
>>
>> reviewboard is installed on ubuntu 16.04 LTS
>>
>>
>> by executing the mentioned command i got this output :
>>
>> {"name":"Pxxt Singh","username":"xx","id":43,"
>> state":"active","avatar_url":null,"web_url":"http://
>> xx.net/u/","created_at":"2016-12-09T09:
>> 20:02.303Z","is_admin":false,"bio":"","skype":"","linkedin":
>> "","twitter":"","website_url":"","email":"paramjeet.si...@abspl.in
>> ","theme_id":2,"color_scheme_id":1,"projects_limit":
>> 20,"current_sign_in_at":"2017-07-18T04:56:49.273Z","
>> identities":[],"can_create_group":true,"can_create_
>> project":true,"two_factor_enabled":false,"private_token"
>> :"2Mjz_Tg-CDGNWocxnmc5"}
>> 201
>>
>> regards
>> On Tuesday, July 18, 2017 at 12:35:13 PM UTC+5:30, Christian Hammond
>> wrote:
>>
>>> What Linux distribution is Review Board installed on?
>>>
>>> 2.5.13.1 is definitely compatible with GitLab, and it's not a bug in
>>> Review Board. There is something impacting the communication between the
>>> servers. As for what that is, I'm not sure yet.
>>>
>>> From the terminal on your Linux server hosting Review Board, try running:
>>>
>>> python -c "import urllib; res = urllib.urlopen('https://YOUR_
>>> GITLAB/api/v3/session/', 'login=YOUR_GITLAB_USERNAME&
>>> password=YOUR_GITLAB_PASSWORD'); print res.read(); print res.code"
>>>
>>> See what that says. I'm mostly interested in the very last line.
>>>
>>> Also let's keep all discussion in one place, in this thread. Having half
>>> the discussion in the bug report makes it a bit more challenging. If it
>>> turns out there is a bug here (I'm not positive about this yet -- other
>>> people have definitely used 2.5.13.1 with GitLab), we can move it there,
>>> but support is best done here.
>>>
>>> Christian
>>>
>>
>>> On Mon, Jul 17, 2017 at 10:07 PM,  wrote:
>>>
 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 
>> 

Re: gitlab integration fails

2017-07-18 Thread Christian Hammond
Okay, looks like that worked.

Did you install 2.5.0, then? It'd be helpful to try upgrading a few
versions at a time, figure out when it breaks.

Also, the details you posted include confidential information on your
account. Only the last line should have been provided here. You'll want to
reset your password and any tokens on GitLab.

Christian


On Tue, Jul 18, 2017 at 00:30  wrote:

> hi christian,
>
> first of all sorry for mixing up things on two places i am just a
> beginner. will keep discussion here only from now onwards.
>
> however installing revieboard 2.5 instead of 2.5.13.1 did it for me with
> the same configuration and its working smoothly fir now on version 2.5.
>
> reviewboard is installed on ubuntu 16.04 LTS
>
>
> by executing the mentioned command i got this output :
>
> {"name":"Pxxt
> Singh","username":"xx","id":43,"state":"active","avatar_url":null,"web_url":"
> http://xx.net/u/
> ","created_at":"2016-12-09T09:20:02.303Z","is_admin":false,"bio":"","skype":"","linkedin":"","twitter":"","website_url":"","email":"
> paramjeet.si...@abspl.in
> ","theme_id":2,"color_scheme_id":1,"projects_limit":20,"current_sign_in_at":"2017-07-18T04:56:49.273Z","identities":[],"can_create_group":true,"can_create_project":true,"two_factor_enabled":false,"private_token":"2Mjz_Tg-CDGNWocxnmc5"}
> 201
>
> regards
> On Tuesday, July 18, 2017 at 12:35:13 PM UTC+5:30, Christian Hammond wrote:
>
>> What Linux distribution is Review Board installed on?
>>
>> 2.5.13.1 is definitely compatible with GitLab, and it's not a bug in
>> Review Board. There is something impacting the communication between the
>> servers. As for what that is, I'm not sure yet.
>>
>> From the terminal on your Linux server hosting Review Board, try running:
>>
>> python -c "import urllib; res = urllib.urlopen('
>> https://YOUR_GITLAB/api/v3/session/',
>> 'login=YOUR_GITLAB_USERNAME&password=YOUR_GITLAB_PASSWORD'); print
>> res.read(); print res.code"
>>
>> See what that says. I'm mostly interested in the very last line.
>>
>> Also let's keep all discussion in one place, in this thread. Having half
>> the discussion in the bug report makes it a bit more challenging. If it
>> turns out there is a bug here (I'm not positive about this yet -- other
>> people have definitely used 2.5.13.1 with GitLab), we can move it there,
>> but support is best done here.
>>
>> Christian
>>
>
>> On Mon, Jul 17, 2017 at 10:07 PM,  wrote:
>>
>>> 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/python

Re: gitlab integration fails

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

first of all sorry for mixing up things on two places i am just a beginner. 
will keep discussion here only from now onwards. 

however installing revieboard 2.5 instead of 2.5.13.1 did it for me with 
the same configuration and its working smoothly fir now on version 2.5.

reviewboard is installed on ubuntu 16.04 LTS


by executing the mentioned command i got this output :

{"name":"Pxxt 
Singh","username":"xx","id":43,"state":"active","avatar_url":null,"web_url":"http://xx.net/u/","created_at":"2016-12-09T09:20:02.303Z","is_admin":false,"bio":"","skype":"","linkedin":"","twitter":"","website_url":"","email":"paramjeet.si...@abspl.in","theme_id":2,"color_scheme_id":1,"projects_limit":20,"current_sign_in_at":"2017-07-18T04:56:49.273Z","identities":[],"can_create_group":true,"can_create_project":true,"two_factor_enabled":false,"private_token":"2Mjz_Tg-CDGNWocxnmc5"}
201

regards
On Tuesday, July 18, 2017 at 12:35:13 PM UTC+5:30, Christian Hammond wrote:
>
> What Linux distribution is Review Board installed on?
>
> 2.5.13.1 is definitely compatible with GitLab, and it's not a bug in 
> Review Board. There is something impacting the communication between the 
> servers. As for what that is, I'm not sure yet.
>
> From the terminal on your Linux server hosting Review Board, try running:
>
> python -c "import urllib; res = urllib.urlopen('
> https://YOUR_GITLAB/api/v3/session/', 
> 'login=YOUR_GITLAB_USERNAME&password=YOUR_GITLAB_PASSWORD'); print 
> res.read(); print res.code"
>
> See what that says. I'm mostly interested in the very last line.
>
> Also let's keep all discussion in one place, in this thread. Having half 
> the discussion in the bug report makes it a bit more challenging. If it 
> turns out there is a bug here (I'm not positive about this yet -- other 
> people have definitely used 2.5.13.1 with GitLab), we can move it there, 
> but support is best done here.
>
> Christian
>
> On Mon, Jul 17, 2017 at 10:07 PM, > 
> wrote:
>
>> 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

Re: gitlab integration fails

2017-07-18 Thread Christian Hammond
What Linux distribution is Review Board installed on?

2.5.13.1 is definitely compatible with GitLab, and it's not a bug in Review
Board. There is something impacting the communication between the servers.
As for what that is, I'm not sure yet.

>From the terminal on your Linux server hosting Review Board, try running:

python -c "import urllib; res = urllib.urlopen('
https://YOUR_GITLAB/api/v3/session/',
'login=YOUR_GITLAB_USERNAME&password=YOUR_GITLAB_PASSWORD'); print
res.read(); print res.code"

See what that says. I'm mostly interested in the very last line.

Also let's keep all discussion in one place, in this thread. Having half
the discussion in the bug report makes it a bit more challenging. If it
turns out there is a bug here (I'm not positive about this yet -- other
people have definitely used 2.5.13.1 with GitLab), we can move it there,
but support is best done here.

Christian

On Mon, Jul 17, 2017 at 10:07 PM,  wrote:

> 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/revie

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? Check out RBCommons: 

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 
> Makers of Review 

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.


Re: Gitlab integration problem

2014-11-13 Thread Rajasiman Srinivasan
Thank you. You can mark this solved!

On Thursday, 13 November 2014 02:53:51 UTC+5:30, David Trowbridge wrote:
>
> You'll want to back up that directory, as well as your database. Whether 
> or not you back up the other apache configuration is up to you (the 
> important config files live in the site directory).
>
> -David
>
> On Wed, Nov 12, 2014 at 1:35 AM, Rajasiman Srinivasan  > wrote:
>
>> Thanks for your reply! I had installed git on Windows without adding the 
>> location to the PATH environment variable. Therefore rbt post/rbt 
>> setup-repo was unable to execute git commands from cmd. After I added it, 
>> it started working fine.
>>
>> Also, another question. If I want to do a daily backup of the reviewboard 
>> installation, which folders do I include? Would 
>> /var/www// suffice? Lastly, should I 
>> also be backing up the apache2 configuration files?
>>
>> Thank you!
>>
>> -
>> Rajasiman
>>
>> On Wednesday, 12 November 2014 12:43:49 UTC+5:30, David Trowbridge wrote:
>>>
>>> It looks like your repository is configured correctly in the Review 
>>> Board admin.
>>>
>>> You won't see branches or commits in the "New Review Request" page 
>>> because this feature is currently only available for GitHub and SVN 
>>> repositories.
>>>
>>> If you've created the .reviewboardrc file yourself, you don't need to 
>>> run 'rbt setup-repo' (all that command does is prompt you for some 
>>> information and creates the file).
>>>
>>> All 'rbt' commands should be run from within a checkout of your 
>>> repository. It looks like you're probably not in the right directory in 
>>> your cmd prompt. If you are, then maybe something is going wrong with the 
>>> detection--can you re-run 'rbt post' with the --debug flag?
>>>
>>> -David
>>>
>>> On Tue, Nov 11, 2014 at 10:20 PM, Rajasiman Srinivasan <
>>> raja...@gmail.com> wrote:
>>>
 Hello all,

 I'm setting up a Gitlab + ReviewBoard combination for a pilot project 
 at work. I've set up most of the things needed correctly but the Gitlab 
 branches/commits do not show up in the ReviewBoard site that I set up. 
 Here's my setup.

- Gitlab: 7.4.3
- ReviewBoard: 2.0.11

 Gitlab runs on server with IP address 192.168.0.104, ReviewBoard on 
 server with IP address 192.168.0.127. Both the websites are setup and are 
 working without throwing any errors. I've created a service 
 account(reviewboard_user) on Gitlab with 'Reporter' permissions to the 
 'group' of projects. Next, I created the SSH key for this account from 
 ReviewBoard and installed it onto the service account on Gitlab. I've 
 added 
 the Gitlab repository in ReviewBoard(Please see attached 
 screenshot: Repository added in Reviewboard.PNG).

 I then clicked on New Review Request from the homepage and was taken to 
 this screen(Please see attached screenshot: New Review Request.PNG). The 
 branches/commits were not being shown; so I clicked around and found that 
 I 
 need to set up rbtools and should create a file '.reviewboardrc' in the 
 root of my git repository and commit it(Please see attached 
 screenshot: RBTools setup.PNG). I use a Windows PC, so I created the file 
 in my local git repository and committed the file to Gitlab. Then I tried 
 running rbt post via cmd and was given a error.

 ERROR: The current directory does not contain a checkout from a 
> supported source code repository.


 After some more googling and reading around, I got to this page 
 . 
 Tried running rbt setup-repo via cmd inside the root of the git 
 repository and got the same error message again.

 ERROR: The current directory does not contain a checkout from a 
> supported source code repository.


 What am I doing wrong here? As per this link 
 ,
  
 git needs a local clone; whereas from Reviewboard v1.7.21 Gitlab is 
 natively 
 supported 
 .
  
 Please help me get this sorted out!

 Thanks in advance!

 -
 Rajasiman

 -- 
 Get the Review Board Power Pack at http://www.reviewboard.org/
 powerpack/
 ---
 Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
 ---
 Happy user? Let us know at http://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.

>>>
>>>  -- 
>> Get the Review Board Power Pack at h

Re: Gitlab integration problem

2014-11-12 Thread David Trowbridge
You'll want to back up that directory, as well as your database. Whether or
not you back up the other apache configuration is up to you (the important
config files live in the site directory).

-David

On Wed, Nov 12, 2014 at 1:35 AM, Rajasiman Srinivasan 
wrote:

> Thanks for your reply! I had installed git on Windows without adding the
> location to the PATH environment variable. Therefore rbt post/rbt
> setup-repo was unable to execute git commands from cmd. After I added it,
> it started working fine.
>
> Also, another question. If I want to do a daily backup of the reviewboard
> installation, which folders do I include? Would
> /var/www// suffice? Lastly, should I
> also be backing up the apache2 configuration files?
>
> Thank you!
>
> -
> Rajasiman
>
> On Wednesday, 12 November 2014 12:43:49 UTC+5:30, David Trowbridge wrote:
>>
>> It looks like your repository is configured correctly in the Review Board
>> admin.
>>
>> You won't see branches or commits in the "New Review Request" page
>> because this feature is currently only available for GitHub and SVN
>> repositories.
>>
>> If you've created the .reviewboardrc file yourself, you don't need to run
>> 'rbt setup-repo' (all that command does is prompt you for some information
>> and creates the file).
>>
>> All 'rbt' commands should be run from within a checkout of your
>> repository. It looks like you're probably not in the right directory in
>> your cmd prompt. If you are, then maybe something is going wrong with the
>> detection--can you re-run 'rbt post' with the --debug flag?
>>
>> -David
>>
>> On Tue, Nov 11, 2014 at 10:20 PM, Rajasiman Srinivasan > > wrote:
>>
>>> Hello all,
>>>
>>> I'm setting up a Gitlab + ReviewBoard combination for a pilot project at
>>> work. I've set up most of the things needed correctly but the Gitlab
>>> branches/commits do not show up in the ReviewBoard site that I set up.
>>> Here's my setup.
>>>
>>>- Gitlab: 7.4.3
>>>- ReviewBoard: 2.0.11
>>>
>>> Gitlab runs on server with IP address 192.168.0.104, ReviewBoard on
>>> server with IP address 192.168.0.127. Both the websites are setup and are
>>> working without throwing any errors. I've created a service
>>> account(reviewboard_user) on Gitlab with 'Reporter' permissions to the
>>> 'group' of projects. Next, I created the SSH key for this account from
>>> ReviewBoard and installed it onto the service account on Gitlab. I've added
>>> the Gitlab repository in ReviewBoard(Please see attached
>>> screenshot: Repository added in Reviewboard.PNG).
>>>
>>> I then clicked on New Review Request from the homepage and was taken to
>>> this screen(Please see attached screenshot: New Review Request.PNG). The
>>> branches/commits were not being shown; so I clicked around and found that I
>>> need to set up rbtools and should create a file '.reviewboardrc' in the
>>> root of my git repository and commit it(Please see attached
>>> screenshot: RBTools setup.PNG). I use a Windows PC, so I created the file
>>> in my local git repository and committed the file to Gitlab. Then I tried
>>> running rbt post via cmd and was given a error.
>>>
>>> ERROR: The current directory does not contain a checkout from a
 supported source code repository.
>>>
>>>
>>> After some more googling and reading around, I got to this page
>>> .
>>> Tried running rbt setup-repo via cmd inside the root of the git
>>> repository and got the same error message again.
>>>
>>> ERROR: The current directory does not contain a checkout from a
 supported source code repository.
>>>
>>>
>>> What am I doing wrong here? As per this link
>>> ,
>>> git needs a local clone; whereas from Reviewboard v1.7.21 Gitlab is natively
>>> supported
>>> .
>>> Please help me get this sorted out!
>>>
>>> Thanks in advance!
>>>
>>> -
>>> Rajasiman
>>>
>>> --
>>> Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
>>> ---
>>> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
>>> ---
>>> Happy user? Let us know at http://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.
>>>
>>
>>  --
> Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
> ---
> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
> ---
> Happy user? Let us know at http://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 em

Re: Gitlab integration problem

2014-11-12 Thread Rajasiman Srinivasan
Thanks for your reply! I had installed git on Windows without adding the 
location to the PATH environment variable. Therefore rbt post/rbt 
setup-repo was unable to execute git commands from cmd. After I added it, 
it started working fine.

Also, another question. If I want to do a daily backup of the reviewboard 
installation, which folders do I include? Would 
/var/www// suffice? Lastly, should I also 
be backing up the apache2 configuration files?

Thank you!

-
Rajasiman

On Wednesday, 12 November 2014 12:43:49 UTC+5:30, David Trowbridge wrote:
>
> It looks like your repository is configured correctly in the Review Board 
> admin.
>
> You won't see branches or commits in the "New Review Request" page because 
> this feature is currently only available for GitHub and SVN repositories.
>
> If you've created the .reviewboardrc file yourself, you don't need to run 
> 'rbt setup-repo' (all that command does is prompt you for some information 
> and creates the file).
>
> All 'rbt' commands should be run from within a checkout of your 
> repository. It looks like you're probably not in the right directory in 
> your cmd prompt. If you are, then maybe something is going wrong with the 
> detection--can you re-run 'rbt post' with the --debug flag?
>
> -David
>
> On Tue, Nov 11, 2014 at 10:20 PM, Rajasiman Srinivasan  > wrote:
>
>> Hello all,
>>
>> I'm setting up a Gitlab + ReviewBoard combination for a pilot project at 
>> work. I've set up most of the things needed correctly but the Gitlab 
>> branches/commits do not show up in the ReviewBoard site that I set up. 
>> Here's my setup.
>>
>>- Gitlab: 7.4.3
>>- ReviewBoard: 2.0.11
>>
>> Gitlab runs on server with IP address 192.168.0.104, ReviewBoard on 
>> server with IP address 192.168.0.127. Both the websites are setup and are 
>> working without throwing any errors. I've created a service 
>> account(reviewboard_user) on Gitlab with 'Reporter' permissions to the 
>> 'group' of projects. Next, I created the SSH key for this account from 
>> ReviewBoard and installed it onto the service account on Gitlab. I've added 
>> the Gitlab repository in ReviewBoard(Please see attached 
>> screenshot: Repository added in Reviewboard.PNG).
>>
>> I then clicked on New Review Request from the homepage and was taken to 
>> this screen(Please see attached screenshot: New Review Request.PNG). The 
>> branches/commits were not being shown; so I clicked around and found that I 
>> need to set up rbtools and should create a file '.reviewboardrc' in the 
>> root of my git repository and commit it(Please see attached 
>> screenshot: RBTools setup.PNG). I use a Windows PC, so I created the file 
>> in my local git repository and committed the file to Gitlab. Then I tried 
>> running rbt post via cmd and was given a error.
>>
>> ERROR: The current directory does not contain a checkout from a supported 
>>> source code repository.
>>
>>
>> After some more googling and reading around, I got to this page 
>> . Tried 
>> running rbt setup-repo via cmd inside the root of the git repository and 
>> got the same error message again.
>>
>> ERROR: The current directory does not contain a checkout from a supported 
>>> source code repository.
>>
>>
>> What am I doing wrong here? As per this link 
>> ,
>>  
>> git needs a local clone; whereas from Reviewboard v1.7.21 Gitlab is natively 
>> supported 
>> .
>>  
>> Please help me get this sorted out!
>>
>> Thanks in advance!
>>
>> -
>> Rajasiman
>>
>> -- 
>> Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
>> ---
>> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
>> ---
>> Happy user? Let us know at http://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.
>>
>
>

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://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.


Re: Gitlab integration problem

2014-11-11 Thread David Trowbridge
It looks like your repository is configured correctly in the Review Board
admin.

You won't see branches or commits in the "New Review Request" page because
this feature is currently only available for GitHub and SVN repositories.

If you've created the .reviewboardrc file yourself, you don't need to run
'rbt setup-repo' (all that command does is prompt you for some information
and creates the file).

All 'rbt' commands should be run from within a checkout of your repository.
It looks like you're probably not in the right directory in your cmd
prompt. If you are, then maybe something is going wrong with the
detection--can you re-run 'rbt post' with the --debug flag?

-David

On Tue, Nov 11, 2014 at 10:20 PM, Rajasiman Srinivasan 
wrote:

> Hello all,
>
> I'm setting up a Gitlab + ReviewBoard combination for a pilot project at
> work. I've set up most of the things needed correctly but the Gitlab
> branches/commits do not show up in the ReviewBoard site that I set up.
> Here's my setup.
>
>- Gitlab: 7.4.3
>- ReviewBoard: 2.0.11
>
> Gitlab runs on server with IP address 192.168.0.104, ReviewBoard on server
> with IP address 192.168.0.127. Both the websites are setup and are working
> without throwing any errors. I've created a service
> account(reviewboard_user) on Gitlab with 'Reporter' permissions to the
> 'group' of projects. Next, I created the SSH key for this account from
> ReviewBoard and installed it onto the service account on Gitlab. I've added
> the Gitlab repository in ReviewBoard(Please see attached
> screenshot: Repository added in Reviewboard.PNG).
>
> I then clicked on New Review Request from the homepage and was taken to
> this screen(Please see attached screenshot: New Review Request.PNG). The
> branches/commits were not being shown; so I clicked around and found that I
> need to set up rbtools and should create a file '.reviewboardrc' in the
> root of my git repository and commit it(Please see attached
> screenshot: RBTools setup.PNG). I use a Windows PC, so I created the file
> in my local git repository and committed the file to Gitlab. Then I tried
> running rbt post via cmd and was given a error.
>
> ERROR: The current directory does not contain a checkout from a supported
>> source code repository.
>
>
> After some more googling and reading around, I got to this page
> . Tried
> running rbt setup-repo via cmd inside the root of the git repository and
> got the same error message again.
>
> ERROR: The current directory does not contain a checkout from a supported
>> source code repository.
>
>
> What am I doing wrong here? As per this link
> ,
> git needs a local clone; whereas from Reviewboard v1.7.21 Gitlab is natively
> supported
> .
> Please help me get this sorted out!
>
> Thanks in advance!
>
> -
> Rajasiman
>
> --
> Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
> ---
> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
> ---
> Happy user? Let us know at http://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.
>

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://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.


Re: gitlab integration

2014-05-05 Thread Mingcharlesho
that worked.  Thanks.

Sent from my iPhone

> On May 5, 2014, at 3:24 PM, Christian Hammond  wrote:
> 
> Hi,
> 
> You need to select GitLab under Hosting Service, provide the URL to the root 
> of your GitLab server, provide authentication details, and your repository 
> information.
> 
> Christian
> 
> 
>> On Monday, May 5, 2014, ming ho  wrote:
>> Hi Christian,
>>   attached is the screenshot.  
>> 
>> thanks,
>> 
>> -Ming.
>> 
>>> On Friday, May 2, 2014 12:31:14 PM UTC-7, Christian Hammond wrote:
>>> Hi,
>>> 
>>> Can you show the configuration you're using for the repositories in Review 
>>> Board?
>>> 
>>> Christian
>>> 
>>> 
 On Friday, May 2, 2014, ming ho  wrote:
 Hi,
   i am having trouble adding gitlab repositories to RB.  our gitlab has 
 repositories such as http:///mho/gin.git.  I can clone it with 
 either uid/pwd or ssh key.  but, when i supply the URL and user 
 information, RB always complain about not being able to find the 
 repository.  I am running 1.7.25.  any pointer on how to configure RB for 
 gitlab repository?
 
   also, I have created a couple of repositories added to RB.  They are all 
 public git repo in gitlab which don't require authentication.  I can see 
 them properly via UI.  but, when I try to access them though api, i always 
 get "Object does not exist".  has anybody run into this?
 
 -M.
 -- 
 Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
 ---
 Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
 ---
 Happy user? Let us know at http://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 - chi...@chipx86.com
>>> Review Board - http://www.reviewboard.org
>>> Beanbag, Inc. - http://www.beanbaginc.com
>> 
>> -- 
>> Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
>> ---
>> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
>> ---
>> Happy user? Let us know at http://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 - chip...@chipx86.com
> Review Board - http://www.reviewboard.org
> Beanbag, Inc. - http://www.beanbaginc.com
> 
> -- 
> Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
> ---
> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
> ---
> Happy user? Let us know at http://www.reviewboard.org/users/
> --- 
> You received this message because you are subscribed to a topic in the Google 
> Groups "reviewboard" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/reviewboard/uH-jadSzR04/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> reviewboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://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.


Re: gitlab integration

2014-05-05 Thread Christian Hammond
Hi,

You need to select GitLab under Hosting Service, provide the URL to the
root of your GitLab server, provide authentication details, and your
repository information.

Christian


On Monday, May 5, 2014, ming ho  wrote:

> Hi Christian,
>   attached is the screenshot.
>
> thanks,
>
> -Ming.
>
> On Friday, May 2, 2014 12:31:14 PM UTC-7, Christian Hammond wrote:
>>
>> Hi,
>>
>> Can you show the configuration you're using for the repositories in
>> Review Board?
>>
>> Christian
>>
>>
>> On Friday, May 2, 2014, ming ho  wrote:
>>
>>> Hi,
>>>   i am having trouble adding gitlab repositories to RB.  our gitlab has
>>> repositories such as http:///mho/gin.git.  I can clone it
>>> with either uid/pwd or ssh key.  but, when i supply the URL and user
>>> information, RB always complain about not being able to find the
>>> repository.  I am running 1.7.25.  any pointer on how to configure RB for
>>> gitlab repository?
>>>
>>>   also, I have created a couple of repositories added to RB.  They are
>>> all public git repo in gitlab which don't require authentication.  I can
>>> see them properly via UI.  but, when I try to access them though api, i
>>> always get "Object does not exist".  has anybody run into this?
>>>
>>> -M.
>>>
>>> --
>>> Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
>>> ---
>>> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
>>> ---
>>> Happy user? Let us know at http://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 - chi...@chipx86.com
>> Review Board - http://www.reviewboard.org
>> Beanbag, Inc. - http://www.beanbaginc.com
>>
>>  --
> Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
> ---
> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
> ---
> Happy user? Let us know at http://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 - chip...@chipx86.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://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.


Re: gitlab integration

2014-05-02 Thread Christian Hammond
Hi,

Can you show the configuration you're using for the repositories in Review
Board?

Christian


On Friday, May 2, 2014, ming ho  wrote:

> Hi,
>   i am having trouble adding gitlab repositories to RB.  our gitlab has
> repositories such as http:///mho/gin.git.  I can clone it
> with either uid/pwd or ssh key.  but, when i supply the URL and user
> information, RB always complain about not being able to find the
> repository.  I am running 1.7.25.  any pointer on how to configure RB for
> gitlab repository?
>
>   also, I have created a couple of repositories added to RB.  They are all
> public git repo in gitlab which don't require authentication.  I can see
> them properly via UI.  but, when I try to access them though api, i always
> get "Object does not exist".  has anybody run into this?
>
> -M.
>
> --
> Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
> ---
> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
> ---
> Happy user? Let us know at http://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 - chip...@chipx86.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://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.