I have exactly the same error. how did you fix it?

On Thursday, July 19, 2018 at 4:39:08 AM UTC+10, Manish Patel wrote:
>
> I'm running Reviewboard 3.0.8 and am getting the following error when 
> trying to add our self hosted repo.
>
> Unknown error when linking the account: Unexpected error "Could not 
> determine GitLab API version for "https://gitlab.corpname.corp"";. The 
> details of the failure are in the Review Board log file.
>
> I'm able to navigate to the gitlab address: 
> https://gitlab.corpname.corp/api/v4/version and get the following:
>
> https://gitlab.corpname.corp/api/v4/version
>
> Checking the log file, I'm getting the following:
>
> 2018-07-18 18:30:35,947 - ERROR -  - root - Unexpected error when linking 
> GitLab account for svc2kgadcreview: Could not determine GitLab API version 
> for "https://gitlab.corpname.corp";
> Traceback (most recent call last):
>   File 
> "/usr/lib/python2.7/site-packages/ReviewBoard-3.0.8-py2.7.egg/reviewboard/hostingsvcs/gitlab.py",
>  
> line 338, in authorize
>     credentials['private_token'].encode('utf-8'),
>   File 
> "/usr/lib/python2.7/site-packages/ReviewBoard-3.0.8-py2.7.egg/reviewboard/hostingsvcs/gitlab.py",
>  
> line 1262, in _try_api_versions
>     errors,
> GitLabAPIVersionError: Could not determine GitLab API version for "
> https://gitlab.corpnamecorp";
> 2018-07-18 18:30:35,947 - ERROR -  - root - Unknown error linking hosting 
> account ID=None for hosting service='gitlab', username=u'svc2kgadcreview', 
> LocalSite=None
> Traceback (most recent call last):
>   File 
> "/usr/lib/python2.7/site-packages/ReviewBoard-3.0.8-py2.7.egg/reviewboard/hostingsvcs/forms.py",
>  
> line 407, in authorize
>     **kwargs)
>   File 
> "/usr/lib/python2.7/site-packages/ReviewBoard-3.0.8-py2.7.egg/reviewboard/hostingsvcs/gitlab.py",
>  
> line 359, in authorize
>     ugettext('Unexpected error "%s"') % e)
> HostingServiceError: Unexpected error "Could not determine GitLab API 
> version for "https://gitlab.corpname.corp"";
> 2018-07-18 18:30:35,948 - ERROR -  - root - Unexpected error when linking 
> hosting service account on gitlab: Unexpected error "Could not determine 
> GitLab API version for "https://gitlab.corpname.corp"";
> Traceback (most recent call last):
>   File 
> "/usr/lib/python2.7/site-packages/ReviewBoard-3.0.8-py2.7.egg/reviewboard/scmtools/forms.py",
>  
> line 707, in _clean_hosting_info
>     trust_host=self.cleaned_data['trust_host'])
>   File 
> "/usr/lib/python2.7/site-packages/ReviewBoard-3.0.8-py2.7.egg/reviewboard/hostingsvcs/forms.py",
>  
> line 368, in save
>     **authorize_kwargs)
>   File 
> "/usr/lib/python2.7/site-packages/ReviewBoard-3.0.8-py2.7.egg/reviewboard/hostingsvcs/forms.py",
>  
> line 407, in authorize
>     **kwargs)
>   File 
> "/usr/lib/python2.7/site-packages/ReviewBoard-3.0.8-py2.7.egg/reviewboard/hostingsvcs/gitlab.py",
>  
> line 359, in authorize
>     ugettext('Unexpected error "%s"') % e)
> HostingServiceError: Unexpected error "Could not determine GitLab API 
> version for "https://gitlab.corpname.corp"";
> 2018-07-18 18:30:36,607 - INFO -  - root - Reloading logging settings
>
>
> Any ideas what'd going wrong here?
>
> The gitlab site also has self-signed SSL Certs
>

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

Reply via email to