Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gemini Code Assist | Sign in button does nothing #3240

Open
airvzxf opened this issue Nov 22, 2024 · 6 comments
Open

Gemini Code Assist | Sign in button does nothing #3240

airvzxf opened this issue Nov 22, 2024 · 6 comments

Comments

@airvzxf
Copy link

airvzxf commented Nov 22, 2024

Gemini Code Assist | Sign in button does nothing

Problem

I tried to use Gemini in Rust Rover 2024.3 but when I clicked on the “sign in” button, nothing happened.

Screenshot_2024-11-21_23-54-50

Then, I checked the Rust Rover logs, and I got the following message. I replaced potential sensitive information from the URL with “xxxx”.

~/.cache/JetBrains/RustRover2024.3/log/idea.log

2024-11-21 23:41:24,406 [ 155626]   INFO - STDOUT - Please open the following address in your browser:
2024-11-21 23:41:24,406 [ 155626]   INFO - STDOUT -   https://accounts.google.com/o/oauth2/auth?client_id=xxxx-xxxx.apps.googleusercontent.com&code_challenge=xxxx&code_challenge_method=S256&redirect_uri=http://localhost:37665/Callback&response_type=code&scope=https://www.googleapis.com/auth/userinfo.email%20https://www.googleapis.com/auth/cloud-platform&state=xxxx

Solution

After I manually opened the URL in Firefox, I am able to go to the next step to use the Gemini's plugin.

Screenshot_2024-11-21_23-59-39


Technical information

Linux laptop-archlinux 6.11.9-arch1-1 #1 SMP PREEMPT_DYNAMIC Sun, 17 Nov 2024 16:06:17 +0000 x86_64 GNU/Linux

OS: Arch Linux 
Kernel: x86_64 Linux 6.11.9-arch1-1
Uptime: 2d 16h 1m
Packages: 1153
Shell: bash 5.2.37
Resolution: 1920x1080
WM: OpenBox
WM Theme: Clearlooks
GTK Theme: Adwaita [GTK3]
Disk: 190G / 450G (45%)
CPU: Intel Core i7-7820HK @ 8x 3.9GHz [45.0 °C]
GPU: NVIDIA GeForce GTX 1080
RAM: 7824 MiB / 64257 MiB

RustRover 2024.3
Build #RR-243.21565.245, built on November 20, 2024
Licensed to Israel Roldan
Subscription is active until February 3, 2025.
Runtime version: 21.0.5+8-b631.16 amd64 (JCEF 122.1.9)
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.awt.X11.XToolkit
Linux 6.11.9-arch1-1
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 4096M
Cores: 8
Registry:
  debugger.attach.dialog.enabled=true
  ide.experimental.ui=true
  i18n.locale=
  transferSettings.vscode.onlyCargoToml=true
  terminal.new.ui.show.promotion=false
  llm.ai.assistant.toolwindow.activation.on.start=false
  org.toml.json.schema=false
Non-Bundled Plugins:
  com.google.tools.ij.aiplugin (1.5.0-243)
  com.codeium.intellij (1.26.9)
  com.tabnine.TabNine (1.165.0)
  com.github.gitofleonardo.simplesqlitebrowser (1.0.7)
  com.intellij.ml.llm (243.21565.247)
  com.intellij.grazie.pro (0.3.347)
  net.seesharpsoft.intellij.plugins.csv (4.0.0)
  com.github.copilot (1.5.29.7524)
  mobi.hsz.idea.gitignore (4.5.4)
Current Desktop: Undefined

Plugin
Gemini Code Assist | https://plugins.jetbrains.com/plugin/24198-gemini-code-assist
Google | https://plugins.jetbrains.com/vendor/Google
1.5.0-243
@ivanporty
Copy link
Collaborator

Thanks @airvzxf, looks like the browser is not opened automatically on your OS - are you able to open other links from the IDE, or use browser to sign in to other extensions without having to manually open the URL?

@airvzxf
Copy link
Author

airvzxf commented Nov 22, 2024

Thanks @airvzxf, looks like the browser is not opened automatically on your OS - are you able to open other links from the IDE, or use browser to sign in to other extensions without having to manually open the URL?

Yes, @ivanporty. I can open all the links from the IDE Rust Rover and other products of the JetBrains family. All of these links were open without problems, some of these were to login to web browser others for open web pages with information.

If you like, we can have a meeting in Google to share my screen.

@ivanporty
Copy link
Collaborator

Please submit feedback with your logs included - use status bar Gemini icon -> Submit feedback, and mention this Github issue, we will look into more details on our side. You could also attach a small screencast on how it looks for you here, thank you

@airvzxf
Copy link
Author

airvzxf commented Nov 25, 2024

Please submit feedback with your logs included - use status bar Gemini icon -> Submit feedback, and mention this Github issue, we will look into more details on our side. You could also attach a small screencast on how it looks for you here, thank you

Sure. Currently, it is working because I manually copy and paste the link of the logs in my web browser. But, I'll do the Gemini feedback.

@airvzxf
Copy link
Author

airvzxf commented Nov 25, 2024

I created the screencast and uploaded in a YouTube video. Furthermore, I sent the feedback as you mentioned.

@ivanporty
Copy link
Collaborator

Thank you! We'll take a look at this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants