Closed rendered closed 12 years ago
The log window should give you some information. Important is the generated url. You can try to clone that url manually, to see if there is an error message. Example:
When I enter this information and press sync:
I see the following in the log window:
19:27:04 [Fetcher][C:\Documents and Settings\Administrator\My Documents\SparkleShare\.tmp\test1] Fetching folder: ssh://git@192.168.100.226/test1
19:27:04 [Fetcher] Disabled host key checking
19:27:04 [Cmd] git clone --progress "ssh://git@192.168.100.226/test1" "C:\Documents and Settings\Administrator\My Documents\SparkleShare\.tmp\test1"
19:27:21 [Git][test1 (4)] Checking for remote changes...
19:27:23 [Cmd] git ls-remote origin master
19:27:24 [Cmd] git log -1 --format=%H
19:27:32 [Git] Exit code 0
when I use git ls-remote
, it is also working:
C:\projects>git ls-remote ssh://git@192.168.100.226/test1
4c282e4e7401396bc86a1133caed48b308f56a48 HEAD
4c282e4e7401396bc86a1133caed48b308f56a48 refs/heads/master
Now when I enter this information and press sync:
I see the following in the log window:
19:30:53 [Fetcher][C:\Documents and Settings\Administrator\My Documents\SparkleShare\.tmp\test1] Fetching folder: ssh://git@192.168.100.123/test1
19:30:53 [Fetcher] Disabled host key checking
19:30:53 [Cmd] git clone --progress "ssh://git@192.168.100.123/test1" "C:\Documents and Settings\Administrator\My Documents\SparkleShare\.tmp\test1"
19:31:14 [Git] Exit code 128
19:31:14 [Fetcher] Failed
19:31:14 [Fetcher] Enabled host key checking
git ls-remote
is also not working:
C:\projects>git ls-remote ssh://git@192.168.100.123/test1
ssh: connect to host 192.168.100.123 port 22: Bad file number
fatal: The remote end hung up unexpectedly
But I get a bit more information what can be wrong. In my example 192.168.100.123:22 is not responding, because there is nothing at that ip address.
I think it would be helpfull to have the output of the git clone
executed by SparkleShare displayed in the "Something went wrong" page.
Thanks - I solved this by removing the git repository and recreating it again. Now I can open from both sides.
I seem to be having a problem adding a remote folder. I keeps telling me: Something went wrong. I can add other remote folders fine. I can also add this problem folder on another PC and it syncs fine except for this one. Is there any way for me to find out why it is bombing out?