CodeGeeX icon indicating copy to clipboard operation
CodeGeeX copied to clipboard

codegeex Vscode plugin login network issue

Open ahmedashraf443 opened this issue 5 months ago • 2 comments

Describe the bug

After a fresh installation of the CodeGeex plugin, I am unable to log in successfully. The initial login prompt redirects to codegeex.cn. After authenticating on the website, the plugin does not reflect the logged-in state. Attempting to log in again from the plugin's sidebar results in a "command not found" error.

To Reproduce

Steps to reproduce the behavior:

  • Install the CodeGeex plugin in the IDE.
  • When the initial pop-up appears asking to log in, click the "Login" button.
  • The browser opens and redirects to codegeex.cn.
  • Complete the sign-in process successfully in the browser.
  • Return to the IDE. Notice that the plugin still shows the "Login" prompt, as if the authentication was not successful (see Image 1).
  • Click the "Login" button from the plugin's own sidebar/panel.

An error message appears: 'codegeex.login' network issue (see Image 2).

Image Image

Expected behavior

Actual behavior

The plugin enters a login loop. The initial web authentication does not sync with the plugin, and subsequent login attempts from the plugin's UI fail After successfully authenticating in the browser, the plugin should recognize the login, update its state to "logged in," and become fully functional without requiring any further action.

Additional context

  • I am currently located in Kuwait.
  • I am not using a proxy or VPN.
  • I have searched for existing issues related to this but could not find a solution.
  • The redirection to the .cn domain might be relevant to the issue, as there could potentially be a regional or authentication endpoint mismatch.

ahmedashraf443 avatar Sep 02 '25 11:09 ahmedashraf443