<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 15 November 2017 at 11:09, Robert Helling <span dir="ltr"><<a href="mailto:helling@atdotde.de" target="_blank">helling@atdotde.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word">Hi,<div><span class="gmail-"><div><br><blockquote type="cite"><div>On 15. Nov 2017, at 10:13, Davide DB <<a href="mailto:dbdavide@gmail.com" target="_blank">dbdavide@gmail.com</a>> wrote:</div><br class="gmail-m_-5663639561868061963Apple-interchange-newline"><div><div style="font-family:Menlo-Regular;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">Cloud storage: successfully checked connection to cloud server</div><div style="font-family:Menlo-Regular;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">git storage: fetch remote</div><div style="font-family:Menlo-Regular;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">git storage: Successful cloud connection, fetch remote</div><div style="font-family:Menlo-Regular;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><b style="background-color:rgb(255,255,255)"><font color="#ff0000">remote fetch failed (Failed to set proxy: Parametro non corretto.</font></b></div><div style="font-family:Menlo-Regular;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">)</div><div style="font-family:Menlo-Regular;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">git storage: Done syncing with cloud storage</div></div></blockquote></div><div><br></div></span>I looked for the origin of this error message. “remote fetch failed” is Subsurface talking, “failed to set proxy” is libgit2. This only occurs in winhttp.c when a call to WinHttpSetOption fails. </div><div><br></div><div>So I googled for that call and found </div><div><br></div><div><a href="https://msdn.microsoft.com/de-de/library/windows/desktop/aa384114(v=vs.85).aspx" target="_blank">https://msdn.microsoft.com/de-<wbr>de/library/windows/desktop/<wbr>aa384114(v=vs.85).aspx</a></div><div><br></div><div>Most of this I don’t understand (having touched no windows system for a very long time. But my guess that the only thing that could be non-corretto would be the proxy url (and that part of the code that has this error message is only run when proxy_url is non-NULL). But of course it should be empty (and the fact that Subsurface says earlier "<font face="Menlo-Regular">delete proxy setting” should mean that that parameter got deleted.</font></div><div><font face="Menlo-Regular"><br></font></div><div><font face="Menlo-Regular">So it would be interesting to know what libgit2 thinks should be the proxy url.</font></div><div><font face="Menlo-Regular"><br></font></div><div><font face="Menlo-Regular">Unfortunately, I cannot build windows binaries but if anybody can I would say it’s worth trying to apply this patch to llibgit2 and then see what it produces.</font></div><div><br></div></div></blockquote><div><br></div><div><br></div><div>Hi Robert,</div><div><br></div><div>Dirk looked into this weeks ago:</div><div><br></div><div><span style="color:rgb(80,0,80);font-size:12.8px">On 3 November 2017 at 17:31, Dirk Hohndel </span><span dir="ltr" style="color:rgb(80,0,80);font-size:12.8px"><<a href="mailto:dirk@hohndel.org" target="_blank">dirk@hohndel.org</a>></span><span style="color:rgb(80,0,80);font-size:12.8px"> wrote:</span><br style="color:rgb(80,0,80);font-size:12.8px"><blockquote class="gmail_quote" style="color:rgb(80,0,80);font-size:12.8px;margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word"><div>Preliminary results of this (and some more googling). There appears to be an issue with</div><div>libgit2 and authenticated proxies on Windows (and only on Windows) - which is why I never</div><div>saw this in my testing. I'm trying to figure out what the correct workaround might be</div><div><br></div><div><a href="https://github.com/libgit2/libgit2/issues/4069" target="_blank">https://github.com/libgit2/lib<wbr>git2/issues/4069</a></div><div><br></div><div>I no longer have access to the proxy that requires authentication, I'll need to build one</div><div>to test, I guess :-)</div><span class="gmail-m_-6764005484333811734HOEnZb"><font color="#888888"><div><br></div><div>/D</div><div><br></div></font></span></div></blockquote><div><br></div><div><br></div><div>AFAIK for the time being is not possible to use a proxy (until someone correct libgit2).</div><div>The problem now is that I get a temporary direct access to internet but I cannot get rid of the previous proxy settings on my pc.</div><div>Maybe the subsurface trace log is not correct because I erased that values form my registry.</div><div><br></div><div>Thanks </div><div><br></div><div>Davide</div><div><br></div><div> </div></div><div> </div></div>
</div></div>