<p dir="ltr"><br>
On 22 Sep 2015 01:03, "Dirk Hohndel" <<a href="mailto:dirk@hohndel.org">dirk@hohndel.org</a>> wrote:<br>
><br>
> On Tue, Sep 22, 2015 at 12:51:53AM +1000, Rick Walsh wrote:<br>
> > Here's the output from ./subsurface -v<br>
> ><br>
> > [rick@notyourcomputer build]$ ./subsurface -v<br>
> > git storage: update local repo<br>
> > sync with remote<br>
> > <a href="https://cloud.subsurface-divelog.org//git/rickmwalsh@gmail.com[rickmwalsh@gmail.com]">https://cloud.subsurface-divelog.org//git/rickmwalsh@gmail.com[rickmwalsh@gmail.com]</a><br>
> > Cloud storage: checking connection to cloud server<br>
> > git storage: fetch remote<br>
> > git storage: check remote status<br>
> > git storage: try to update<br>
> > git storage: update remote<br>
> ><br>
> > Then Subsurface freezes.<br>
><br>
> So it looks like it might be the git_remote_push() that hangs.<br>
> Which is odd, given that the fetch above seems to have worked.<br>
> I guess I need to add timestamps... how long did this take?<br>
> I mean how long from start to the "update remote" and hang?<br>
> A second? Five? Thirty?<br>
></p>
<p dir="ltr">Something like a second. Maybe more but less than 5.</p>
<p dir="ltr">> Can you run a traceroute to <a href="http://cloud.subsurface-divelog.org">cloud.subsurface-divelog.org</a> ?</p>
<p dir="ltr">Sleep now but I can tomorrow.</p>
<p dir="ltr">> What are your ping times?<br>
> If you access the server over https with a browser, is it responsive?<br>
><br>
The webview takes about a second to load/refresh</p>
<p dir="ltr">> > I tried again, this time making a small change:<br>
> ><br>
> > [rick@notyourcomputer build]$ ./subsurface -v<br>
> > Map theme file does not exist: ""<br>
> > QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No<br>
> > such file or directory<br>
> > git storage: update local repo<br>
> > sync with remote<br>
> > <a href="https://cloud.subsurface-divelog.org//git/rickmwalsh@gmail.com[rickmwalsh@gmail.com]">https://cloud.subsurface-divelog.org//git/rickmwalsh@gmail.com[rickmwalsh@gmail.com]</a><br>
> > Cloud storage: checking connection to cloud server<br>
> > Cloud storage: unable to connect to cloud server<br>
><br>
> Now this is interesting. Because above this worked. But it does have a<br>
> relatively short timeout. I'm wondering... if that's the issue. A really<br>
> slow connection that times out sometimes and doesn't in others instances.</p>
<p dir="ltr">If the connection were too slow, it shouldn't work on my old laptop. Cloud save works every time on the old and never on the new. I even plugged my new laptop directly into the router in case it was the wifi.</p>
<p dir="ltr">><br>
> > git storage: do git save<br>
><br>
> Now it's only saving to your local cache because it wasn't able to reach<br>
> the remote.<br>
><br>
> > removed reference to non-existant dive site with uuid ebc33231<br>
> > removed reference to non-existant dive site with uuid 9d62ab69<br>
> > removed reference to non-existant dive site with uuid fb3df0ad<br>
> > removed reference to non-existant dive site with uuid 9d62ab69<br>
> > removed reference to non-existant dive site with uuid 13f22db5<br>
> > ---many more lines like the above----<br>
><br>
> I wonder why that happens. Is this the first time you've successfully<br>
> saved in a while?<br>
></p>
<p dir="ltr">Yes, the version on the cloud was saved from my old computer.</p>
<p dir="ltr">> > This time Subsurface didn't freeze, but an error appears at the bottom of<br>
> > the screen: "Cannot connect to cloud server, working with local copy"<br>
><br>
> Yep, that's the correct behavior. Even when offline you still can work<br>
> with it.<br>
><br>
> /D<br>
</p>