error when saving information on the cloud

Anton Lundin glance at acc.umu.se
Thu Mar 30 04:20:16 PDT 2017


On 30 March, 2017 - Davide DB wrote:

> On 29 March 2017 at 21:54, Dirk Hohndel <dirk at hohndel.org> wrote:
> >
> > Ah. Ok. So what kind of proxy is it? What data did you set in the network
> > preferences? I used to try Subsurface against an http proxy all the time
> > (without authentication) and that worked until fairly recently).
> 
> Yes, it's an http proxy with authentication.
> I know that connction is ok because globe maps are correctly updated
> and moreover the log says that GIT connection was OK.
> GIT clone is failing I guess...
> 
> Is there some other test I could do?
> 
> cloud URL set as
> "https://cloud.subsurface-divelog.org//git/dbdavide@gmail.com[dbdavide@gmail.com]"
> "https://cloud.subsurface-divelog.org//git/dbdavide@gmail.com[dbdavide@gmail.com]"
> git_remote_repo: accessing
> https://cloud.subsurface-divelog.org//git/dbdavide@gmail.com
> git storage: 0 % ( start git interaction )
> git storage: create_local_repo
> Cloud storage: checking connection to cloud server
> Checking cloud connection...
> git storage: 0 % ( waited 1 sec for cloud connetion )
> Cloud storage: successfully checked connection to cloud server
> git storage: 0 % ( successfully checked cloud connection )
> git storage: calling git_clone()
> set proxy to "   XXXXXX  8080"

There might be something here.


The code is basically: 
(yes, mangled not correct, but just for the point)

proxy = QString("http://%1:%2@%3:%4").arg(prefs.proxy_user).arg(prefs.proxy_pass).arg(prefs.proxy_host).arg(prefs.proxy_port);

proxy_string = strdup(qPrintable(proxy));

fprintf(stderr, "set proxy to \"%s\"\n", proxy_string);

It really shouldn't be on the format:
"   XXXXXX  8080"

But I just hope that format is something you made up to mask your
private info.

> git storage: returned from git_clone() with error -1

I'd say, check which libgit2 version, and against which libcurl its
linked.

It might be that your libcurl is missing this support or something.


//Anton


-- 
Anton Lundin	+46702-161604


More information about the subsurface mailing list