AI Assistant Will Not Activate in WebStorm or IntelliJ

已回答

I just upgraded to the 2023.3 version of both WebStorm and IntelliJ. My results are the same in both Windows 10 and Kubuntu 22.04. I purchased a subscription to AI Assistant. However, after following the AI Assistant registration instructions and selecting my license, AI Assistant does nothing but keep asking me to login again.

I can see that I am already logged in, as my ID is being displayed on the bottom left of the AI Assistant “Get Started” popup. When I use the context menu in an editing pane, the only active option for AL Assistant is “Go to activation”. What am I missing?

1

Could you please enable debug logging by adding the following lines to Help > Diagnostic Tools > Debug Log Settings..:

com.intellij.ml.llm
com.intellij.util.io.HttpRequests
com.intellij.util.proxy.CommonProxy

restart IDE, reproduce the issue again and share your IDE logs (Help > Collect Logs and Diagnostic Data)?
Log can help us analyze the issue deeper and find the root cause.

You can upload the zipped logs here: https://uploads.jetbrains.com, just provide the uploaded file ID. Thanks!

0

I am facing the same issue. I followed your instructions above and uploaded my zipped logs. The uploaded file ID is 2023_12_09_2Am7tFiMNzt1Gx9bUEaifW

0

Faithman 
Please try the workaround mentioned in the YouTrack ticket reported for this bug: 
https://youtrack.jetbrains.com/issue/LLM-1519/AI-Assistant-does-not-authenticate-user-with-Get-Started-button#workaround
And follow the YouTrack issue for further updates. 

0

The workaround worked. Thank you.

1

I am not able to use the link you posted, as I am getting a server not responding error on the You Track page.

Just in case it is something different, here is my Upload ID: 2023_12_09_U9po8dFoDBaNppbarJ3jm8

0

@... 
You should be able to access this link: https://youtrack.jetbrains.com/issue/LLM-1519.
In case you still cannot, here is the workaround from it:

  1. Log out and log in again to your JB account via lower left corner of Help > Register... dialog.
  2. Remove and reactivate the IDE and AI Assistant licenses in the same dialog
  3. Restart the IDE.

 

0

Thank you. That solved the problem. 

0

Ivan Pajic Just curious, Will AI Assistance be included in the Educational pack?

0

Wj1g14 
AI Assistant is an individual plugin, and it is not planned to be included in an IDE license/pack.
Free AI Assistant trial (7 days) is available for users with valid paid IDE subscriptions. For now, AI trial is not available for educational/student IDE licenses. However, this decision may change in the future. Alternatively, AI Pro license can be used with educational/student IDE license.

0

I am facing the same issue in Intellij IDEA. I followed your instructions above and uploaded my zipped logs. The uploaded file ID is

Upload ID: 2024_01_09_axTX1m2spWHXrFq6hGCAtx 

0

Hello Ivan Pajic , it also doesn't work for me in Intellij. I tried to log out, log in, and reactivate the license, but it didn't help. The attached log file is 2024_10_15_2BcG43c8jMfJQUv6CBVFsb

0

Hello Nikita,

In the provided log I see the following error:

2024-10-15 13:15:42,385 [   4682]   WARN - #c.i.m.l.c.m.LlmProfileService - Exception during request to https://api.jetbrains.ai/user/v5/llm/profiles with code 451: Handler is unavailable due to geo-restrictions
ai.grazie.model.cloud.exceptions.HTTPStatusException$UnavailableForLegalReasons: Exception during request to https://api.jetbrains.ai/user/v5/llm/profiles with code 451: Handler is unavailable due to geo-restrictions
	at ai.grazie.model.cloud.exceptions.HTTPStatusException$Companion.from(HTTPStatusException.kt:236)
	at ai.grazie.client.ktor.extensions.ExceptionExtensionsKt.of(ExceptionExtensions.kt:10)
	at ai.grazie.client.ktor.GrazieKtorHTTPClient.get$suspendImpl(GrazieKtorHTTPClient.kt:96)
	at ai.grazie.client.ktor.GrazieKtorHTTPClient$get$1.invokeSuspend(GrazieKtorHTTPClient.kt)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:608)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:873)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:763)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:750)
Caused by: ai.grazie.utils.http.JsonKtorHTTPClient$KtorHttpException: Exception during request to https://api.jetbrains.ai/user/v5/llm/profiles with code 451: Handler is unavailable due to geo-restrictions
	at ai.grazie.utils.http.JsonKtorHTTPClient$sendAndWaitBody$2.invokeSuspend(JsonKtorHTTPClient.kt:217)
	... 6 more

 

Is your location in the JetBrains AI Service Territory Limitations list? Do you use a VPN?

0

请先登录再写评论。