<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"><html><head><meta name="qrichtext" content="1" /><style type="text/css">p, li { white-space: pre-wrap; }</style></head><body style=" font-family:'DejaVu Sans'; font-size:10pt; font-weight:400; font-style:normal;">Hi everybody,<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>I'm having problems with proxies too, using current svn builds on linux and Qt 4.5.2. A few months ago everything was fine, but unfortunately I do not no when the problems started.<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>I have modified line 376/7 in src/Preferences/MerkaartorPreferences.cpp to read<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>#if QT_VERSION > 0x040500<br>
                proxy.setType(QNetworkProxy::HttpCachingProxy);<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>and then tried HttpCachingProxy, HttpProxy and Socks5Proxy. Both HttpProxy and HttpCachingProxy fail here because they issue a "CONNECT" which the proxy  does not accept. If I understand the Qt documentation http://doc.trolltech.com/4.5/qnetworkproxy.html right, only the HttpProxy should use CONNECT. The Socks5Proxy works for me using an ssh tunnel bypassing the proxy.<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>The proxy setup code in MerkaartorPreferences looks pretty much like the example code in the Qt documentation. For reference I have also looked into KDEs Marble, which has started to work here with the latest version. Before it failed on the proxy too.<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>http://lxr.kde.org/source/KDE/kdeedu/marble/src/marble_part.cpp<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>It now loads the same tiles which Merkaartor failes to load in it's download dialog. Marble uses a HttpProxy, but I don't see much difference in the code.<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>Puzzled,<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>Thomas<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>Fabien wrote:<br>
> Martin Feuersänger <m <at> feuersaenger.de> writes:<br>
> > Hi all,<br>
> ><br>
> > I tried out 0.14-PRE1 yesterday, for the first time on Windows (using the<br>
> > prebuild debug version).<br>
> > However, I was behind a Microsoft ISA 2006 proxy. I gave hostname, port,<br>
> > username, and password to merkaartor but I only got a "http request<br>
> > failed" when trying to download.<br>
><br>
> Hi,<br>
><br>
> Proxy error too on SQUID 2.5 and no auth.<br>
> Works fine with JOSM.<br>
><br>
> Fabien<br>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
> Merkaartor mailing list<br>
> Merkaartor@openstreetmap.org<br>
> http://lists.openstreetmap.org/listinfo/merkaartor<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p><p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p></body></html>