version control - "update canceled"

Answered

Hi there,

I have an IntelliJ-Project with several modules. All under version control. Some of them with subversion, some of them with git.
When I try to update the whole project the git update looks fine (messages in the version control window) but then the changes button gives me an "Update canceled" message and no further information. I simply don't know how to find out, why this message appears. Something seems to fail, but what?
If I do an update module by module it always tells me "all files are up-to-date"...

Does anybody have an idea how to find out???
July

9 comments
Avatar
Irina Chernushina
Comment actions Permalink

Hello Antje,

Please attach idea.log, I should have a look

I am not sure, but it could be that you are not logged into Subversion.
Please look into left lower corner, there could be a red exclamation sign, pressing it would give login prompt.

0
Comment actions Permalink

Hi Irina,

first point: I cannot see any red exclamation sign. It might be true - after starting IntelliJ I'm not logged into the subversion. When updating module by module, I'm asked to log on and then I can update each module. But even after updating all modules one by one, I cannot run the update for the whole project successfully... (and then the login problem should not be there anymore...)

I've attached the log-file.



Attachment(s):
idea.log.zip
0
Avatar
Irina Chernushina
Comment actions Permalink

There's exception in git update part, we'll check if it is already fixed for 10.5.1

0
Comment actions Permalink

Antje,

I confirm that this bug is fixed.
Please check that it works for you in 10.5.1 EAP build. You can download it here:      http://confluence.jetbrains.net/display/IDEADEV/IDEA+10.5+EAP
Thanks.

0
Comment actions Permalink

Hi Kirill,
thanks a lot. With the new version the error disappears. :-)

Antje

0
Comment actions Permalink

Hi,

I am using Intellij version 14.1.7 and I am facing similar issue. Whenever I try to update the code "update cancelled" pops up. I have to re update it few times for the code to get updated.

1
Comment actions Permalink

Hello,

 

Could you please attach idea.log ("Help | Show Log in...") after restarting IDEA and reproducing the issue?

0
Comment actions Permalink

I have the same problem, and here's the relevant portion of idea.log:

2018-02-28 13:01:00,341 [172982565]   INFO - t4idea.update.GitUpdateProcess - update started|MERGE 
2018-02-28 13:01:00,344 [172982568] INFO - t4idea.update.GitUpdateProcess - checkRebaseInProgress: checking if there is an unfinished rebase process...
2018-02-28 13:01:00,345 [172982569] INFO - t4idea.update.GitUpdateProcess - isMergeInProgress: checking if there is an unfinished merge process...
2018-02-28 13:01:00,345 [172982569] INFO - t4idea.update.GitUpdateProcess - areUnmergedFiles: checking if there are unmerged files...
2018-02-28 13:01:00,356 [172982580] INFO - idea.merge.GitConflictResolver - merge: no unmerged files
2018-02-28 13:01:00,357 [172982581] INFO - t4idea.update.GitUpdateProcess - checking tracked branch configuration...
2018-02-28 13:01:00,357 [172982581] INFO - #git4idea.update.GitFetcher - fetching /Users/alxx/Projects/feasthq
2018-02-28 13:01:00,357 [172982581] INFO - #git4idea.commands.GitHandler - [feasthq] git -c core.quotepath=false -c log.showSignature=false fetch origin --progress --prune
2018-02-28 13:01:01,615 [172983839] INFO - #git4idea.commands.GitHandler - java.io.IOException: There was a problem while connecting to github.com:22
2018-02-28 13:01:01,615 [172983839] INFO - #git4idea.commands.GitHandler - at com.trilead.ssh2.Connection.connect(Connection.java:817)
2018-02-28 13:01:01,615 [172983839] INFO - #git4idea.commands.GitHandler - at com.trilead.ssh2.Connection.connect(Connection.java:686)
2018-02-28 13:01:01,615 [172983839] INFO - #git4idea.commands.GitHandler - at com.trilead.ssh2.Connection.connect(Connection.java:600)
2018-02-28 13:01:01,615 [172983839] INFO - #git4idea.commands.GitHandler - at org.jetbrains.git4idea.ssh.SSHMain.start(SSHMain.java:173)
2018-02-28 13:01:01,615 [172983839] INFO - #git4idea.commands.GitHandler - at org.jetbrains.git4idea.ssh.SSHMain.main(SSHMain.java:137)
2018-02-28 13:01:01,615 [172983839] INFO - #git4idea.commands.GitHandler - Caused by: java.io.IOException: Key exchange was not finished, connection is closed.
2018-02-28 13:01:01,615 [172983839] INFO - #git4idea.commands.GitHandler - at com.trilead.ssh2.transport.KexManager.getOrWaitForConnectionInfo(KexManager.java:92)
2018-02-28 13:01:01,615 [172983839] INFO - #git4idea.commands.GitHandler - at com.trilead.ssh2.transport.TransportManager.getConnectionInfo(TransportManager.java:231)
2018-02-28 13:01:01,615 [172983839] INFO - #git4idea.commands.GitHandler - at com.trilead.ssh2.Connection.connect(Connection.java:769)
2018-02-28 13:01:01,615 [172983839] INFO - #git4idea.commands.GitHandler - ... 4 more
2018-02-28 13:01:01,615 [172983839] INFO - #git4idea.commands.GitHandler - Caused by: java.io.IOException: Cannot negotiate, proposals do not match.
2018-02-28 13:01:01,615 [172983839] INFO - #git4idea.commands.GitHandler - at com.trilead.ssh2.transport.KexManager.handleMessage(KexManager.java:413)
2018-02-28 13:01:01,615 [172983839] INFO - #git4idea.commands.GitHandler - at com.trilead.ssh2.transport.TransportManager.receiveLoop(TransportManager.java:765)
2018-02-28 13:01:01,616 [172983840] INFO - #git4idea.commands.GitHandler - at com.trilead.ssh2.transport.TransportManager$1.run(TransportManager.java:480)
2018-02-28 13:01:01,616 [172983840] INFO - #git4idea.commands.GitHandler - at java.lang.Thread.run(Thread.java:745)
2018-02-28 13:01:01,620 [172983844] INFO - #git4idea.commands.GitHandler - fatal: Could not read from remote repository.
2018-02-28 13:01:01,620 [172983844] INFO - #git4idea.commands.GitHandler - Please make sure you have the correct access rights
2018-02-28 13:01:01,620 [172983844] INFO - #git4idea.commands.GitHandler - and the repository exists.
2018-02-28 13:01:01,631 [172983855] INFO - ate.AbstractCommonUpdateAction - Calling refresh files after update for roots: [/Users/alxx/Projects/feasthq/]

It happens intermittently. Often it goes away if I restart Rubymine (mine is 2017.3.2 Build #RM-173.4301.17, built on January 11, 2018, JRE: 1.8.0_152-release-1024-b11 x86_64, JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o, Mac OS X 10.13.3).

If I run the git commands manually from a Terminal, they work fine.

Has something changed recently in your implementation of the ssh2 transport layer?

0

Please sign in to leave a comment.