plakar icon indicating copy to clipboard operation
plakar copied to clipboard

plakar login: unexpected 500 error after shell interruption

Open misterflop opened this issue 4 months ago • 2 comments

Hi team,

I encountered a bug when trying to authenticate using the plakar login command. Here are the steps to reproduce it:

Steps to Reproduce

  • Run plakar login from the terminal
  • Interrupt the login process with CTRL+C while waiting for browser-based confirmation
  • Click on the email button in the terminal to re-initiate the login
  • Try logging in again

Observed Behavior

The command fails with the following error:

plakar: unexpected status code: 500 : {"error":"OpError[limit-reached] Limit reached"}

Expected Behavior

The CLI should allow the login attempt after an aborted flow. Ideally, the authentication session should be reset automatically if it was interrupted by the user.

Environment

OS: Ubuntu

Plakar version: v1.0.3.rc2

Additional Notes

The issue seems to be related to rate limiting or session locking. Happy to help test a patch or provide more logs if needed.

Thanks for the great work on Plakar, loving the tool so far! :)

misterflop avatar Sep 10 '25 19:09 misterflop