0

I have a private NuGet repository and the repository authentication is via VSTS, on Windows it worked perfectly, Rider requested authentication and everything worked, but on Windows, apparently it fetched the information from Visual Studio.

On Linux, Ubuntu 20.04.2.0 LTS, this didn't happen, I added the repository URL and Rider didn't request authentication, and as a result, NuGet couldn't download the packages from the repository

I have the same problem on Mac OSx.

I followed several tutorials and tips given by the community, but none worked, including: https://blog.jetbrains.com/dotnet/2018/03/06/credential-providers-private-nuget-feeds-rider-2018-1-eap/

On the Rider log, I found this error:

com.microsoft.alm.oauth2.useragent.AuthorizationException: Code: unknown_error Description: Exception in thread "main" org.eclipse.swt.SWTError: No more handles [Browser style SWT.MOZILLA and Java system property org.eclipse.swt.browser.DefaultType=mozilla are not supported with GTK 3 as XULRunner is not ported for GTK 3 yet]
at org.eclipse.swt.SWT.error(Unknown Source)
at org.eclipse.swt.browser.MozillaDelegate.<init>(Unknown Source)
at org.eclipse.swt.browser.Mozilla.create(Unknown Source)
at org.eclipse.swt.browser.Browser.<init>(Unknown Source)
at com.microsoft.alm.oauth2.useragent.StandardWidgetToolkit.<init>(StandardWidgetToolkit.java:44)
at com.microsoft.alm.oauth2.useragent.StandardWidgetToolkit.main(StandardWidgetToolkit.java:50)

at com.microsoft.alm.oauth2.useragent.AuthorizationResponse.fromString(AuthorizationResponse.java:109)
at com.microsoft.alm.oauth2.useragent.UserAgentImpl.encode(UserAgentImpl.java:195)
at com.microsoft.alm.oauth2.useragent.UserAgentImpl.requestAuthorizationCode(UserAgentImpl.java:152)
at com.microsoft.alm.auth.oauth.AzureAuthority.acquireAuthorizationCode(AzureAuthority.java:318)
at com.microsoft.alm.auth.oauth.AzureAuthority.acquireToken(AzureAuthority.java:236)
at com.microsoft.alm.auth.oauth.OAuth2Authenticator$1.doRetrieve(OAuth2Authenticator.java:245)
at com.microsoft.alm.auth.oauth.OAuth2Authenticator$1.doRetrieve(OAuth2Authenticator.java:168)
at com.microsoft.alm.auth.BaseAuthenticator$SecretRetriever.retrieve(BaseAuthenticator.java:268)
at com.microsoft.alm.auth.oauth.OAuth2Authenticator.getOAuth2TokenPair(OAuth2Authenticator.java:284)
at

So, well, I tried to change the default GTK VERSION of Firefox, based on some questions from stackoverflow, like this 'https://stackoverflow.com/questions/37099810/java-xulrunner-error-in-eclipse-swt-in-ubuntu' or, install the libwebkitgtk ( I dind't find the package for my current linux build )

0 Answers0