I get this error when I'm trying to run `gt submit...
# report-bugs
a
I get this error when I'm trying to run
gt submit
:
Copy code
ERROR: Command failed with error exit code 128:
git fetch --no-write-fetch-head --progress --no-tags -f origin refs/heads/andrew/gco-1390-base-presenter-mount-helpers:refs/...

<mailto:git@github.com|git@github.com>: Permission denied (publickey).
fatal: Could not read from remote repository.
I've checked the GH <> Graphite configuration, I've tried running
gt auth
with a token or via the regular UI, or resetting my auth... I'm at a loss. It suddenly stopped working for me midday.
✅ 1
p
(If applicable) To help us repro, please send the following if you haven't already: - PR links, screenshots, and/or debug output if applicable - Repro steps - Does this happen consistently? Just to you or others on your team also? - Is this a regression? Is the problem new? - If you're having an issue with the CLI, please send us debug logs using
gt feedback --with-debug-context <any message>
a
If I set the remote origin back to using https instead of ssh, it starts working again... but it seems like after a while graphite maybe tries to switch it back to ssh again?
p
hey andrew, can you run the following in your cli?
gt feedback --with-debug-context <any message>
 so i can take a look through the logs. just to confirm that the branch still existed on your local?
a
Yep the branch existed on my local.
Sending! I went ahead and did a bunch of stuff since then, apologies. Good luck hunting. Maybe it was a fluke 🤷
p
okay took a look at the logs and it looks like we don't surface the issue with ssh. 😔 we have an existing ticket open to add this to our cli logs for better troubleshooting. possible that it was just a fluke but let us know if it happens again.
👍 1
a
Will do, thanks for checking!