Problem accessing cloud behind a proxy

Davide DB dbdavide at gmail.com
Wed Nov 15 06:14:29 PST 2017


> BTW, Davide, are you testing a binary from downloads/testing, or a binary from GitHub? Those are slightly different - but both of them should handle settings the same way... IIRC I switched the on on GitHub around to no longer link against libcurl as clearly that proxy functionality wasn't used on Windows...

These test were performed with the
subsurface-4.7.2-74-g577bf57ddfb8.exe on download/test and 4.7.4
official.


On 15 November 2017 at 14:47, Dirk Hohndel <dirk at hohndel.org> wrote:
>
>
> On Nov 15, 2017, at 2:59 AM, Davide DB <dbdavide at gmail.com> wrote:
>
> Hi Robert,
>
> Dirk looked into this weeks ago:
>
> On 3 November 2017 at 17:31, Dirk Hohndel <dirk at hohndel.org> wrote:
>>
>> Preliminary results of this (and some more googling). There appears to be an issue with
>> libgit2 and authenticated proxies on Windows (and only on Windows) - which is why I never
>> saw this in my testing. I'm trying to figure out what the correct workaround might be
>>
>> https://github.com/libgit2/libgit2/issues/4069
>>
>> I no longer have access to the proxy that requires authentication, I'll need to build one
>> to test, I guess :-)
>
>
> I actually build a proxy with authentication just to be able to test that :-)
>
> AFAIK for the time being is not possible to use a proxy (until someone correct libgit2).


Ok so I understood correctly.

Given that I spent 99% of my time working with pc behind a company
proxy with authentication I decided to use tethering on my mobile
phone to get 4G connection just to download/upload my logbook on the
cloud.


> Subsurface 4.7.4 happily uses a proxy without authentication on Windows. It's the user/password embedded in the proxy URL (which works fine on Mac and Linux) that throws Windows into failure.
>
> 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.
> Maybe the subsurface trace log is not correct because I erased that values form my registry.
>
>
> If you get that error, it's trying to use a proxy. I wonder... do you have a system wide proxy set for your Windows machine? Is libgit2 trying to be clever and picking up those settings (and then getting it wrong)?

This sound interesting...
I have several PC which are behind my company proxy with authentication.
The hack procedure is:

- disable onboard gigabit network adapter
- connect my mobile phone via USB
- enable USB tethering on my mobile phone
- Windows automagically install the new network adapter
- I test the internet connection:
--- I disable proxy use on internet explorer: direct internet connection
--- I open Chrome and successfully connect to
http://cloud.subsurface-divelog.org/ (I get the user/pwd prompt)
--- I open cmd prompt and i ping a random webisite
- I launch Subsurface from the command prompt with the -v -v prompt
(the network preferences shows No Proxy and ALL proxy fields empty)
- I still see that infamous incorrect parameter proxy error :(

PS
Just to be sure, once I disable proxy use on Internet Explorer, all my
apps that access internet and have proxy settings inside don't work.
Google Chrome inherits proxy settings from IE so it works.
Putty has its own proxy settings so it won't works.

So I don't have a system proxy I guess






-- 
Davide
https://vimeo.com/bocio/videos


More information about the subsurface mailing list