Failed Authentication #23
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
kahliburke/Kaimon.jl#23
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When I try to connect to Kaimon from claude, I frequently get a 'needs authentication' status. Basically this:
This definitely happens after every update, but I've also seen it at other times.
I do the authentication:
Which then always errors with:
The only way to get around this error is by disabling kaimon in claude, then re-enabling it.
There seems to be a deeper problem. It is constantly asking to authenticate and fails to spawn any sessions.
Probably unrelated, but when I quite kaimon I always get a segfault:
After some more testing. Something is breaking every new gate that attempts to start a connection. It then gets into a state where running code will always fail. The only thing that produces a working session is
@langestefan Thanks for the report. What version are you running and what authentication settings? What is in
~/.config/kaimon/config.json? Please make sure you're running the latest release, take a look at the package status for your project and the global environment, run]statusand]app status.I did a fresh install and it was still broken.
But I found the problem! At one point I was playing around with Kaimon, and I dev'd a local version of it, that was stuck on an older version. Installing or updating Kaimon did not warn me about or update the old version I still had in my global env. Launching the Kaimon app also didn't warn me that the version of Kaimon I had installed was not compatible with the kaimon app. That's what led to all the garbled output, something must have been updated in the serialization.
So to sum up, user error. But I think it would be good to check that the version of Kaimon.jl that is installed is compatible with the kaimon app. I see it already does a check whether Kaimon.jl is installed at all, but it should probably also check whether the installed version is supported.
@langestefan Ok, good to know, I don't consider it a 'user' error, I of course would like to handle all these edge cases. I do have some code that attempts to get things synced up between the app install and the package installed in the global env. But still room for improvement I see. These sorts of issues seem to me like one of Julia's rough edges, I feel like I frequently run into cases while developing packages where I forgot to remove some 'devved' package and check in the wrong path, or run into errors that boil down to run resolve, or instantiate, or remove the package and add again, or some variation on that theme.
A version compatibility check and error messaging is a good idea, I'll add it as a separate issue.