NOAA Plugin failing

Posted on
Fri Jan 22, 2021 11:45 pm
greenhornet offline
Posts: 60
Joined: Jan 22, 2011

NOAA Plugin failing

I'm getting the following error in the log when I enable the plugin and set up a new device with a station ID. Doesn't matter which station ID I use, it's always the same result.

NOAA Weather Error Error in plugin execution UiValidate:

Traceback (most recent call last):
File "plugin.py", line 120, in validateDeviceConfigUi
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 154, in urlopen
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 437, in open
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 550, in http_response
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 469, in error
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 409, in _call_chain
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 656, in http_error_302
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 431, in open
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 449, in _open
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 409, in _call_chain
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1240, in https_open
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1197, in do_open
URLError: <urlopen error [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590)>
Attachments
Screen Shot 2021-01-22 at 11.41.26 PM.png
Screen Shot 2021-01-22 at 11.41.26 PM.png (285.77 KiB) Viewed 533 times

Posted on
Sat Jan 23, 2021 7:48 am
FlyingDiver offline
User avatar
Posts: 5005
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: NOAA Plugin failing

Looks like you're on an old OS version. Looks like NOAA is now requiring a current version of TLS for the connection, so you'll need to be running High Sierra or later.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sat Jan 23, 2021 10:08 am
greenhornet offline
Posts: 60
Joined: Jan 22, 2011

Re: NOAA Plugin failing

UGH. The server is running on an older Mac mini. I've specifically seen mention from the devs in the past that they want to keep Indigo compatible with older hardware. Moving to High Sierra is going to require a new computer. Thanks for the info. Wish whomever put those requirements in the plugin would have kept those of us with older hardware in mind.

Posted on
Sat Jan 23, 2021 12:05 pm
FlyingDiver offline
User avatar
Posts: 5005
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: NOAA Plugin failing

greenhornet wrote:
UGH. The server is running on an older Mac mini. I've specifically seen mention from the devs in the past that they want to keep Indigo compatible with older hardware. Moving to High Sierra is going to require a new computer. Thanks for the info. Wish whomever put those requirements in the plugin would have kept those of us with older hardware in mind.


It's not the plugin developer's choice. The NOAA server is now requiring a more up to date SSL connection, which requires a more recent OS. Almost any plugin that connects to a cloud service is going to run into this sooner or later. NOAA is actually one of the last that I know of to do so.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sat Jan 23, 2021 12:09 pm
DaveL17 offline
User avatar
Posts: 5832
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: NOAA Plugin failing

Your frustration is totally understandable, but it's a security requirement that flows from the data provider (NOAA) to the Mac's operating system. It's not a requirement of the plugin and--as far as I know--there's nothing that Matt & Jay can do about it. I think the only possible solution would be for Apple to update TLS support for older operating systems, which they are likely not going to do.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Sat Jan 23, 2021 12:18 pm
FlyingDiver offline
User avatar
Posts: 5005
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: NOAA Plugin failing

DaveL17 wrote:
Your frustration is totally understandable, but it's a security requirement that flows from the data provider (NOAA) to the Mac's operating system. It's not a requirement of the plugin and--as far as I know--there's nothing that Matt & Jay can do about it. I think the only possible solution would be for Apple to update TLS support for older operating systems, which they are likely not going to do.


Actually it's worse than that, they did update the old OSes, but they didn't update the included Python libraries to match. People have tried manually updating the libraries on the older systems, with some success, but it's difficult and prone to breaking things.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sat Jan 23, 2021 2:10 pm
DaveL17 offline
User avatar
Posts: 5832
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: NOAA Plugin failing

Thanks for clarifying that. It's true that the core OS will probably still work (depending on how old it is).

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Sun Jan 24, 2021 12:41 am
kw123 offline
User avatar
Posts: 7481
Joined: May 12, 2013
Location: Dallas, TX

Re: NOAA Plugin failing

The plugin could be changed to use curl Instead of python requests
That has the proper tls version


Sent from my iPhone using Tapatalk

Posted on
Sun Jan 24, 2021 6:25 am
jay (support) offline
Site Admin
User avatar
Posts: 16640
Joined: Mar 19, 2008
Location: Austin, Texas

Re: NOAA Plugin failing

We do attempt to support older Macs as much as possible. However, as has been pointed out, when the underlying Python and/or macOS version doesn't support a feature like updated TLS/SSL security, there's nothing we can do about it. This particular issue has been building as security on the internet has progressed but Apple's support for it in older OS versions has lagged. The only fix is to upgrade macOS to a version that supports it - High Sierra or later specifically.

The High Sierra system requirements are pretty liberal - basically any Mac made since 2010. We do want to support older hardware as much as we can, but there are limits.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Mon Feb 01, 2021 10:57 pm
greenhornet offline
Posts: 60
Joined: Jan 22, 2011

Re: NOAA Plugin failing

I appreciate the responses here guys and I understand the reasons. but just think about the logic behind what we're talking about for a second. Internet security transmission requirements are being increased to be able to pull weather data.... Weather data. Publicly available weather data.

Posted on
Tue Feb 02, 2021 4:07 am
FlyingDiver offline
User avatar
Posts: 5005
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: NOAA Plugin failing

greenhornet wrote:
I appreciate the responses here guys and I understand the reasons. but just think about the logic behind what we're talking about for a second. Internet security transmission requirements are being increased to be able to pull weather data.... Weather data. Publicly available weather data.


It's not the weather data itself that's the issue, it's your data. The changes protect both ends of the link. Like who's requesting data for what location.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest