Changing git origin to use ssh instead of https causes abra deploy to fail #752
Reference in New Issue
Block a user
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?
Here is the log showing it fail when using the ssh origin, even thought
git pull --tagssucceeds:And here is the log showing how after I change origin back to http, then it works.
Thanks @notplants!
Can you show the output of
git remote -vand if there any corresponding entries to the remote connection details in your.ssh/config? Feel free to obscure whatever private details that you find necessary.We need to find a way to reproduce this locally and I think zoning on in the differences between SSH setups might be key for that. Anything you can share in that direction would be much appreciated!
(PS. you dumped a whole bunch of real server names that you manage in the logs you shared)
thanks for the alert about the server names in the debug output -- just deleted them other than the test server.
and ok! I will try ! sorry in advance if this ends up being some accidental weird thing about my ssh config... but maybe if it ends up being a weird config in my ssh, we could ideally figure out how to surface the error that something is off about the recipe git configuration
note in below, I added the dev remote later after I realized that abra was failing when origin was not https. as a workaround, I kept origin as the https endpoint and made a new remote called dev with the ssh endpoint which I used to push to. however, with or without the dev remote present, I see the same issue if origin is set to ssh
possibly relevant lines in ~/.ssh/config:
Another thing I thought to check was the way branches are set to track?
I'm sort of blanking here on how we could debug this further, unless you have ideas
... could there be some way to tell abra to print even more output of what it is trying to do when it connects to git?
I also had been hoping to have a session soon to learn how to actually hack on abra itself -- so if you don't have any ideas right now, I could also try to debug this further on my own locally after I get set up with that (at some point)