|Re: Error when pushing [message #1384031 is a reply to message #1383913]
||Wed, 28 May 2014 01:22
| Johnson Joe
Registered: August 2013
Matthias Sohn wrote on Tue, 27 May 2014 03:25|
Here is a patch to ensure the error is logged
I don't even know how to apply the patch :/ I've still got a lot to learn.
Matthias Sohn wrote on Tue, 27 May 2014 03:08
- Can you provide an explanation which steps you did until you hit this error dialog ?
- Which version of EGit/JGit are you using ?
- Are you using different ssh key pairs on these two computers ?
- Are you sure you used the right passphrase for the ssh key on the computer where it failed ?
RefSpecImpl.revalidateImpl() throws an exception which is converted to the dialog you are seeing.
Can you post the details you get when clicking the "Details" button ?
I'll try to provide as much information as possible.
I make changes to files in a project and save it, then commit to the local repository without problem. Right clicking my project folder, I go to Team>Remote>Push... and see the Push window. Usually the URI I want to use is filled in for me due to some settings, but since I've tried disconnecting my project from using Git and starting fresh I've had to paste the URI each time. I'm just using the clone URI found on the repository's Github page.
When I press next, it quickly turns up with a dialog saying
Cannot get remote repository refs.
org.eclipse.jgit.transport.CredentialItem$StringType:Passphrase for C:\Users\Pyraetos\.ssh\id_rsa
Using the Details button reveals nothing but the same information under "Reason:"
As for the version of EGit, I went to Help>About Eclipse and found a button for EGit. It seems to be 18.104.22.168312181205-r
At the time I posted this, I do not believe I was using different SSH keys on the two computers. I may be now because I generated a new one and loaded it into both Eclipse and Github to no avail.
As for the passphrase, I don't get far enough into the pushing process for it to ask me for a passphrase. This error occurs on the page directly after I enter the URI.
Also, I'm not sure if this is related, but under Team>Remote, the two options on the bottom (Configure push and Configure fetch) are grayed out on my desktop but are available on my laptop. I don't know why.
Thank you very much for helping me with this confusing problem!
Powered by FUDForum
. Page generated in 0.04320 seconds