Can you see what version of the Python cryptography module is installed?

Christian

On Wed, Jul 19, 2017 at 1:46 AM, Paramjeet Singh <[email protected]>
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 <
> [email protected]> 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 <[email protected]> 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":"Pxxxxxxxxxxt Singh","username":"xxxxxxxxxxx
>>> xxx","id":43,"state":"active","avatar_url":null,"web_url":"h
>>> ttp://xxxxxxxxxx.net/u/xxxxxxxxxxxx","created_at":"
>>> 2016-12-09T09:20:02.303Z","is_admin":false,"bio":"","skype":
>>> "","linkedin":"","twitter":"","website_url":"","email":"para
>>> [email protected]","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, <[email protected]> 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, <[email protected]> wrote:
>>>>>>
>>>>>>> hi,
>>>>>>> i am getting this error while try to at selfhosted gitlab repo to
>>>>>>> review board.
>>>>>>>
>>>>>>>
>>>>>>> <https://lh3.googleusercontent.com/-xta5Hm9c0Ws/WWdzYfNoSWI/AAAAAAAAAAM/eaxaltvV51E9jm_CL8Iv7xPHR4uQx2fyACLcBGAs/s1600/revewboard.JPG>
>>>>>>>
>>>>>>>
>>>>>>> error logs :
>>>>>>>
>>>>>>> HostingServiceError: Unexpected HTTP error 502.
>>>>>>>
>>>>>>> 2017-07-13 13:14:26,852 - ERROR -  - root - Unexpected HTTP error
>>>>>>> when linking GitLab account for gauravs: HTTP Error 502: Bad Gateway
>>>>>>>
>>>>>>> Traceback (most recent call last):
>>>>>>>
>>>>>>>   File 
>>>>>>> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/gitlab.py",
>>>>>>> line 245, in authorize
>>>>>>>
>>>>>>>     'password': password,
>>>>>>>
>>>>>>>   File 
>>>>>>> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/service.py",
>>>>>>> line 383, in json_post
>>>>>>>
>>>>>>>     return self._do_json_method(self.http_post, *args, **kwargs)
>>>>>>>
>>>>>>>   File 
>>>>>>> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/service.py",
>>>>>>> line 412, in _do_json_method
>>>>>>>
>>>>>>>     data, headers = method(*args, **kwargs)
>>>>>>>
>>>>>>>   File 
>>>>>>> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/service.py",
>>>>>>> line 245, in http_post
>>>>>>>
>>>>>>>     method='POST', **kwargs)
>>>>>>>
>>>>>>>   File 
>>>>>>> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/service.py",
>>>>>>> line 293, in http_request
>>>>>>>
>>>>>>>     response = urlopen(request)
>>>>>>>
>>>>>>>   File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
>>>>>>>
>>>>>>>     return opener.open(url, data, timeout)
>>>>>>>
>>>>>>>   File "/usr/lib/python2.7/urllib2.py", line 435, in open
>>>>>>>
>>>>>>>     response = meth(req, response)
>>>>>>>
>>>>>>>   File "/usr/lib/python2.7/urllib2.py", line 548, in http_response
>>>>>>>
>>>>>>>     'http', request, response, code, msg, hdrs)
>>>>>>>
>>>>>>>   File "/usr/lib/python2.7/urllib2.py", line 473, in error
>>>>>>>
>>>>>>>     return self._call_chain(*args)
>>>>>>>
>>>>>>>   File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
>>>>>>>
>>>>>>>     result = func(*args)
>>>>>>>
>>>>>>>   File "/usr/lib/python2.7/urllib2.py", line 556, in
>>>>>>> http_error_default
>>>>>>>
>>>>>>>     raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
>>>>>>>
>>>>>>> HTTPError: HTTP Error 502: Bad Gateway
>>>>>>>
>>>>>>> 2017-07-13 13:14:26,856 - ERROR -  - root - Unknown error linking
>>>>>>> hosting account ID=None for hosting service='gitlab', 
>>>>>>> username=u'gauravs',
>>>>>>> LocalSite=None
>>>>>>>
>>>>>>> Traceback (most recent call last):
>>>>>>>
>>>>>>>   File 
>>>>>>> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/forms.py",
>>>>>>> line 348, in save
>>>>>>>
>>>>>>>     **extra_authorize_kwargs)
>>>>>>>
>>>>>>>   File 
>>>>>>> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/gitlab.py",
>>>>>>> line 261, in authorize
>>>>>>>
>>>>>>>     % e.code)
>>>>>>>
>>>>>>> HostingServiceError: Unexpected HTTP error 502.
>>>>>>>
>>>>>>> 2017-07-13 13:14:26,857 - ERROR -  - root - Unexpected error when
>>>>>>> linking hosting service account on gitlab: Unexpected HTTP error 502.
>>>>>>>
>>>>>>> Traceback (most recent call last):
>>>>>>>
>>>>>>>   File 
>>>>>>> "/usr/local/lib/python2.7/dist-packages/reviewboard/scmtools/forms.py",
>>>>>>> line 669, in _clean_hosting_info
>>>>>>>
>>>>>>>     force_authorize=force_authorize)
>>>>>>>
>>>>>>>   File 
>>>>>>> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/forms.py",
>>>>>>> line 348, in save
>>>>>>>
>>>>>>>     **extra_authorize_kwargs)
>>>>>>>
>>>>>>>   File 
>>>>>>> "/usr/local/lib/python2.7/dist-packages/reviewboard/hostingsvcs/gitlab.py",
>>>>>>> line 261, in authorize
>>>>>>>
>>>>>>>     % e.code)
>>>>>>>
>>>>>>> HostingServiceError: Unexpected HTTP error 502.
>>>>>>>
>>>>>>> i dont run gitlab on ssl thats why its http. any leads how can i fix
>>>>>>> it?
>>>>>>>
>>>>>>> --
>>>>>>> Supercharge your Review Board with Power Pack:
>>>>>>> https://www.reviewboard.org/powerpack/
>>>>>>> Want us to host Review Board for you? Check out RBCommons:
>>>>>>> https://rbcommons.com/
>>>>>>> Happy user? Let us know! https://www.reviewboard.org/users/
>>>>>>> ---
>>>>>>> You received this message because you are subscribed to the Google
>>>>>>> Groups "reviewboard" group.
>>>>>>> To unsubscribe from this group and stop receiving emails from it,
>>>>>>> send an email to [email protected].
>>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Christian Hammond
>>>>>> President/CEO of Beanbag <https://www.beanbaginc.com/>
>>>>>> Makers of Review Board <https://www.reviewboard.org/>
>>>>>>
>>>>> --
>>>>> Supercharge your Review Board with Power Pack:
>>>>> https://www.reviewboard.org/powerpack/
>>>>> Want us to host Review Board for you? Check out RBCommons:
>>>>> https://rbcommons.com/
>>>>> Happy user? Let us know! https://www.reviewboard.org/users/
>>>>> ---
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "reviewboard" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>> an email to [email protected].
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Christian Hammond
>>>> President/CEO of Beanbag <https://www.beanbaginc.com/>
>>>> Makers of Review Board <https://www.reviewboard.org/>
>>>>
>>> --
>>> Supercharge your Review Board with Power Pack:
>>> https://www.reviewboard.org/powerpack/
>>> Want us to host Review Board for you? Check out RBCommons:
>>> https://rbcommons.com/
>>> Happy user? Let us know! https://www.reviewboard.org/users/
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "reviewboard" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
>> --
>> 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 a topic in the
>> Google Groups "reviewboard" group.
>> To unsubscribe from this topic, visit https://groups.google.com/d/to
>> pic/reviewboard/keX6Y6fN97s/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> [email protected].
>> 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/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> You received this message because you are subscribed to the Google Groups
> "reviewboard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Christian Hammond
President/CEO of Beanbag <https://www.beanbaginc.com/>
Makers of Review Board <https://www.reviewboard.org/>

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

Reply via email to