Re: Review Board Ticket #3971: SSL: CERTIFICATE_VERIFY_FAILED error when adding GitHub repository

2017-01-16 Thread Gregory Hart
--
To reply, visit https://hellosplat.com/s/beanbag/tickets/3971/
--

New update by freastro
For Beanbag, Inc. > Review Board > Ticket #3971


Reply:

@david, The error message generated by ReviewBoard is very misleading. I 
found other people who had received the same error message and the causes 
ranged from missing SSL certificates to incorrect proxy information. I think it 
would be very helpful if the original error message was surfaced instead of: 
'URLError' object has no attribute 'read'.

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


Re: can not set up a git repository with reviewboard

2015-09-17 Thread Gregory Hart
Ajoy and I are working on the same install. I traced the error to 
https://github.com/reviewboard/reviewboard/blob/release-2.0.19/reviewboard/hostingsvcs/github.py#L400
 and 
found the original error was:


We used the Bitnami installer and I'm not sure where to place the cacerts 
truststore for SSL to pick up. I ended up modifying 
https://github.com/reviewboard/reviewboard/blob/release-2.0.19/reviewboard/hostingsvcs/service.py#L79
 
to:
import ssl
u = urlopen(r, context=ssl._create_unverified_context())

The odd thing was that this issue only occurred when we installed on 
Ubuntu. Ajoy had previously installed on his Mac and it had worked fine. 
Hope someone finds this useful!
-Greg

On Wednesday, September 16, 2015 at 11:52:58 AM UTC-7, Ajoy Bhatia wrote:
>
> I am getting this error, too, with a private organization GitHub 
> repository. I enabled logging successfully (i.e. log directory is writable 
> by web server), restarted the web server and tried to add the repo again. 
> Got the same error but do not see anything in the log file.
>
> BTW, my ReviewBoard web server is behind another proxy server.
>
> Was there any resolution on this?
>
> Thanks...
> - Ajoy
>
> On Tuesday, September 8, 2015 at 2:33:39 PM UTC-7, Tony Dubu Yang wrote:
>>
>> Getting the same error as anoop is getting above: Unknown error when 
>> linking the account: 'URLError' object has no attribute 'read'
>>
>> This happens when I attempt to add a public GitHub repository 
>> (non-enterprise) to my reviewboard and click save.
>>
>> I'm trying to determine whether this is an error with sending or 
>> receiving and if I (likely) need to adjust the Azure VMs settings to 
>> allow... something in or out. So I'm expecting to see something along the 
>> lines of "error attempting to send data" with a stack trace or "timed out 
>> waiting for response" or something along those lines in the logs.
>>
>> On Tue, Sep 8, 2015 at 1:07 PM, Christian Hammond  
>> wrote:
>>
>>> The CSRF verification failure is likely due to trying to re-post a form 
>>> after reloading the web server. It's a protection mechanism that requires 
>>> that you first load/navigate to the page, then post, all with the web 
>>> server running, without restarting. It's used to prevent sites from 
>>> tricking you into submitting a form on Review Board from their site without 
>>> you knowing.
>>>
>>> Tony, can you show me exactly what error you're hitting and the steps 
>>> you're going through?
>>>
>>> It does look like logging is enabled. What information in the logs are 
>>> you expecting to find?
>>>
>>> Christian
>>>
>>> -- 
>>> Christian Hammond - chi...@chipx86.com
>>> Review Board - https://www.reviewboard.org
>>> Beanbag, Inc. - https://www.beanbaginc.com
>>>
>>> On Mon, Sep 7, 2015 at 11:36 PM, Tony Dubu Yang  
>>> wrote:
>>>
 I'm receiving this error, too, running on an Azure VM with version 
 2.0.19 of ReviewBoard installed. I've set the logging level for 
 ReviewBoard 
 to DEBUG, but all I'm getting is cache misses and 'Using 
 reviewboard.scmtools.svn.pysvn backend for SVN' in the logs. Tried 
 looking in the /opt/bitnami/apache2/... logs, as well, but nothing of 
 interest shows up after running into the error.

 Any advice on where to dig to track down the error/stack trace?

 Just a note, looks like the Azure VMs don't allow ICMP as running a 
 ping against github.com doesn't return a result.

 On Friday, December 19, 2014 at 1:38:23 AM UTC-8, anoop kc wrote:
>
> Hi,
>
> Whenever I try to add my git repository to  reviewboard, it fails with 
> the following error.
>
> Unknown error when linking the account: 'URLError' object has no 
> attribute 'read'
>
> where am I doing wrong?
>
>
>
>
> -- 
 Supercharge your Review Board with Power Pack: 
 https://www.reviewboard.org/powerpack/
 Want us to host Review Board for you? Check out RBCommons: 
 https://rbcommons.com/
 Happy user? Let us know! https://www.reviewboard.org/users/

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

>>>
>>> -- 
>>> Supercharge your Review Board with Power Pack: 
>>> https://www.reviewboard.org/powerpack/
>>> Want us to host Review Board for you? Check out RBCommons: 
>>> https://rbcommons.com/
>>> 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