You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When adding OAuth to IntelliJ IDEA 2023.1 EAP (Ultimate Edition), there is no connection to Yandex cloud services.
The same thing if done in IntelliJ IDEA 2022.3.1(Community Edition) the connection is successful
authorization takes place in both cases
stacktrace IntelliJ IDEA 2023.1 EAP
java.util.ServiceConfigurationError: io.grpc.LoadBalancerProvider: io.grpc.util.OutlierDetectionLoadBalancerProvider not a subtype at java.base/java.util.ServiceLoader.fail(ServiceLoader.java:593) at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.hasNextService(ServiceLoader.java:1244) at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.hasNext(ServiceLoader.java:1273) at java.base/java.util.ServiceLoader$2.hasNext(ServiceLoader.java:1309) at java.base/java.util.ServiceLoader$3.hasNext(ServiceLoader.java:1393) at io.grpc.ServiceProviders.loadAll(ServiceProviders.java:67) at io.grpc.LoadBalancerRegistry.getDefaultRegistry(LoadBalancerRegistry.java:102) at io.grpc.internal.AutoConfiguredLoadBalancerFactory.<init>(AutoConfiguredLoadBalancerFactory.java:57) at io.grpc.internal.ManagedChannelImpl.<init>(ManagedChannelImpl.java:580) at io.grpc.internal.AbstractManagedChannelImplBuilder.build(AbstractManagedChannelImplBuilder.java:524) at yandex.cloud.sdk.auth.provider.OauthCredentialProvider$Builder.providerBuild(OauthCredentialProvider.java:110) at yandex.cloud.sdk.auth.provider.AbstractCredentialProviderBuilder.build(AbstractCredentialProviderBuilder.java:40) at yandex.cloud.toolkit.api.auth.CloudAuthData$Companion.byOAuthToken(CloudAuthData.kt:48) at yandex.cloud.toolkit.api.auth.impl.oauth.OAuthCloudAuthMethod$createAuthData$1$1.invoke(OAuthCloudAuthMethod.kt:55) at yandex.cloud.toolkit.api.auth.impl.oauth.OAuthCloudAuthMethod$createAuthData$1$1.invoke(OAuthCloudAuthMethod.kt:12) at yandex.cloud.toolkit.util.MaybeKt.doMaybe(Maybe.kt:67) at yandex.cloud.toolkit.api.auth.impl.oauth.OAuthCloudAuthMethod$createAuthData$1.invoke(OAuthCloudAuthMethod.kt:54) at yandex.cloud.toolkit.api.auth.impl.oauth.OAuthCloudAuthMethod$createAuthData$1.invoke(OAuthCloudAuthMethod.kt:12) at yandex.cloud.toolkit.util.MaybeKt.map(Maybe.kt:43) at yandex.cloud.toolkit.api.auth.impl.oauth.OAuthCloudAuthMethod.createAuthData(OAuthCloudAuthMethod.kt:53) at yandex.cloud.toolkit.api.auth.impl.oauth.OAuthCloudAuthMethod$authenticate$1.invoke(OAuthCloudAuthMethod.kt:34) at yandex.cloud.toolkit.api.auth.impl.oauth.OAuthCloudAuthMethod$authenticate$1.invoke(OAuthCloudAuthMethod.kt:12) at yandex.cloud.toolkit.api.auth.impl.oauth.CloudOAuthServiceImpl$requestToken$1.invoke(CloudOAuthServiceImpl.kt:120) at yandex.cloud.toolkit.api.auth.impl.oauth.CloudOAuthServiceImpl$requestToken$1.invoke(CloudOAuthServiceImpl.kt:43) at yandex.cloud.toolkit.util.task.TaskBuilderKt$modalTask$1.run(TaskBuilder.kt:139) at com.intellij.openapi.progress.impl.CoreProgressManager.startTask(CoreProgressManager.java:429) at com.intellij.openapi.progress.impl.ProgressManagerImpl.startTask(ProgressManagerImpl.java:114) at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcessWithProgressSynchronously$9(CoreProgressManager.java:513) at com.intellij.openapi.progress.impl.ProgressRunner.lambda$new$0(ProgressRunner.java:84) at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$3(ProgressRunner.java:252) at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:186) at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$13(CoreProgressManager.java:604) at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:679) at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:635) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:603) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:60) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:173) at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$4(ProgressRunner.java:252) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:702) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:699) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:699) at java.base/java.lang.Thread.run(Thread.java:833)
The text was updated successfully, but these errors were encountered:
stasyanich
changed the title
add OAuth
add OAuth yandex.cloud Toolkit (1.1.1)
Jan 28, 2023
When adding OAuth to IntelliJ IDEA 2023.1 EAP (Ultimate Edition), there is no connection to Yandex cloud services.
The same thing if done in IntelliJ IDEA 2022.3.1(Community Edition) the connection is successful
authorization takes place in both cases
stacktrace IntelliJ IDEA 2023.1 EAP
java.util.ServiceConfigurationError: io.grpc.LoadBalancerProvider: io.grpc.util.OutlierDetectionLoadBalancerProvider not a subtype at java.base/java.util.ServiceLoader.fail(ServiceLoader.java:593) at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.hasNextService(ServiceLoader.java:1244) at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.hasNext(ServiceLoader.java:1273) at java.base/java.util.ServiceLoader$2.hasNext(ServiceLoader.java:1309) at java.base/java.util.ServiceLoader$3.hasNext(ServiceLoader.java:1393) at io.grpc.ServiceProviders.loadAll(ServiceProviders.java:67) at io.grpc.LoadBalancerRegistry.getDefaultRegistry(LoadBalancerRegistry.java:102) at io.grpc.internal.AutoConfiguredLoadBalancerFactory.<init>(AutoConfiguredLoadBalancerFactory.java:57) at io.grpc.internal.ManagedChannelImpl.<init>(ManagedChannelImpl.java:580) at io.grpc.internal.AbstractManagedChannelImplBuilder.build(AbstractManagedChannelImplBuilder.java:524) at yandex.cloud.sdk.auth.provider.OauthCredentialProvider$Builder.providerBuild(OauthCredentialProvider.java:110) at yandex.cloud.sdk.auth.provider.AbstractCredentialProviderBuilder.build(AbstractCredentialProviderBuilder.java:40) at yandex.cloud.toolkit.api.auth.CloudAuthData$Companion.byOAuthToken(CloudAuthData.kt:48) at yandex.cloud.toolkit.api.auth.impl.oauth.OAuthCloudAuthMethod$createAuthData$1$1.invoke(OAuthCloudAuthMethod.kt:55) at yandex.cloud.toolkit.api.auth.impl.oauth.OAuthCloudAuthMethod$createAuthData$1$1.invoke(OAuthCloudAuthMethod.kt:12) at yandex.cloud.toolkit.util.MaybeKt.doMaybe(Maybe.kt:67) at yandex.cloud.toolkit.api.auth.impl.oauth.OAuthCloudAuthMethod$createAuthData$1.invoke(OAuthCloudAuthMethod.kt:54) at yandex.cloud.toolkit.api.auth.impl.oauth.OAuthCloudAuthMethod$createAuthData$1.invoke(OAuthCloudAuthMethod.kt:12) at yandex.cloud.toolkit.util.MaybeKt.map(Maybe.kt:43) at yandex.cloud.toolkit.api.auth.impl.oauth.OAuthCloudAuthMethod.createAuthData(OAuthCloudAuthMethod.kt:53) at yandex.cloud.toolkit.api.auth.impl.oauth.OAuthCloudAuthMethod$authenticate$1.invoke(OAuthCloudAuthMethod.kt:34) at yandex.cloud.toolkit.api.auth.impl.oauth.OAuthCloudAuthMethod$authenticate$1.invoke(OAuthCloudAuthMethod.kt:12) at yandex.cloud.toolkit.api.auth.impl.oauth.CloudOAuthServiceImpl$requestToken$1.invoke(CloudOAuthServiceImpl.kt:120) at yandex.cloud.toolkit.api.auth.impl.oauth.CloudOAuthServiceImpl$requestToken$1.invoke(CloudOAuthServiceImpl.kt:43) at yandex.cloud.toolkit.util.task.TaskBuilderKt$modalTask$1.run(TaskBuilder.kt:139) at com.intellij.openapi.progress.impl.CoreProgressManager.startTask(CoreProgressManager.java:429) at com.intellij.openapi.progress.impl.ProgressManagerImpl.startTask(ProgressManagerImpl.java:114) at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcessWithProgressSynchronously$9(CoreProgressManager.java:513) at com.intellij.openapi.progress.impl.ProgressRunner.lambda$new$0(ProgressRunner.java:84) at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$3(ProgressRunner.java:252) at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:186) at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$13(CoreProgressManager.java:604) at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:679) at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:635) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:603) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:60) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:173) at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$4(ProgressRunner.java:252) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:702) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:699) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:699) at java.base/java.lang.Thread.run(Thread.java:833)
The text was updated successfully, but these errors were encountered: