Connection Reset by Peer Error

Posted on
Sat Mar 07, 2020 6:01 am
DaveL17 offline
User avatar
Posts: 6753
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Connection Reset by Peer Error

Thanks Carl. Glad to hear that you're back in business.

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

[My Plugins] - [My Forums]

Posted on
Sat Mar 07, 2020 7:14 am
palantir offline
Posts: 73
Joined: Sep 24, 2014

Re: Connection Reset by Peer Error

Folks -

I noticed to day that my (outdoor) temperature readings seemed off and found this thread. However, my issue seems not consistent with the resolution suggested here:

My MacMini is on High Sierra 10.13.6. <check>
Cynical Weather v1.2.1 <seems the latest version>
Dark Sky API is valid <check> but on Match 4th, around 11pm CET my API calls to Dark Sky stopped working.

The error I get is: "Amsterdam unavailable: [Errno 54] Connection reset by peer"

My python version is 2.7.16:
Code: Select all
[14:10:29] ronald@macmini:/$python
Python 2.7.16 (default, Dec  3 2019, 02:03:47)
[GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.31)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>


Any clue anyone?

Many thanks,
Ronald

Posted on
Sat Mar 07, 2020 7:23 am
DaveL17 offline
User avatar
Posts: 6753
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Connection Reset by Peer Error

Hi Ronald - thanks for the report. Are your calls to Dark Sky working now? They were performing maintenance on their services and were switching security protocols on and off during the process. If the service is currently working, I wouldn't worry too much about it. Please do report if the service is not working for you.

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

[My Plugins] - [My Forums]

Posted on
Sat Mar 07, 2020 7:23 am
palantir offline
Posts: 73
Joined: Sep 24, 2014

Re: Connection Reset by Peer Error

palantir wrote:
Folks -

I noticed to day that my (outdoor) temperature readings seemed off and found this thread. However, my issue seems not consistent with the resolution suggested here:

My MacMini is on High Sierra 10.13.6. <check>
Cynical Weather v1.2.1 <seems the latest version>
Dark Sky API is valid <check> but on Match 4th, around 11pm CET my API calls to Dark Sky stopped working.

The error I get is: "Amsterdam unavailable: [Errno 54] Connection reset by peer"

My python version is 2.7.16:
Code: Select all
[14:10:29] ronald@macmini:/$python
Python 2.7.16 (default, Dec  3 2019, 02:03:47)
[GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.31)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>


Any clue anyone?

Many thanks,
Ronald


Right... So my assumption was what there was something odd with my python version. But, after installing FantasticWeather (in addition to CynicalWeather), I WAS able to retrieve data from Dark Sky again! Seems to be an issue with CynicalWeather, at least on my setup...

I'll swap my temperature readings to FW, I guess!

Ronald
Last edited by palantir on Sat Mar 07, 2020 7:26 am, edited 1 time in total.

Posted on
Sat Mar 07, 2020 7:26 am
palantir offline
Posts: 73
Joined: Sep 24, 2014

Re: Connection Reset by Peer Error

DaveL17 wrote:
Hi Ronald - thanks for the report. Are your calls to Dark Sky working now? They were performing maintenance on their services and were switching security protocols on and off during the process. If the service is currently working, I wouldn't worry too much about it. Please do report if the service is not working for you.


Hi Dave -

Our posts crossed each other it seems. I currently have both CynicalWeather and FantasticWeather active. Cynical does not work but Fantastic does...

The good news is: it's 10C outside, and not 4! :lol:
Ronald

Posted on
Sat Mar 07, 2020 8:11 am
DaveL17 offline
User avatar
Posts: 6753
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Connection Reset by Peer Error

That's great, thanks for letting me know.

I'm envious -- it's -1°C here!

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

[My Plugins] - [My Forums]

Posted on
Sun Mar 08, 2020 10:58 am
DVDDave offline
Posts: 470
Joined: Feb 26, 2006
Location: San Jose, CA

Re: Connection Reset by Peer Error

I just noticed that my Cynical Weather plugin also is getting the "connection reset by peer" error. Apparently it started the afternoon of 4 March with no other errors around that time. MacOS 10.14.4

--Dave

Posted on
Sun Mar 08, 2020 11:08 am
DaveL17 offline
User avatar
Posts: 6753
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Connection Reset by Peer Error

I took a quick look at the Cynical Weather plugin and it's not immediately clear to me how it's pulling in data from Dark Sky. It doesn't appear to be using requests.py (which is what Fantastic Weather uses) which could account for the difference.

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

[My Plugins] - [My Forums]

Who is online

Users browsing this forum: No registered users and 3 guests