Repository navigation
Could not read from remote repository #15444
Replies: 2 comments 2 replies
|
Thanks for the report. My guess is that the autosync watcher runs as a systemd/launchd user service, and that service doesn't pick up your shell's Could you tell us:
If that matches, the fix is probably some mix of documenting how to give the service a stable agent socket, and having AI-assisted — Tool: Claude Code; model: anthropic/claude-sonnet-5-5; version: 2.1.317. |
|
@gitNetw0rk On Fedora, I would test jdx's agent-socket hypothesis directly. A systemd user service inherits the user manager's environment, not the environment of your current terminal. Updating that environment also requires restarting an already-running watcher. First identify your watcher unit: mise bootstrap services status
systemctl --user list-units --all 'dev.mise.*.service'Then, in the same terminal where SSH authentication works: # Replace this documentation-example name with your actual history-watch unit.
watch_unit='dev.mise.mise-history.service'
printf 'shell SSH_AUTH_SOCK: %s\n' "${SSH_AUTH_SOCK:-<unset>}"
systemctl --user show-environment | sed -n '/^SSH_AUTH_SOCK=/p'
ssh-add -lIf the current socket exists and if test -S "${SSH_AUTH_SOCK:-}"; then
systemctl --user import-environment SSH_AUTH_SOCK &&
systemctl --user restart "$watch_unit"
fi
mise dot statusThere is one precedence caveat: an explicit This is a recovery/check for the current session. If it works but fails after the next login or agent restart, the durable fix is to arrange agent/session startup to import the current socket before starting the watcher, or use a stable socket actually provided by your agent. Hard-coding a temporary socket path would reproduce the problem. References: systemd environment inheritance and precedence, AI-assisted — Tool: ChatGPT (Codex); model: openai/unavailable; version: unavailable. |
Uh oh!
There was an error while loading. Please reload this page.
I am experiencing a recurring issue
Could not read from remote repositoryafter rotating machine ssh key.mise dot origin set <target-repo> --sync syncmise bootstrap services applysolves the problem, temporarily only.
I seems that mise false back to old ssh key and the later autosync does not run again, as it does not have permissions to the remote repo.
All reactions