Re: [Qgis-user] Plugins repository unavailable for 2.18? On MacOS

2018-05-28 Thread Fielding, Eric J (329A)
Richard,

Thanks! Now the plugins repository is working again on my Mac.

All the best,
++Eric


-Original Message-
From: Richard Duivenvoorde 
Reply-To: "rich...@duif.net" 
Date: Monday, May 28, 2018 at 12:23 AM
To: "Eric J. Fielding" , 
"qgis-user@lists.osgeo.org" 
Subject: Re: [Qgis-user] Plugins repository unavailable for 2.18? On MacOS

On 26-05-18 23:51, Richard Duivenvoorde wrote:
> On 26-05-18 23:37, Eric Fielding wrote:
>> I get this from the test (OSX Sierra 10.12.6):
>>
>> 
PyQt4.QtCore.QUrl(u'https://plugins.qgis.org/plugins/plugins.xml/?qgis=2.18')
>> None
>> None
>> 6
> 
> Thanks for reporting back.
> 
> Mmm, ok that is NOT right. I'll ask one of the devs with a mac to have a
> look. If all fails I remove plugins.qgis.org from Cloudflare caching.

Ok, confirmed here now.

I have removed the Cloudflare caching for now...

Let me know if it works or not.

Regards,

Richard Duivenvoorde



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

Re: [Qgis-user] Plugins repository unavailable for 2.18? On MacOS

2018-05-28 Thread 0x906
Confirmed. Thanks!!!


> On May 28, 2018, at 11:28 AM, Corda  wrote:
> 
> It works for me now, thanks!
> Corine
> 
> 
> 
> --
> Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

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

Re: [Qgis-user] Plugins repository unavailable for 2.18? On MacOS

2018-05-28 Thread Corda
It works for me now, thanks!
Corine



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Plugins repository unavailable for 2.18? On MacOS

2018-05-28 Thread gene
Thanks, it works for me.



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Plugins repository unavailable for 2.18? On MacOS

2018-05-28 Thread Richard Duivenvoorde
On 26-05-18 23:51, Richard Duivenvoorde wrote:
> On 26-05-18 23:37, Eric Fielding wrote:
>> I get this from the test (OSX Sierra 10.12.6):
>>
>> PyQt4.QtCore.QUrl(u'https://plugins.qgis.org/plugins/plugins.xml/?qgis=2.18')
>> None
>> None
>> 6
> 
> Thanks for reporting back.
> 
> Mmm, ok that is NOT right. I'll ask one of the devs with a mac to have a
> look. If all fails I remove plugins.qgis.org from Cloudflare caching.

Ok, confirmed here now.

I have removed the Cloudflare caching for now...

Let me know if it works or not.

Regards,

Richard Duivenvoorde

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

Re: [Qgis-user] Plugins repository unavailable for 2.18? On MacOS

2018-05-27 Thread gene
Same result for me (MacOSX Yosemite) with QGIS 2.14.x, 2.16 and 2.18:

PyQt4.QtCore.QUrl(u'https://plugins.qgis.org/plugins/plugins.xml/?qgis=2.14')
PyQt4.QtCore.QUrl(u'https://plugins.qgis.org/plugins/plugins.xml/?qgis=2.16')
PyQt4.QtCore.QUrl(u'https://plugins.qgis.org/plugins/plugins.xml/?qgis=2.18')
None
None
6 



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Plugins repository unavailable for 2.18? On MacOS

2018-05-26 Thread Corda
Yep, same result for me (MacOSX Yosemite):

PyQt4.QtCore.QUrl(u'https://plugins.qgis.org/plugins/plugins.xml/?qgis=2.18')
None
None
6



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Plugins repository unavailable for 2.18? On MacOS

2018-05-26 Thread Richard Duivenvoorde
On 26-05-18 23:37, Eric Fielding wrote:
> I get this from the test (OSX Sierra 10.12.6):
> 
> PyQt4.QtCore.QUrl(u'https://plugins.qgis.org/plugins/plugins.xml/?qgis=2.18')
> None
> None
> 6

Thanks for reporting back.

Mmm, ok that is NOT right. I'll ask one of the devs with a mac to have a
look. If all fails I remove plugins.qgis.org from Cloudflare caching.

Regards,

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

Re: [Qgis-user] Plugins repository unavailable for 2.18? On MacOS

2018-05-26 Thread Eric Fielding
I get this from the test (OSX Sierra 10.12.6):

PyQt4.QtCore.QUrl(u'https://plugins.qgis.org/plugins/plugins.xml/?qgis=2.18')
None
None
6



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Plugins repository unavailable for 2.18? On MacOS

2018-05-26 Thread 0x906
MacPro, OSX Sierra.

PyQt4.QtCore.QUrl(u'https://plugins.qgis.org/plugins/plugins.xml/?qgis=2.18')
None
None
6




> On May 26, 2018, at 3:46 PM, Richard Duivenvoorde  wrote:
> 
> On 26-05-18 20:35, Corda wrote:
>> I have exactly the same problem since last week or so, and haven't been able
>> to solve it yet. I can see the plugins at the url in a webpage in Safari,
>> but the repository is unavailable in the plugin manager for QGIS 2.18.
>> I don't really want to install 3.x just yet. Has reinstalling 2.18 solved
>> the problem for anyone?
> 
> So this appears to be a Mac only problem?
> Only thing that has changed is that Cloudflare is now in the middle...
> Could it be that a mac is caching the certificates or so?
> 
> 
> Can somebody with a mac (and having this problem) try to run the
> following in a file in the Python console?
> 
> 
> 
> from qgis.PyQt.QtNetwork import QNetworkRequest
> from qgis.PyQt.QtCore import *
> 
> def handle(reply):
>print ''
>print reply.url()
>print reply.attribute(QNetworkRequest.HttpStatusCodeAttribute)
>print reply.attribute(QNetworkRequest.HttpReasonPhraseAttribute)
>print reply.error()
> 
> def sslproblem(reply):
>print 'ssl problem'
>print reply
> 
> def test():
>nam = QgsNetworkAccessManager.instance()
>nam.finished.connect(handle)
>nam.sslErrors.connect(sslproblem)
>url='https://plugins.qgis.org/plugins/plugins.xml/?qgis=2.18'
>nam.get(QNetworkRequest(QUrl(url)))
> 
> test()
> 
> 
> 
> 
> With me this results in:
> 
> PyQt4.QtCore.QUrl(u'https://plugins.qgis.org/plugins/plugins.xml/?qgis=2.18')
> 200
> OK
> 0
> 
> Please report back if different.
> 
> Regards,
> 
> Richard Duivenvoorde
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

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

Re: [Qgis-user] Plugins repository unavailable for 2.18? On MacOS

2018-05-26 Thread Richard Duivenvoorde
On 26-05-18 20:35, Corda wrote:
> I have exactly the same problem since last week or so, and haven't been able
> to solve it yet. I can see the plugins at the url in a webpage in Safari,
> but the repository is unavailable in the plugin manager for QGIS 2.18.
> I don't really want to install 3.x just yet. Has reinstalling 2.18 solved
> the problem for anyone?

So this appears to be a Mac only problem?
Only thing that has changed is that Cloudflare is now in the middle...
Could it be that a mac is caching the certificates or so?


Can somebody with a mac (and having this problem) try to run the
following in a file in the Python console?



from qgis.PyQt.QtNetwork import QNetworkRequest
from qgis.PyQt.QtCore import *

def handle(reply):
print ''
print reply.url()
print reply.attribute(QNetworkRequest.HttpStatusCodeAttribute)
print reply.attribute(QNetworkRequest.HttpReasonPhraseAttribute)
print reply.error()

def sslproblem(reply):
print 'ssl problem'
print reply

def test():
nam = QgsNetworkAccessManager.instance()
nam.finished.connect(handle)
nam.sslErrors.connect(sslproblem)
url='https://plugins.qgis.org/plugins/plugins.xml/?qgis=2.18'
nam.get(QNetworkRequest(QUrl(url)))

test()




With me this results in:

PyQt4.QtCore.QUrl(u'https://plugins.qgis.org/plugins/plugins.xml/?qgis=2.18')
200
OK
0

Please report back if different.

Regards,

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