ClaudeBar icon indicating copy to clipboard operation
ClaudeBar copied to clipboard

Unable to find session usage

Open st4c4tto opened this issue 9 months ago • 7 comments

Image

Hi! I'm really new to this stuff. Do you have any guide for beginner to set it up for claude?

st4c4tto avatar Feb 16 '26 04:02 st4c4tto

can you try api mode from settings which's stable than cli mode.

hanrw avatar Feb 16 '26 05:02 hanrw

How do you set that up?

st4c4tto avatar Feb 16 '26 08:02 st4c4tto

I am having this issue right now and have it set to use Claude API by default with CLI backup. I have closed and reopened ClaudeBar and ran Claude from terminal as suggested. Claude works fine in the terminal but ClaudeBar can't seem to find the session usage.

Image

BryanWall avatar May 19 '26 20:05 BryanWall

I am having this issue right now and have it set to use Claude API by default with CLI backup. I have closed and reopened ClaudeBar and ran Claude from terminal as suggested. Claude works fine in the terminal but ClaudeBar can't seem to find the session usage.

This is an update to my previous comment. I figured out that just running claude from Terminal wasn't sufficient to make sure Claudebar could access what it needs to read the usage info. I had to run /login after opening Claude in the terminal to refresh the login session. After I did that Claudebar was able to read accurate usage info. Maybe when Claudebar can't connect to Claude it should mention running /login instead of just running claude from Terminal.

Also, I noticed that before running /login that running claude /usage returned incorrect info, but acted as if it was logged in. After I ran /login it started returning correct results in the Terminal. I even asked Claude why it was returning incorrect results and its response was basically "IDK, lots of people having opened Github issues reporting incorrect results from claude /usage".

BryanWall avatar May 20 '26 14:05 BryanWall

Yes. Sometimes it requires running /login if you see Claude is unavailable.

hanrw avatar May 21 '26 03:05 hanrw

I think I'm seeing this same issue: every couple of days, ClaudeBar (in Claude API probe mode) tells me I need to log in into Claude in the terminal. I do, and ClaudeBar again works correctly for another couple of days... until it tells me to log in again.

But just today I realized that the Claude Code settings webpage shows that I have been creating new autorization tokens every few days, and they all are still active. So this sounds like ClaudeBar is causing me to create a new one every time. I'd expect ClaudeBar to catch one of those tokens instead, and keep using it for longer than a couple of days. Am I right?

Possibly related: #173

hmijail avatar May 31 '26 12:05 hmijail

login from claude cli worked for me. even though I was still logged in and using claude I just had to do /login and claudebar came to life!

marcvig avatar Jun 09 '26 04:06 marcvig