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

bug: Cannot get valid token anymore #3004

Open
fabioTrivisonno opened this issue Jan 22, 2025 · 2 comments
Open

bug: Cannot get valid token anymore #3004

fabioTrivisonno opened this issue Jan 22, 2025 · 2 comments
Labels
bug Something isn't working repo/jetbrains

Comments

@fabioTrivisonno
Copy link

IDE Information

IntelliJ IDEA 2024.3.2 (Community Edition)
Build #IC-243.23654.117, built on January 16, 2025
Runtime version: 21.0.5+8-b631.30 amd64 (JCEF 122.1.9)
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.awt.windows.WToolkit
Windows 10.0
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 4096M
Cores: 6
Registry:
ide.experimental.ui=true
llm.show.ai.promotion.window.on.start=false
Non-Bundled Plugins:
JRebelPlugin (2024.4.2)
com.sourcegraph.jetbrains (7.11.1)
org.sonarlint.idea (10.15.0.80347)
Kotlin: 243.23654.117-IJ

Bug Description

  • When you launch the ide, sourcegraph plugin is signed out.
  • Try to sign in Enterprise with a URL
  • The url my company provided open the browser in order to Authorize JetBrains IDE
  • I authorize it on the browser
  • A valid token is created (I checked on settings page and a email is received to notify me)
  • The Ide displays a popup: "The access token is invalid or has expired"

If I create a new token on setting page and paste it on sign in pane it let log me in, but it fails whenever I restart the ide

Additional context

The default browser is Edge Version 132.0.2957.115 (64-bit)
Same experience with Firefox 134.0.2 (64-bit)

@fabioTrivisonno fabioTrivisonno added bug Something isn't working repo/jetbrains labels Jan 22, 2025
Copy link

linear bot commented Jan 22, 2025

@fabioTrivisonno
Copy link
Author

In idea.log I found

2025-01-22 16:17:06,634 [1853262] WARN - #com.sourcegraph.cody.agent.CodyAgent - {"stack":"Error: Timeout\n at Timeout._onTimeout (C:\Users\xxx\AppData\Roaming\JetBrains\IdeaIC2024.3\plugins\Sourcegraph\agent\index.js:329992:20)\n at listOnTimeout (node:internal/timers:573:17)\n at process.processTimers (node:internal/timers:514:7)","message":"Timeout","name":"Error"}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working repo/jetbrains
Projects
None yet
Development

No branches or pull requests

1 participant