sourcegraph / cody

Type less, code more: Cody is an AI code assistant that uses advanced search and codebase context to help you write and fix code.
https://cody.dev
Apache License 2.0
2.74k stars 298 forks source link

bug: Not able to login to Cody #5786

Open deepak2431 opened 1 month ago

deepak2431 commented 1 month ago

Version

1.36.0

Describe the bug

I am not able to login to Coy, as my session got logged out automatically and each time I try to login I get a message that "User Active Token Limits Reached"

iScreen Shoter - Safari - 241003115806

Expected behavior

I should be able to login to Cody without any issue.

Additional context

No response

arafatkatze commented 1 month ago

@deepak2431 Thanks for the reporting

Can you go to your sourcegraph.com account and in settings and access tokens just delete a few tokens?

image

They should clean up redundant and old tokens for you.

sqs commented 1 month ago

@deepak2431 Did you get logged out many times and create many new access tokens to log in again recently? Trying to figure out if the issue is you getting logged out repeatedly, or just having many access tokens.

deepak2431 commented 1 month ago

@arafatkatze @sqs Thanks a lot for looking into this.

@arafatkatze I have deleted many tokens from my sourcegraph account, as a few were created while I was working on this project. But yeah, I have deleted more than 20-30 tokens recently. But it still shows the same error. I am not even able to create any token from the Sourcegraph Dashboard. Not sure if this is the backend issue of the main project.

@sqs I was just logged out once recently on its own; after that, I cannot log in as no new tokens are being created on the Sourcegraph dashboard.

The issue is having many access tokens which I suspect for sure, but yeah after deleting the tokens this issue still persists.

Kynlos commented 1 month ago

@arafatkatze @sqs Thanks a lot for looking into this.

@arafatkatze I have deleted many tokens from my sourcegraph account, as a few were created while I was working on this project. But yeah, I have deleted more than 20-30 tokens recently. But it still shows the same error. I am not even able to create any token from the Sourcegraph Dashboard. Not sure if this is the backend issue of the main project.

@sqs I was just logged out once recently on its own; after that, I cannot log in as no new tokens are being created on the Sourcegraph dashboard.

The issue is having many access tokens which I suspect for sure, but yeah after deleting the tokens this issue still persists.

Is this issue still happening or have you been able to login to your account?

Thanks!

deepak2431 commented 1 month ago

Hey @Kynlos , I am not yet able to login to my account. The issue is the session token is not being created from my dashboard.

https://www.loom.com/share/77118eba2c934bf1a0dbdfe4b16692fa

CC: @arafatkatze

Kynlos commented 1 month ago

Hey @Kynlos , I am not yet able to login to my account. The issue is the session token is not being created from my dashboard.

https://www.loom.com/share/77118eba2c934bf1a0dbdfe4b16692fa

CC: @arafatkatze

Thanks for letting me know.

The team are keeping a close eye on this issue as it seems to have been mostly resolved, so I've flagged your account to the relevant people, who will look into it as soon as possible, and reach out to you.

If you're available on Discord, feel free to drop me a message and I can keep you updated there, too :)

-Kynlo

PriNova commented 1 month ago

@deepak2431 Please update to the latest version 1.36.3 and report back if the problem persists. Thank you

deepak2431 commented 1 month ago

@PriNova I am using the latest version of Cody, still unable to access my account. Would appreciate any help on this!

deepak2431 commented 4 weeks ago

@arafatkatze @Kynlos @PriNova, are there any updates here? I am still not able to access my account for two weeks :)