I was wondering if anyone else is experiencing this issue with Belchertown 
and AERIS forecast. I was receiving forecasts from AERIS up to 12/15/2021 
1:00PMEST. After that, I am getting this error in my weewx.log:

**** Error downloading forecast data. Check the URL in your configuration 
and try again. You are trying to use URL: 
https://api.aerisapi.com/forecasts/27.872488,-82.821730?&format=json&filter=day&limit=7&client_id=4bsPze5DiJpq7sEIRk60G&client_secret=cYZ4xZ2Uyj4WWRMbkrZbRiEsuWMn2co9hwyBHTTh,
 
and the error is: HTTP Error 401: Unauthorized

**** FULL SNIPPET OF LOG IS ATTACHED TO THIS MESSAGE **** AERIS was 
providing forecast data to accounts that were publishing data to 
PWSWeather.com. I went to the AERIS website and they stated they have 
changed their authentication recently and need everyone to reset their 
account. I submitted a reset account request multiple times, but no 
response. Anyone else experiencing this?

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/1bcfe644-9112-43a9-9e54-206521e5d8c4n%40googlegroups.com.
Dec 20 14:05:23 7a8921452451 weewx[28] INFO weewx.restx: PWSWeather: Published 
record 2021-12-20 14:05:00 EST (1640027100)
Dec 20 14:05:23 7a8921452451 weewx[28] ERROR weewx.reportengine: Caught 
unrecoverable exception in generator 'weewx.cheetahgenerator.CheetahGenerator'
Dec 20 14:05:23 7a8921452451 weewx[28] ERROR weewx.reportengine:         ****  
Error downloading forecast data. Check the URL in your configuration and try 
again. You are trying to use URL: 
https://api.aerisapi.com/forecasts/27.872488,-82.821730?&format=json&filter=day&limit=7&client_id=4bsPze5DiJpq7sEIRk60G&client_secret=cYZ4xZ2Uyj4WWRMbkrZbRiEsuWMn2co9hwyBHTTh,
 and the error is: HTTP Error 401: Unauthorized
Dec 20 14:05:23 7a8921452451 weewx[28] ERROR weewx.reportengine:         ****  
Traceback (most recent call last):
Dec 20 14:05:23 7a8921452451 weewx[28] ERROR weewx.reportengine:         ****   
 File "/home/weewx/bin/user/belchertown.py", line 1260, in get_extension_list
Dec 20 14:05:23 7a8921452451 weewx[28] ERROR weewx.reportengine:         ****   
   response = urlopen(req)
Dec 20 14:05:23 7a8921452451 weewx[28] ERROR weewx.reportengine:         ****   
 File "/usr/lib/python3.6/urllib/request.py", line 223, in urlopen
Dec 20 14:05:23 7a8921452451 weewx[28] ERROR weewx.reportengine:         ****   
   return opener.open(url, data, timeout)
Dec 20 14:05:23 7a8921452451 weewx[28] ERROR weewx.reportengine:         ****   
 File "/usr/lib/python3.6/urllib/request.py", line 532, in open
Dec 20 14:05:23 7a8921452451 weewx[28] ERROR weewx.reportengine:         ****   
   response = meth(req, response)
Dec 20 14:05:23 7a8921452451 weewx[28] ERROR weewx.reportengine:         ****   
 File "/usr/lib/python3.6/urllib/request.py", line 642, in http_response
Dec 20 14:05:23 7a8921452451 weewx[28] ERROR weewx.reportengine:         ****   
   'http', request, response, code, msg, hdrs)
Dec 20 14:05:23 7a8921452451 weewx[28] ERROR weewx.reportengine:         ****   
 File "/usr/lib/python3.6/urllib/request.py", line 570, in error
Dec 20 14:05:23 7a8921452451 weewx[28] ERROR weewx.reportengine:         ****   
   return self._call_chain(*args)
Dec 20 14:05:23 7a8921452451 weewx[28] ERROR weewx.reportengine:         ****   
 File "/usr/lib/python3.6/urllib/request.py", line 504, in _call_chain
Dec 20 14:05:23 7a8921452451 weewx[28] ERROR weewx.reportengine:         ****   
   result = func(*args)
Dec 20 14:05:23 7a8921452451 weewx[28] ERROR weewx.reportengine:         ****   
 File "/usr/lib/python3.6/urllib/request.py", line 650, in http_error_default
Dec 20 14:05:23 7a8921452451 weewx[28] ERROR weewx.reportengine:         ****   
   raise HTTPError(req.full_url, code, msg, hdrs, fp)
Dec 20 14:05:23 7a8921452451 weewx[28] ERROR weewx.reportengine:         ****  
urllib.error.HTTPError: HTTP Error 401: Unauthorized
Dec 20 14:05:23 7a8921452451 weewx[28] ERROR weewx.reportengine:         ****  
Dec 20 14:05:23 7a8921452451 weewx[28] ERROR weewx.reportengine:         ****  
During handling of the above exception, another exception occurred:
Dec 20 14:05:23 7a8921452451 weewx[28] ERROR weewx.reportengine:         ****  
Dec 20 14:05:23 7a8921452451 weewx[28] ERROR weewx.reportengine:         ****  
Traceback (most recent call last):
Dec 20 14:05:23 7a8921452451 weewx[28] ERROR weewx.reportengine:         ****   
 File "/home/weewx/bin/weewx/reportengine.py", line 196, in run
Dec 20 14:05:23 7a8921452451 weewx[28] ERROR weewx.reportengine:         ****   
   obj.start()
Dec 20 14:05:23 7a8921452451 weewx[28] ERROR weewx.reportengine:         ****   
 File "/home/weewx/bin/weewx/reportengine.py", line 281, in start
Dec 20 14:05:23 7a8921452451 weewx[28] ERROR weewx.reportengine:         ****   
   self.run()
Dec 20 14:05:23 7a8921452451 weewx[28] ERROR weewx.reportengine:         ****   
 File "/home/weewx/bin/weewx/cheetahgenerator.py", line 152, in run
Dec 20 14:05:23 7a8921452451 weewx[28] ERROR weewx.reportengine:         ****   
   ngen = self.generate(gen_dict[section_name], self.gen_ts)
Dec 20 14:05:23 7a8921452451 weewx[28] ERROR weewx.reportengine:         ****   
 File "/home/weewx/bin/weewx/cheetahgenerator.py", line 222, in generate
Dec 20 14:05:23 7a8921452451 weewx[28] ERROR weewx.reportengine:         ****   
   ngen += self.generate(section[subsection], gen_ts)
Dec 20 14:05:23 7a8921452451 weewx[28] ERROR weewx.reportengine:         ****   
 File "/home/weewx/bin/weewx/cheetahgenerator.py", line 222, in generate
Dec 20 14:05:23 7a8921452451 weewx[28] ERROR weewx.reportengine:         ****   
   ngen += self.generate(section[subsection], gen_ts)
Dec 20 14:05:23 7a8921452451 weewx[28] ERROR weewx.reportengine:         ****   
 File "/home/weewx/bin/weewx/cheetahgenerator.py", line 311, in generate
Dec 20 14:05:23 7a8921452451 weewx[28] ERROR weewx.reportengine:         ****   
   default_binding)
Dec 20 14:05:23 7a8921452451 weewx[28] ERROR weewx.reportengine:         ****   
 File "/home/weewx/bin/weewx/cheetahgenerator.py", line 387, in _getSearchList
Dec 20 14:05:23 7a8921452451 weewx[28] ERROR weewx.reportengine:         ****   
   searchList += obj.get_extension_list(timespan, db_lookup)
Dec 20 14:05:23 7a8921452451 weewx[28] ERROR weewx.reportengine:         ****   
 File "/home/weewx/bin/user/belchertown.py", line 1384, in get_extension_list
Dec 20 14:05:23 7a8921452451 weewx[28] ERROR weewx.reportengine:         ****   
   % (forecast_24hr_url, error)
Dec 20 14:05:23 7a8921452451 weewx[28] ERROR weewx.reportengine:         ****  
Warning: Error downloading forecast data. Check the URL in your configuration 
and try again. You are trying to use URL: 
https://api.aerisapi.com/forecasts/27.872488,-82.821730?&format=json&filter=day&limit=7&client_id=4bsPze5DiJpq7sEIRk60G&client_secret=cYZ4xZ2Uyj4WWRMbkrZbRiEsuWMn2co9hwyBHTTh,
 and the error is: HTTP Error 401: Unauthorized
Dec 20 14:05:23 7a8921452451 weewx[28] ERROR weewx.reportengine:         ****  
Generator terminated

Reply via email to