hbons / SparkleShare

Share and collaborate by syncing with any Git repository instantly. Linux, macOS, and Windows.
https://sparkleshare.org
Other
4.88k stars 579 forks source link

Unable to add own server #1890

Open MarkusKramer opened 5 years ago

MarkusKramer commented 5 years ago

I'm trying to connect to my own server. But adding the server fails.

The log (I've only replaced my server name with myserver.de):

➜  ~ flatpak run --user org.sparkleshare.SparkleShare       
10:08:42 Environment | SparkleShare 3.28.0 (Flatpak)
10:08:42 Environment | Git LFS 2.4.0
10:08:42 Environment | Git 2.17.0
10:08:42 Environment | GNOME (Linux 4.19.8.1)
10:08:42 Cmd | gio set "/home/cloud/SparkleShare" metadata::custom-icon-name org.sparkleshare.SparkleShare
10:08:42 Environment | GTK+ 3.22.30

(process:3): GLib-GIO-CRITICAL **: 10:08:42.883: g_application_get_is_remote: assertion 'application->priv->is_registered' failed
10:08:42 Environment | Status Icon: AppIndicator
10:09:22 Fetcher | /home/cloud/.config/org.sparkleshare.SparkleShare/tmp/sparklespace | Fetching folder: ssh://sparkleshare@myserver.de/butter/sparklespace
10:09:22 Auth | Fetching host key for myserver.de
10:09:22 Cmd | ssh-keyscan -t rsa -p 22 myserver.de
10:09:22 Auth | Skipping fingerprint check
10:09:22 Cmd | tmp | git ls-remote --heads "ssh://sparkleshare@myserver.de/butter/sparklespace"
10:09:23 Fetcher | Failed

Note, that I have not configured the server using the dazzle setup script, as I would like to have more control over what is happening server side. I've created my user "sparklespace" and added my public key to .ssh/authorized_keys. I've done "git init --bare" in "/butter/sparklespace".

I'm able to login with: ssh sparkleshare@myserver.de

This works as well (exit code 0, no output): git ls-remote --heads "ssh://sparkleshare@myserver.de/butter/sparklespace"

Is there a way to get more verbose log output?