[Qgis-user] QGIS+Proxy+HTTPS

2016-08-22 Thread Pasquale Di Donato
Dear list,

I'm trying to access some GeoJSON resources on a HTTPS Server (e.g.
https://d2ad6b4ur7yvpq.cloudfront.net/naturalearth-3.3.0/ne_50m_populated_places.geojson):
using QGIS 2.14 and/or 2.8.1 on Windows 7 Enterprise 64 bit.

When connecting outside my work network (e.g. via a Wi-Fi connection) I can
get the resources without any problem.
When connecting with my work network (via a proxy) the connection does not
work (Failed connect to ...)

Any idea?

Thanks

Pasquale
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] [Qgis-developer] Geojson URL's

2016-11-14 Thread Pasquale Di Donato
Just FYI, a couple of months ago I had the same issue with password secured
GeoJSON files over https and under proxy.
The access to the GeoJSON files worked without any problem without the
proxy.
Under the proxy I had to set the environment variable as said in a previous
email.



On Mon, Nov 14, 2016 at 8:43 AM, Paolo Cavallini 
wrote:

> Il 13/11/2016 10:23, Richard Duivenvoorde ha scritto:
>
> > BUT IF this works, it woul be nice to maybe make this part of a normal
> > QGIS setup:
> > IF a user set's a proxy, also create a environment variable for GDAL!
> >
> > Another option would maybe to have some wrapper around GDAL, or make
> > GDAL aware of using QTNetworkManager via that wrapper?
> >
> > Does this makes sense?
>
> Sure, all network settings should be centralized.
> IMHO better opening a ticket, not to forget about this, and of course
> helping to find a solution.
> All the best.
>
> --
> Paolo Cavallini - www.faunalia.eu
> QGIS & PostGIS courses: http://www.faunalia.eu/training.html
> https://www.google.com/trends/explore?date=all=IT=qgis,arcgis
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Geojson URL's

2016-11-12 Thread Pasquale Di Donato
Hi Phil,

if you are under a proxy you have to set a GDAL variable:

Settings --> Options --> System --> Environment --> Add a variable
GDAL_HTTPS_PROXY and put your proxy:port in "Value"

Hope helps,

Pasquale








On Sat, Nov 12, 2016 at 7:50 AM, Phil (The Geek) Wyatt <
p...@wyatt-family.com> wrote:

> Hi Folks,
>
>
>
> I have access to some dynamic geojson URL's however I cannot get QGIS to
> accept them. They are in the following format
>
>
>
> https://*myorganisation*.org.au/other/gis/get.geojson?filter[
> members][group][]=2337
>
>
>
> If I paste this into a web browser , (with the correct organisation!) I
> get a valid geojson file that I can save and use in QGIS however I want to
> use it dynamically via a URL
>
>
>
> I get the error
>
>
>
> *Invalid Data Source: *https://myorganisation.org.au/
> other/gis/get.geojson?filter[members][group][]=2337 is not a valid or
> recognized data source
>
>
>
> I suspect it's something to do with authentication but I can't seem to get
> that working either.
>
>
>
> Any clues appreciated
>
>
>
>
>
> Cheers - Phil
>
>
>
> Kiva Lender , Thin Green Line
> Supporter , Volunteer Mapper (GISMO) - Red
> Cross , Wildcare Volunteer
> 
>
>
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] WMS via https - "SSL handshake failed"

2017-01-04 Thread Pasquale Di Donato
Hi John,

I can access your service too. Using QGIS 2.14.8.
Maybe you have an issue with a proxy?

Pasquale

On Wed, Jan 4, 2017 at 12:57 AM, Jorge Gustavo Rocha 
wrote:

> Hi John,
>
> I've added your WMS service and it works without any problem. I've just
> added the url and the connect works. The capabilities are displayed.
>
> You can check the print screen [1] with your https WMS layer.
>
> I'm using QGIS 2.18.2 on Ubuntu. Which OS are you using?
>
> Regards,
>
> Jorge Gustavo
>
> [1] http://webgis.di.uminho.pt/~jgr/wms%20with%20https.png
>
>
> Às 17:42 de 03-01-2017, John Cartwright escreveu:
>
>> Thanks for your reply Luigi!  To be clear, the WMS service that I’m
>> trying to connect to does not require a username/password but is only
>> available via https.  The server (https://maps.ngdc.noaa.gov) has a
>> valid CA certificate.  I tried adding a SSL Server Configuration
>>  (preferences -> authentication -> Manage Certificates -> Server) and
>> while the entry appears to be valid, I still get the SSL Handshake error
>> when trying add a WMS layer.
>>
>> Any further ideas?  Here’s the actual URL I’m trying to add:
>>
>> https://maps.ngdc.noaa.gov/arcgis/services/gebco08_hillshade
>> /MapServer/WMSServer?request=GetCapabilities=WMS
>>
>> Thanks again for your help!
>>
>> —john
>>
>>
>> On Jan 2, 2017, at 1:52 AM, Luigi Pirelli >> > wrote:
>>>
>>> Hi John
>>>
>>> SSL is managed storing credentials using the QGIS Authentication
>>> Manager that store credentials in the same way as Firefox, in a master
>>> pwd crypted store in your $home/.qgis2/qgis-auth.db.
>>> You should managed credentials using Settings->options->authentication.
>>>
>>> QGIS uses OpenSSL => and specifically can import different king of
>>> credential method (using plugins => can be expanded). De default auth
>>> method installed are listed in the documentation:
>>> https://docs.qgis.org/2.14/en/docs/user_manual/auth_system/a
>>> uth_overview.html
>>>
>>> what is you auth method? can you explain the workflow you followed to
>>> store and use your credentials?
>>>
>>> regards
>>> Luigi Pirelli
>>>
>>> 
>>> **
>>> * Boundless QGIS Support/Development: lpirelli AT boundlessgeo DOT com
>>> * LinkedIn: https://www.linkedin.com/in/luigipirelli
>>> * Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli
>>> * GitHub: https://github.com/luipir
>>> * Mastering QGIS 2nd Edition:
>>> *
>>> https://www.packtpub.com/big-data-and-business-intelligence/
>>> mastering-qgis-second-edition
>>> 
>>> **
>>>
>>>
>>> On 29 December 2016 at 22:38, John Cartwright
>>>  wrote:
>>>
 Hello All,

 I’m trying to use a WMS service over https and get the following
 error when trying to connect:

 Failed to download capabilities:
 Download of capabilities failed: SSL handshake failed

 The URL works fine in a browser though.  I’m guessing that QGIS and
 the server are not able to agree on a cipher suite.  Can anyone tell
 me what ciphers QGIS supports or any way to get more insight into the
 underlying problem?

 QGIS is version 2.18.2.

 Thanks!

 —john

 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
 Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

>>>
>>
>>
>> ___
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org
>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>>
> J. Gustavo
> --
> Jorge Gustavo Rocha
> Departamento de Informática
> Universidade do Minho
> 4710-057 Braga
> Tel: +351 253604480
> Fax: +351 253604471
> Móvel: +351 910333888
> skype: nabocudnosor
>
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user