This looks like an issue with the Belchertown theme. Are you on the newest 
release <https://github.com/poblabs/weewx-belchertown/releases>? 

After updating your DarkSky and Earthquake data, restart weewx as well. 

You have 2 errors. 

1 is the DarkSky forecast... Have you looked at the other replies 
<https://groups.google.com/d/msg/weewx-user/Sn_yS74F_KQ/laUyeWOIAQAJ> we've 
replied to you on the other thread about the manual setup? If you do not 
want to use forecasts, you can disable it. Check the General Options 
<https://github.com/poblabs/weewx-belchertown#general-options>on how. 

2 is the Earthquake data. Looks like usgs is using https and urllib isn't 
happy with the SSL. Let me look into this. 


On Tuesday, August 28, 2018 at 7:53:13 AM UTC-4, John Clark wrote:
>
> Was running fine, then all of a sudden
>
>
> (Debian install and sqlite)
>
>
> Aug 28 05:25:18 OptiPlex weewx[11233]:         ****  Generator terminated
> Aug 28 05:25:18 OptiPlex weewx[11233]: copygenerator: copied 22 files to 
> /var/www/html/weewx/belchertown
> Aug 28 05:25:18 OptiPlex weewx[11233]: reportengine: Running report FTP
> Aug 28 05:25:18 OptiPlex weewx[11233]: reportengine: Found configuration 
> file /etc/weewx/skins/Ftp/skin.conf for report FTP
> Aug 28 05:25:18 OptiPlex weewx[11233]: ftpupload: Attempting connection to 
> ftp.w0avq.org
> Aug 28 05:25:19 OptiPlex weewx[11233]: ftpupload: Connected to 
> ftp.w0avq.org
> Aug 28 05:25:19 OptiPlex weewx[11233]: ftpupload: Uploaded file 
> /weather/favicon.ico
> Aug 28 05:25:20 OptiPlex weewx[11233]: ftpupload: Uploaded file 
> /weather/style.css
> Aug 28 05:25:21 OptiPlex weewx[11233]: ftpupload: Uploaded file 
> /weather/images/sunrise.png
> Aug 28 05:25:21 OptiPlex weewx[11233]: ftpupload: Uploaded file 
> /weather/images/sunset.png
> Aug 28 05:25:22 OptiPlex weewx[11233]: ftpupload: Uploaded file 
> /weather/images/sleet.png
> Aug 28 05:25:22 OptiPlex weewx[11233]: ftpupload: Uploaded file 
> /weather/images/cloudy.png
> Aug 28 05:25:23 OptiPlex weewx[11233]: ftpupload: Uploaded file 
> /weather/images/clear-day.png
> Aug 28 05:25:23 OptiPlex weewx[11233]: acurite: Found station at bus=002 
> device=011
> Aug 28 05:25:23 OptiPlex weewx[11233]: acurite: next read in 18 seconds
> Aug 28 05:25:23 OptiPlex weewx[11233]: ftpupload: Uploaded file 
> /weather/images/index.html
> Aug 28 05:25:24 OptiPlex weewx[11233]: ftpupload: Uploaded file 
> /weather/images/snowflake-icon-15px.png
> Aug 28 05:25:24 OptiPlex weewx[11233]: ftpupload: Uploaded file 
> /weather/images/hail.png
> Aug 28 05:25:25 OptiPlex weewx[11233]: ftpupload: Uploaded file 
> /weather/images/partly-cloudy-day.png
> Aug 28 05:25:25 OptiPlex weewx[11233]: ftpupload: Uploaded file 
> /weather/images/clear-night.png
> Aug 28 05:25:26 OptiPlex weewx[11233]: ftpupload: Uploaded file 
> /weather/images/wind.png
> Aug 28 05:25:26 OptiPlex weewx[11233]: ftpupload: Uploaded file 
> /weather/images/partly-cloudy-night.png
> Aug 28 05:25:27 OptiPlex weewx[11233]: ftpupload: Uploaded file 
> /weather/images/thunderstorm.png
> Aug 28 05:25:27 OptiPlex weewx[11233]: ftpupload: Uploaded file 
> /weather/images/tornado.png
> Aug 28 05:25:27 OptiPlex weewx[11233]: ftpupload: Uploaded file 
> /weather/images/rain.png
> Aug 28 05:25:28 OptiPlex weewx[11233]: ftpupload: Uploaded file 
> /weather/images/snow.png
> Aug 28 05:25:28 OptiPlex weewx[11233]: ftpupload: Uploaded file 
> /weather/images/fog.png
> Aug 28 05:25:29 OptiPlex weewx[11233]: ftpupload: Uploaded file 
> /weather/json/index.html
> *Aug 28 05:25:29 OptiPlex weewx[11233]: ftpupload: Attempt #1. Failed 
> uploading /weather/json/darksky_forecast.json to ftp.w0avq.org 
> <ftp://ftp.w0avq.org>. Reason: 550 /weather/json/darksky_forecast.json: Not 
> a regular file*
> *Aug 28 05:25:30 OptiPlex weewx[11233]: ftpupload: Attempt #2. Failed 
> uploading /weather/json/darksky_forecast.json to ftp.w0avq.org 
> <ftp://ftp.w0avq.org>. Reason: 550 /weather/json/darksky_forecast.json: Not 
> a regular file*
> *Aug 28 05:25:30 OptiPlex weewx[11233]: ftpupload: Attempt #3. Failed 
> uploading /weather/json/darksky_forecast.json to ftp.w0avq.org 
> <ftp://ftp.w0avq.org>. Reason: 550 /weather/json/darksky_forecast.json: Not 
> a regular file*
> *Aug 28 05:25:30 OptiPlex weewx[11233]: ftpupload: Failed to upload file 
> /weather/json/darksky_forecast.json*
>
> *The above error is there regardless whether the "earthquake finder" is 
> active or not*
>
>
> Aug 28 05:25:31 OptiPlex weewx[11233]: ftpupload: Uploaded file 
> /weather/js/index.html
> Aug 28 05:25:31 OptiPlex weewx[11233]: ftpupload: Uploaded file 
> /weather/js/responsive-menu.js
>    **
> No Errors, so I shortened it
>    **
> Aug 28 05:30:02 OptiPlex weewx[11233]: acurite: Found station at bus=002 
> device=011
> Aug 28 05:30:02 OptiPlex weewx[11233]: acurite: next read in 18 seconds
> Aug 28 05:30:21 OptiPlex weewx[11233]: acurite: Found station at bus=002 
> device=011
> Aug 28 05:30:21 OptiPlex weewx[11233]: manager: Added record 2018-08-28 
> 05:30:00 CDT (1535452200) to database 'weewx.sdb'
> Aug 28 05:30:21 OptiPlex weewx[11233]: manager: Added record 2018-08-28 
> 05:30:00 CDT (1535452200) to daily summary in 'weewx.sdb'
> Aug 28 05:30:21 OptiPlex weewx[11233]: restx: StationRegistry: wait 
> interval (300 < 604800) has not passed for record 2018-08-28 05:30:00 CDT 
> (1535452200)
> Aug 28 05:30:21 OptiPlex weewx[11233]: restx: CWOP: wait interval (300 < 
> 600) has not passed for record 2018-08-28 05:30:00 CDT (1535452200)
> Aug 28 05:30:21 OptiPlex weewx[11233]: restx: WeatherCloud: wait interval 
> (300 < 600) has not passed for record 2018-08-28 05:30:00 CDT (1535452200)
> Aug 28 05:30:21 OptiPlex weewx[11233]: reportengine: Running reports for 
> latest time in the database.
> Aug 28 05:30:21 OptiPlex weewx[11233]: acurite: Found station at bus=002 
> device=011
> Aug 28 05:30:21 OptiPlex weewx[11233]: reportengine: Running report 
> StandardReport
> Aug 28 05:30:21 OptiPlex weewx[11233]: reportengine: Found configuration 
> file /etc/weewx/skins/Belchertown/skin.conf for report StandardReport
> Aug 28 05:30:21 OptiPlex weewx[11233]: cheetahgenerator: using search list 
> ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 
> 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 
> 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras', 
> 'user.belchertown.getAllStats', 'user.belchertown.getForecast', 
> 'user.belchertown.getEarthquake', 'user.belchertown.getNOAAdata', 
> 'user.belchertown.getSocialShare', 
> 'user.belchertown_highchartsSearchX.highchartsDay', 
> 'user.belchertown_highchartsSearchX.highchartsWeek', 
> 'user.belchertown_highchartsSearchX.highchartsMonth', 
> 'user.belchertown_highchartsSearchX.highchartsYear']
> Aug 28 05:30:21 OptiPlex weewx[11233]: acurite: next read in 18 seconds
> Aug 28 05:30:21 OptiPlex weewx[11233]: manager: Daily summary version is 
> 2.0
> Aug 28 05:30:21 OptiPlex weewx[11233]: restx: PWSWeather: Published record 
> 2018-08-28 05:30:00 CDT (1535452200)
> Aug 28 05:30:21 OptiPlex weewx[11233]: restx: Wunderground-PWS: Published 
> record 2018-08-28 05:30:00 CDT (1535452200)
> Aug 28 05:30:21 OptiPlex weewx[11233]: reportengine: Caught unrecoverable 
> exception in generator weewx.cheetahgenerator.CheetahGenerator
> *Aug 28 05:30:21 OptiPlex weewx[11233]:         ****  Error downloading 
> earthquake data. Check the URL and try again. You are trying to use URL: 
> http://earthquake.usgs.gov/fdsnws/event/1/query?limit=1&lat=37.212907&lon=-89.529325&maxradiuskm=1000&format=geojson&nodata=204&minmag=2
>  
> <http://earthquake.usgs.gov/fdsnws/event/1/query?limit=1&lat=37.212907&lon=-89.529325&maxradiuskm=1000&format=geojson&nodata=204&minmag=2>,
>  
> and the error is: <urlopen error [Errno 1] _ssl.c:510: error:14077410:SSL 
> routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure>*
> *Aug 28 05:30:21 OptiPlex weewx[11233]:         ****  Traceback (most 
> recent call last):*
> *Aug 28 05:30:21 OptiPlex weewx[11233]:         ****    File 
> "/usr/share/weewx/weewx/reportengine.py", line 239, in run*
> *Aug 28 05:30:21 OptiPlex weewx[11233]:         ****      obj.start()*
> *Aug 28 05:30:21 OptiPlex weewx[11233]:         ****    File 
> "/usr/share/weewx/weewx/reportengine.py", line 273, in start*
> *Aug 28 05:30:21 OptiPlex weewx[11233]:         ****      self.run()*
> *Aug 28 05:30:21 OptiPlex weewx[11233]:         ****    File 
> "/usr/share/weewx/weewx/cheetahgenerator.py", line 158, in run*
> *Aug 28 05:30:21 OptiPlex weewx[11233]:         ****      ngen = 
> self.generate(gen_dict[section_name], self.gen_ts)*
> *Aug 28 05:30:21 OptiPlex weewx[11233]:         ****    File 
> "/usr/share/weewx/weewx/cheetahgenerator.py", line 232, in generate*
> *Aug 28 05:30:21 OptiPlex weewx[11233]:         ****      ngen += 
> self.generate(section[subsection], gen_ts)*
> *Aug 28 05:30:21 OptiPlex weewx[11233]:         ****    File 
> "/usr/share/weewx/weewx/cheetahgenerator.py", line 232, in generate*
> *Aug 28 05:30:21 OptiPlex weewx[11233]:         ****      ngen += 
> self.generate(section[subsection], gen_ts)*
> *Aug 28 05:30:21 OptiPlex weewx[11233]:         ****    File 
> "/usr/share/weewx/weewx/cheetahgenerator.py", line 320, in generate*
> *Aug 28 05:30:21 OptiPlex weewx[11233]:         ****      default_binding)*
> *Aug 28 05:30:21 OptiPlex weewx[11233]:         ****    File 
> "/usr/share/weewx/weewx/cheetahgenerator.py", line 372, in _getSearchList*
> *Aug 28 05:30:21 OptiPlex weewx[11233]:         ****      searchList += 
> obj.get_extension_list(timespan, db_lookup)*
> *Aug 28 05:30:21 OptiPlex weewx[11233]:         ****    File 
> "/usr/share/weewx/user/belchertown.py", line 219, in get_extension_list*
> *Aug 28 05:30:21 OptiPlex weewx[11233]:         ****      raise 
> ValueError( "Error downloading earthquake data. Check the URL and try 
> again. You are trying to use URL: %s, and the error is: %s" % ( 
> earthquake_url, error ) )*
> *Aug 28 05:30:21 OptiPlex weewx[11233]:         ****  ValueError: Error 
> downloading earthquake data. Check the URL and try again. You are trying to 
> use URL: 
> http://earthquake.usgs.gov/fdsnws/event/1/query?limit=1&lat=37.212907&lon=-89.529325&maxradiuskm=1000&format=geojson&nodata=204&minmag=2
>  
> <http://earthquake.usgs.gov/fdsnws/event/1/query?limit=1&lat=37.212907&lon=-89.529325&maxradiuskm=1000&format=geojson&nodata=204&minmag=2>,
>  
> and the error is: <urlopen error [Errno 1] _ssl.c:510: error:14077410:SSL 
> routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure>*
>
> *I found that if I cut and pasted the URL to the USGS (in the browser) and 
> left off the trailing comma I got a response from USGS with no errors., 
> else  the "earthquake finder" turned on, weewx would update none of the 
> info in 'localhost/weewx' or my web page. Unfortunately I have no idea 
> where to remove it in the program.*
> -- 
> *John Clark <javascript:>*
>

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to