Hi Travis, What version of Python are you running?
Python, unfortunately, is not great when it comes to self-signed certs. We have some work in place to support this for some package types, but it may not be working with GitLab, and it definitely is Python-dependent. Christian On Mon, Nov 4, 2019 at 1:08 PM Travis Garza <[email protected]> wrote: > Hey all, > > I'm trying to set up Review Board 3.0.15 and keep running into errors when > adding one of our self hosted gitlab repositories. On the "Add Repository" > form, I put in something along the lines of: > > Input: > Name: repo_name > > Hosting service: Gitlab > Service URL: Custom: https://repo_server > Account username: reviewboard_account > API Token: > > Repository information: > Repo Type: Git > Repo Plan: Group > Gitlab group name: group > Repo name: repo_name > > Output/error: > 2019-10-30 15:18:28,321 - ERROR - - root - Unknown error linking hosting > account ID=None for hosting service='gitlab', > username=u'reviewboard_account', LocalSite=None > Traceback (most recent call last): > File > "/usr/lib/python2.7/site-packages/reviewboard/hostingsvcs/forms.py", line > 407, in authorize > **kwargs) > File > "/usr/lib/python2.7/site-packages/reviewboard/hostingsvcs/gitlab.py", line > 338, in authorize > credentials['private_token'].encode('utf-8'), > File > "/usr/lib/python2.7/site-packages/reviewboard/hostingsvcs/gitlab.py", line > 1272, in _try_api_versions > causes=errors, > GitLabAPIVersionError: Could not determine the GitLab API version for > https://repo_server due to an unexpected error (A verified SSL > certificate is required to connect to this repository.). Check to make sure > the URL can be resolved from this server and that any SSL certificates are > valid and trusted. > > Additional info: > So we use an internal self signed cert for our gitlab server and I guess > reviewboard 3.0.15 doesn't like that. We currently have a reviewboard > 2.5.1.1 server that is able to connect to gitlab fine. Seeing it is a large > upgrade, I thought it was somewhat releated to this issue: > https://reviews.reviewboard.org/r/9766/ > > Am I missing some config on the server? Is there a way we can ignore our > cert and connect anyway? > > Thanks in advance, > Travis > > -- > 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 > "Review Board Community" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/reviewboard/696a2400-91d1-4a9c-b580-9ea2de3712d4%40googlegroups.com > <https://groups.google.com/d/msgid/reviewboard/696a2400-91d1-4a9c-b580-9ea2de3712d4%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 "Review Board Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/reviewboard/CAE7VndmMmuxXa%3DG-f2m7mfZfZuNthjN2o7wAv-h172ukhjdVbg%40mail.gmail.com.
