issue with rtgd

105 views
Skip to first unread message

Δημήτρης Βήχος

unread,
May 2, 2025, 1:08:07 PM5/2/25
to weewx-user
i dont know when statred this issue ,i noticed 4 days ago.
rtgd generates localy normal every minyte , but in server uploading every 5 minutes with rest of weewx files.
i have post data php file on server in same file with gauge data text.
the strange thinh is that. in my second weather station with exacly same settings   in weewx.conf ( in diffrent folder  on remote server of caurse in diffrent pc ) rtgd works fine!
i was trying clean reinstaling of weewx  and rtgd. keaping only database , but the problem remaing.
restarting on weewx log tell me this

Μαΐ 02 19:58:29 rania weewxd[15534]: INFO weewx.engine: 'pyephem' detected, extended almanac data is available
Μαΐ 02 19:58:29 rania weewxd[15534]: INFO user.rtgd: version is 0.6.7
Μαΐ 02 19:58:29 rania weewxd[15534]: INFO user.rtgd: RealTimeGaugeData scroller text will use a fixed string
Μαΐ 02 19:58:29 rania weewxd[15534]: INFO user.rtgd: '/var/www/html/weewx/gauge-data.txt' wil be generated. min_interval is None
Μαΐ 02 19:58:29 rania weewxd[15534]: INFO __main__: Starting up weewx version 5.1.0
Μαΐ 02 19:58:29 rania weewxd[15534]: INFO weewx.engine: Using binding 'wx_binding' to database 'weewx.sdb'
Μαΐ 02 19:58:29 rania weewxd[15534]: INFO weewx.manager: Starting backfill of daily summaries
Μαΐ 02 19:58:29 rania weewxd[15534]: INFO weewx.manager: Daily summaries up to date
Μαΐ 02 19:58:29 rania weewxd[15534]: ERROR weewx.drivers.fousb: unrecognised magic number 2504
Μαΐ 02 19:58:29 rania weewxd[15534]: INFO weewx.drivers.fousb: synchronising to the weather station (quality=0)
Μαΐ 02 20:00:12 rania weewxd[15534]: INFO weewx.engine: Starting main packet loop.
Μαΐ 02 20:00:13 rania weewxd[15534]: INFO weewx.drivers.fousb: station status {'rain_overflow': 0, 'lost_connection': 0, 'unknown': 0} (0)

gjr80

unread,
May 2, 2025, 7:19:23 PM5/2/25
to weewx-user
Sorry, but from your description it is not clear to me what the issue is.

On Saturday, 3 May 2025 at 05:08:07 UTC+12 hobbyl...@gmail.com wrote:
rtgd generates localy normal every minyte , but in server uploading every 5 minutes with rest of weewx files.
i have post data php file on server in same file with gauge data text.

Do you mean gauge-data.txt is being generated every minute, but is only uploaded to your web server every five minutes as part of the normal WeeWX report cycle? Do you also mean you have set rtgd to upload gauge-data.txt to your web server via HTTP POST? If this is the case have you looked at the web server access log and error logs? If rtgd is accessing your web server you should see something in one or both of those logs. Also, edit weewx.conf and set debug = 1, save weewx.conf and restart WeeWX. Take a WeeWX log extract showing the full WeeWX startup and at least two report cycles. Post the log extract here without change. Also, could you make a copy of the [RealtimeGaugeData] stanza from weewx.conf and post it here, before posting make sure you check the stanza for any sensitive info such as passwords, keys etc.

Of course if the issue is something else please let me know.

Gary

Δημήτρης Βήχος

unread,
May 3, 2025, 12:09:31 AM5/3/25
to weewx-user
thank you for response
yes gauge data.txt generated every minute but uploads to remote server every 5 minutes with rest of weewx

root@rania:/home/metfm# journalctl -u weewx -f
Μαΐ 03 06:33:50 rania weewxd[1526]: INFO weewx.manager: Added record 2025-05-03 06:04:57 EEST (1746241497) to daily summary in 'weewx.sdb'
Μαΐ 03 06:33:50 rania weewxd[1526]: INFO weewx.engine: Starting main packet loop.
Μαΐ 03 06:33:50 rania weewxd[1526]: INFO weewx.drivers.fousb: station status {'rain_overflow': 0, 'lost_connection': 0, 'unknown': 0} (0)
Μαΐ 03 06:33:54 rania weewxd[1526]: ERROR weewx.restx: StationRegistry: Failed to publish record 2025-05-02 22:34:57 EEST (1746214497): HTTP Error 429: TOO MANY REQUESTS
Μαΐ 03 06:35:50 rania weewxd[1526]: INFO weewx.manager: Added record 2025-05-03 06:35:00 EEST (1746243300) to database 'weewx.sdb'
Μαΐ 03 06:35:50 rania weewxd[1526]: INFO weewx.manager: Added record 2025-05-03 06:35:00 EEST (1746243300) to daily summary in 'weewx.sdb'
Μαΐ 03 06:35:51 rania weewxd[1526]: INFO weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in 0.79 seconds
Μαΐ 03 06:35:53 rania weewxd[1526]: INFO weewx.imagegenerator: Generated 33 images for report SeasonsReport in 1.42 seconds
Μαΐ 03 06:35:53 rania weewxd[1526]: INFO weewx.reportengine: Copied 5 files to /var/www/html/weewx
Μαΐ 03 06:35:57 rania weewxd[1526]: INFO weewx.reportengine: ftpgenerator: Ftp'd 42 files in 4.52 seconds
Μαΐ 03 06:40:52 rania weewxd[1526]: INFO weewx.manager: Added record 2025-05-03 06:40:00 EEST (1746243600) to database 'weewx.sdb'
Μαΐ 03 06:40:52 rania weewxd[1526]: INFO weewx.manager: Added record 2025-05-03 06:40:00 EEST (1746243600) to daily summary in 'weewx.sdb'
Μαΐ 03 06:40:52 rania weewxd[1526]: INFO weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in 0.39 seconds
Μαΐ 03 06:40:52 rania weewxd[1526]: INFO weewx.imagegenerator: Generated 11 images for report SeasonsReport in 0.17 seconds
Μαΐ 03 06:40:52 rania weewxd[1526]: INFO weewx.reportengine: Copied 0 files to /var/www/html/weewx
Μαΐ 03 06:40:54 rania weewxd[1526]: INFO weewx.reportengine: ftpgenerator: Ftp'd 18 files in 2.09 seconds
Μαΐ 03 06:40:59 rania systemd[1]: Stopping weewx.service - WeeWX...
Μαΐ 03 06:40:59 rania weewxd[1526]: INFO __main__: Received signal TERM (15).
Μαΐ 03 06:40:59 rania weewxd[1526]: INFO weewx.engine: Main loop exiting. Shutting engine down.
Μαΐ 03 06:40:59 rania weewxd[1526]: INFO weewx.engine: Shutting down StdReport thread
Μαΐ 03 06:40:59 rania weewxd[1526]: INFO __main__: Terminating weewx version 5.1.0
Μαΐ 03 06:40:59 rania systemd[1]: weewx.service: Deactivated successfully.
Μαΐ 03 06:40:59 rania systemd[1]: Stopped weewx.service - WeeWX.
Μαΐ 03 06:40:59 rania systemd[1]: weewx.service: Consumed 4.266s CPU time.
Μαΐ 03 06:40:59 rania systemd[1]: Started weewx.service - WeeWX.
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO __main__: Initializing weewxd version 5.1.0
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO __main__: Command line: /usr/share/weewx/weewxd.py /etc/weewx/weewx.conf
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO __main__: Using Python: 3.11.2 (main, Nov 30 2024, 21:22:50) [GCC 12.2.0]
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO __main__: Located at:   /usr/bin/python3
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO __main__: Platform:     Linux-6.1.0-34-amd64-x86_64-with-glibc2.36
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO __main__: Locale:       'el_GR.UTF-8'
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO __main__: Entry path:   /usr/share/weewx/weewxd.py
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO __main__: WEEWX_ROOT:   /etc/weewx
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO __main__: Config file:  /etc/weewx/weewx.conf
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO __main__: User module:  /etc/weewx/bin/user
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO __main__: Debug:        0
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO __main__: User:         weewx
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO __main__: Group:        weewx
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO __main__: Groups:       weewx
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO weewx.engine: Loading station type FineOffsetUSB (weewx.drivers.fousb)
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO weewx.drivers.fousb: driver version is 1.3
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO weewx.drivers.fousb: polling mode is PERIODIC
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO weewx.drivers.fousb: polling interval is 60
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO weewx.drivers.fousb: found station on USB bus= device=
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO weewx.engine: StdConvert target unit is 0x1
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO weewx.wxservices: StdWXCalculate will use data binding wx_binding
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO weewx.engine: Archive will use data binding wx_binding
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO weewx.engine: Record generation will be attempted in 'software'
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO weewx.engine: Using archive interval of 300 seconds (software record generation)
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO weewx.restx: StationRegistry: Station will be registered.
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO weewx.restx: Wunderground: Posting not enabled.
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO weewx.restx: PWSweather: Posting not enabled.
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO weewx.restx: CWOP: Posting not enabled.
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO weewx.restx: WOW: Posting not enabled.
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO weewx.restx: AWEKAS: Posting not enabled.
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO weewx.engine: 'pyephem' detected, extended almanac data is available
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO user.rtgd: version is 0.6.7
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO user.rtgd: RealTimeGaugeData scroller text will use a fixed string
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO user.rtgd: '/var/www/html/weewx/gauge-data.txt' wil be generated. min_interval is None
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO __main__: Starting up weewx version 5.1.0
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO weewx.engine: Using binding 'wx_binding' to database 'weewx.sdb'
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO weewx.manager: Starting backfill of daily summaries
Μαΐ 03 06:40:59 rania weewxd[2582]: INFO weewx.manager: Daily summaries up to date
Μαΐ 03 06:41:00 rania weewxd[2582]: ERROR weewx.drivers.fousb: unrecognised magic number 2504
Μαΐ 03 06:41:00 rania weewxd[2582]: INFO weewx.drivers.fousb: synchronising to the weather station (quality=0)
Μαΐ 03 06:43:25 rania weewxd[2582]: INFO weewx.engine: Starting main packet loop.
Μαΐ 03 06:43:25 rania weewxd[2582]: INFO weewx.drivers.fousb: station status {'rain_overflow': 0, 'lost_connection': 0, 'unknown': 0} (0)
Μαΐ 03 06:45:25 rania weewxd[2582]: INFO weewx.manager: Added record 2025-05-03 06:45:00 EEST (1746243900) to database 'weewx.sdb'
Μαΐ 03 06:45:25 rania weewxd[2582]: INFO weewx.manager: Added record 2025-05-03 06:45:00 EEST (1746243900) to daily summary in 'weewx.sdb'
Μαΐ 03 06:45:26 rania weewxd[2582]: INFO weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in 0.81 seconds
Μαΐ 03 06:45:26 rania weewxd[2582]: INFO weewx.imagegenerator: Generated 11 images for report SeasonsReport in 0.24 seconds
Μαΐ 03 06:45:26 rania weewxd[2582]: INFO weewx.reportengine: Copied 5 files to /var/www/html/weewx
Μαΐ 03 06:45:29 rania weewxd[2582]: INFO weewx.reportengine: ftpgenerator: Ftp'd 20 files in 2.28 seconds
Μαΐ 03 06:45:41 rania weewxd[2582]: ERROR weewx.restx: StationRegistry: Failed to publish record 2025-05-03 06:45:00 EEST (1746243900): HTTP Error 429: TOO MANY REQUESTS
Μαΐ 03 06:50:26 rania weewxd[2582]: INFO weewx.manager: Added record 2025-05-03 06:50:00 EEST (1746244200) to database 'weewx.sdb'
Μαΐ 03 06:50:26 rania weewxd[2582]: INFO weewx.manager: Added record 2025-05-03 06:50:00 EEST (1746244200) to daily summary in 'weewx.sdb'
Μαΐ 03 06:50:27 rania weewxd[2582]: INFO weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in 0.52 seconds
Μαΐ 03 06:50:27 rania weewxd[2582]: INFO weewx.imagegenerator: Generated 11 images for report SeasonsReport in 0.22 seconds
Μαΐ 03 06:50:27 rania weewxd[2582]: INFO weewx.reportengine: Copied 0 files to /var/www/html/weewx
Μαΐ 03 06:50:29 rania weewxd[2582]: INFO weewx.reportengine: ftpgenerator: Ftp'd 19 files in 2.16 seconds
Μαΐ 03 06:55:28 rania weewxd[2582]: INFO weewx.manager: Added record 2025-05-03 06:55:00 EEST (1746244500) to database 'weewx.sdb'
Μαΐ 03 06:55:28 rania weewxd[2582]: INFO weewx.manager: Added record 2025-05-03 06:55:00 EEST (1746244500) to daily summary in 'weewx.sdb'
Μαΐ 03 06:55:28 rania weewxd[2582]: INFO weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in 0.52 seconds
Μαΐ 03 06:55:28 rania weewxd[2582]: INFO weewx.imagegenerator: Generated 11 images for report SeasonsReport in 0.21 seconds
Μαΐ 03 06:55:28 rania weewxd[2582]: INFO weewx.reportengine: Copied 0 files to /var/www/html/weewx
Μαΐ 03 06:55:31 rania weewxd[2582]: INFO weewx.reportengine: ftpgenerator: Ftp'd 19 files in 2.21 seconds
Μαΐ 03 07:00:29 rania weewxd[2582]: INFO weewx.manager: Added record 2025-05-03 07:00:00 EEST (1746244800) to database 'weewx.sdb'
Μαΐ 03 07:00:29 rania weewxd[2582]: INFO weewx.manager: Added record 2025-05-03 07:00:00 EEST (1746244800) to daily summary in 'weewx.sdb'
Μαΐ 03 07:00:29 rania weewxd[2582]: INFO weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in 0.50 seconds
Μαΐ 03 07:00:30 rania weewxd[2582]: INFO weewx.imagegenerator: Generated 22 images for report SeasonsReport in 0.81 seconds
Μαΐ 03 07:00:30 rania weewxd[2582]: INFO weewx.reportengine: Copied 0 files to /var/www/html/weewx
Μαΐ 03 07:00:34 rania weewxd[2582]: INFO weewx.reportengine: ftpgenerator: Ftp'd 30 files in 3.79 seconds
Μαΐ 03 07:05:30 rania weewxd[2582]: INFO weewx.manager: Added record 2025-05-03 07:05:00 EEST (1746245100) to database 'weewx.sdb'
Μαΐ 03 07:05:30 rania weewxd[2582]: INFO weewx.manager: Added record 2025-05-03 07:05:00 EEST (1746245100) to daily summary in 'weewx.sdb'
Μαΐ 03 07:05:30 rania weewxd[2582]: INFO weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in 0.40 seconds
Μαΐ 03 07:05:31 rania weewxd[2582]: INFO weewx.imagegenerator: Generated 11 images for report SeasonsReport in 0.18 seconds
Μαΐ 03 07:05:31 rania weewxd[2582]: INFO weewx.reportengine: Copied 0 files to /var/www/html/weewx
Μαΐ 03 07:05:33 rania weewxd[2582]: INFO weewx.reportengine: ftpgenerator: Ftp'd 19 files in 2.14 seconds


and [RealtimeGaugeData] stanza


[RealtimeGaugeData]
    # This section is for the RTGD service.
      # Remote URL to which the gauge-data.txt data will be posted via HTTP POST.
    # Optional, omit to disable HTTP POST.
    remote_server_url = https://kairos.moudania.com/moudania/post_gauge-data.php
    # timeout in seconds for remote URL posts. Optional, default is 2
    timeout = 1
    # text returned from remote URL indicating success. Optional, default is no
    # response text.
    response_text = success
    # Date format to be used in gauge-data.txt. Must be either %d/%m/%Y,
    # %m/%d/%Y or %Y/%m/%d. Separator may be forward slash '/' or a
    # hyphen '-'. Default is %Y/%m/%d.
    date_format = %Y/%m/%d
   
    # Time format to be used in gauge-data.txt. May be %H:%M or %h:%M.
    # Default is %H:%M
    time_format = %H:%M
   
    # Path to gauge-data.txt. Relative paths are relative to HTML_ROOT. If
    # empty HTML_ROOT is used, if setting omitted altogether /var/tmp is used.
    rtgd_path = /var/www/html/weewx
   
    # Scrolling text display or 'forecast' field source. Case insensitive.
    # All except Zambretti require a corresponding [[ ]] stanza. Uncomment and
    # select one entry to enable.
    # scroller_source = text|file|WU|Zambretti
   
    [[WU]]
    # Settings to be used for Weather Underground forecast block. Uncomment
    # to use.
   
    # WU API key to be used when calling the WU API
    # api_key = xxxxxxxxxxxxxxxx        
   
    [[Text]]
    # Settings to be used for user specified text block. Uncomment to use.
   
    # user specified text to populate the 'forecast' field
    # text = enter text here
   
    [[File]]
    # Settings to be used for first line of text file block. Uncomment to use.
   
    # Path and file name of file to use as block for the 'forecast'
    # field. Must be a text file, first line only of file is read.
    # file = path/to/file/file_name
   
    [[StringFormats]]
        # formats for gauge-data.txt fields by unit type
        degree_C = %.1f
        degree_F = %.1f
        degree_compass = %.0f
        foot = %.0f
        hPa = %.1f
        inHg = %.2f
        inch = %.2f
        inch_per_hour = %.2f
        km_per_hour = %.1f
        km = %.1f
        mbar = %.1f
        meter = %.0f
        meter_per_second = %.1f
        mile = %.1f
        mile_per_hour = %.1f
        mm = %.1f
        mm_per_hour = %.1f
        percent = %.0f
        uv_index = %.1f

gjr80

unread,
May 3, 2025, 4:52:29 AM5/3/25
to weewx-user
Unfortunately the log extract you posted was produced with debug = 0, not debug = 1 as requested (refer highlighted line below). Consequently the log will not show anything if uploading of gauge-data.txt to your web server failed. Did you set debug = 1 and restart WeeWX? If not please try again. Also, you made no mention of your web server access or error logs, did you check them for any relevant entries/errors?

Gary

Δημήτρης Βήχος

unread,
May 3, 2025, 5:31:02 AM5/3/25
to weewx-user
im sorry . i was debug 0. with debug=1   i was checking the server give  me no log errors

Μαΐ 03 12:19:43 rania weewxd[10562]: DEBUG weewx.engine: Station does not support reading the time
Μαΐ 03 12:19:43 rania weewxd[10562]: INFO weewx.engine: Using binding 'wx_binding' to database 'weewx.sdb'
Μαΐ 03 12:19:43 rania weewxd[10562]: INFO weewx.manager: Starting backfill of daily summaries
Μαΐ 03 12:19:43 rania weewxd[10562]: INFO weewx.manager: Daily summaries up to date
Μαΐ 03 12:19:43 rania weewxd[10562]: DEBUG weewx.manager: Daily summary version is 4.0
Μαΐ 03 12:19:43 rania weewxd[10562]: DEBUG weewx.manager: Daily summary version is 4.0
Μαΐ 03 12:19:43 rania weewxd[10562]: ERROR weewx.drivers.fousb: unrecognised magic number 2504
Μαΐ 03 12:19:43 rania weewxd[10562]: DEBUG weewx.drivers.fousb: get 99 records since 2025-05-03 09:30:00
Μαΐ 03 12:19:43 rania weewxd[10562]: INFO weewx.drivers.fousb: synchronising to the weather station (quality=0)
Μαΐ 03 12:19:44 rania weewxd[10562]: DEBUG weewx.drivers.fousb: status {'rain_overflow': 0, 'lost_connection': 0, 'unknown': 0} (0)
Μαΐ 03 12:20:09 rania weewxd[10562]: DEBUG weewx.drivers.fousb: new data
Μαΐ 03 12:20:09 rania weewxd[10562]: DEBUG weewx.drivers.fousb: setting sensor clock 9.8606
Μαΐ 03 12:20:09 rania weewxd[10562]: DEBUG weewx.drivers.fousb: live synchronised
Μαΐ 03 12:20:09 rania weewxd[10562]: DEBUG weewx.drivers.fousb: packet timestamp is 09:20:09
Μαΐ 03 12:20:09 rania weewxd[10562]: DEBUG weewx.drivers.fousb: estimated log time 09:04:45 +/- 24s (09:04:21..09:05:09)
Μαΐ 03 12:20:54 rania weewxd[10562]: DEBUG weewx.drivers.fousb: avoid 5.9059178829193115
Μαΐ 03 12:21:00 rania weewxd[10562]: DEBUG weewx.drivers.fousb: new data
Μαΐ 03 12:21:00 rania weewxd[10562]: DEBUG weewx.drivers.fousb: packet timestamp is 09:20:57
Μαΐ 03 12:21:00 rania weewxd[10562]: DEBUG weewx.drivers.fousb: estimated log time 09:05:03 +/- 6s (09:04:57..09:05:09)
Μαΐ 03 12:21:00 rania weewxd[10562]: DEBUG weewx.drivers.fousb: synchronised to 2025-05-03 09:05:03 for ptr 0xa920
Μαΐ 03 12:21:00 rania weewxd[10562]: DEBUG weewx.drivers.fousb: found 0 archive records
Μαΐ 03 12:21:00 rania weewxd[10562]: INFO weewx.engine: Starting main packet loop.
Μαΐ 03 12:21:01 rania weewxd[10562]: INFO weewx.drivers.fousb: station status {'rain_overflow': 0, 'lost_connection': 0, 'unknown': 0} (0)
Μαΐ 03 12:21:01 rania weewxd[10562]: DEBUG user.rtgd: Failed to post data: Remote end closed connection without response
Μαΐ 03 12:22:01 rania weewxd[10562]: DEBUG user.rtgd: Failed to post data: Remote end closed connection without response
Μαΐ 03 12:23:01 rania weewxd[10562]: DEBUG user.rtgd: Failed to post data: Remote end closed connection without response
Μαΐ 03 12:24:01 rania weewxd[10562]: DEBUG user.rtgd: Failed to post data: Remote end closed connection without response
Μαΐ 03 12:25:02 rania weewxd[10562]: DEBUG user.rtgd: Failed to post data: Remote end closed connection without response
Μαΐ 03 12:26:02 rania weewxd[10562]: INFO weewx.manager: Added record 2025-05-03 12:25:00 EEST (1746264300) to database 'weewx.sdb'
Μαΐ 03 12:26:02 rania weewxd[10562]: INFO weewx.manager: Added record 2025-05-03 12:25:00 EEST (1746264300) to daily summary in 'weewx.sdb'
Μαΐ 03 12:26:02 rania weewxd[10562]: DEBUG weewx.restx: StationRegistry: Delaying post by 38 seconds
Μαΐ 03 12:26:02 rania weewxd[10562]: DEBUG weewx.reportengine: Running reports for latest time in the database.
Μαΐ 03 12:26:02 rania weewxd[10562]: DEBUG weewx.reportengine: Running report 'SeasonsReport'
Μαΐ 03 12:26:02 rania weewxd[10562]: DEBUG user.rtgd: Failed to post data: Remote end closed connection without response
Μαΐ 03 12:26:02 rania weewxd[10562]: DEBUG weewx.reportengine: Found configuration file /etc/weewx/skins/Seasons/skin.conf for report 'SeasonsReport'
Μαΐ 03 12:26:02 rania weewxd[10562]: DEBUG weewx.reportengine: Unable to set locale 'gr': unsupported locale setting. Using default.
Μαΐ 03 12:26:02 rania weewxd[10562]: DEBUG weewx.reportengine: Running generators for report 'SeasonsReport' in directory '/etc/weewx/skins/Seasons' with locale 'el_GR.UTF-8'
Μαΐ 03 12:26:02 rania weewxd[10562]: DEBUG weewx.cheetahgenerator: Using search list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.DisplayOptions', 'weewx.cheetahgenerator.Extras', 'weewx.cheetahgenerator.Gettext', 'weewx.cheetahgenerator.JSONHelpers', 'weewx.cheetahgenerator.PlotInfo', 'weewx.cheetahgenerator.SkinInfo', 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo']
Μαΐ 03 12:26:02 rania weewxd[10562]: DEBUG weewx.manager: Daily summary version is 4.0
Μαΐ 03 12:26:02 rania weewxd[10562]: INFO weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in 0.64 seconds
Μαΐ 03 12:26:02 rania weewxd[10562]: DEBUG weewx.manager: Daily summary version is 4.0
Μαΐ 03 12:26:03 rania weewxd[10562]: INFO weewx.imagegenerator: Generated 11 images for report SeasonsReport in 0.24 seconds
Μαΐ 03 12:26:03 rania weewxd[10562]: INFO weewx.reportengine: Copied 5 files to /var/www/html/weewx
Μαΐ 03 12:26:03 rania weewxd[10562]: DEBUG weewx.reportengine: Report 'SmartphoneReport' not enabled. Skipping.
Μαΐ 03 12:26:03 rania weewxd[10562]: DEBUG weewx.reportengine: Report 'MobileReport' not enabled. Skipping.
Μαΐ 03 12:26:03 rania weewxd[10562]: DEBUG weewx.reportengine: Report 'StandardReport' not enabled. Skipping.
Μαΐ 03 12:26:03 rania weewxd[10562]: DEBUG weewx.reportengine: Running report 'FTP'
Μαΐ 03 12:26:03 rania weewxd[10562]: DEBUG weewx.reportengine: Found configuration file /etc/weewx/skins/Ftp/skin.conf for report 'FTP'
Μαΐ 03 12:26:03 rania weewxd[10562]: DEBUG weewx.reportengine: Cannot read localization file /etc/weewx/skins/Ftp/lang/gr.conf for report 'FTP': Config file not found: "/etc/weewx/skins/Ftp/lang/gr.conf".
Μαΐ 03 12:26:03 rania weewxd[10562]: DEBUG weewx.reportengine: **** Using defaults instead.
Μαΐ 03 12:26:03 rania weewxd[10562]: DEBUG weewx.reportengine: Unable to set locale 'gr': unsupported locale setting. Using default.
Μαΐ 03 12:26:03 rania weewxd[10562]: DEBUG weewx.reportengine: Running generators for report 'FTP' in directory '/etc/weewx/skins/Ftp' with locale 'el_GR.UTF-8'
Μαΐ 03 12:26:03 rania weewxd[10562]: DEBUG weeutil.ftpupload: Attempting connection to 185.25.23.230
Μαΐ 03 12:26:03 rania weewxd[10562]: DEBUG weeutil.ftpupload: Connected to 185.25.23.230
Μαΐ 03 12:26:03 rania weewxd[10562]: DEBUG weeutil.ftpupload: 0 ./daybarometer.png 2a12f06c4619a4f602dd41f395661cc922f18dc122dde352678cb13dcd84458a
Μαΐ 03 12:26:03 rania weewxd[10562]: DEBUG weeutil.ftpupload: Uploaded file /var/www/html/weewx/daybarometer.png to /public_html/moudania/daybarometer.png
Μαΐ 03 12:26:03 rania weewxd[10562]: DEBUG weeutil.ftpupload: 1 ./daytempdew.png 12641720df929eb8c982c0d427f165e582b5fff696eaffa3be1268ca24e6e85a
Μαΐ 03 12:26:03 rania weewxd[10562]: DEBUG weeutil.ftpupload: Uploaded file /var/www/html/weewx/daytempdew.png to /public_html/moudania/daytempdew.png
Μαΐ 03 12:26:03 rania weewxd[10562]: DEBUG weeutil.ftpupload: 2 ./daytempfeel.png 9da4ab25ca2c2634ff781885d22515f86eb51a26ce164e721fcd0dab816c22e6
Μαΐ 03 12:26:03 rania weewxd[10562]: DEBUG weeutil.ftpupload: Uploaded file /var/www/html/weewx/daytempfeel.png to /public_html/moudania/daytempfeel.png
Μαΐ 03 12:26:03 rania weewxd[10562]: DEBUG weeutil.ftpupload: 3 ./dayhum.png 445c0708c20b68a3e199bbda7146e04d8c248b4b848fae02c1bb185f26a79067
Μαΐ 03 12:26:03 rania weewxd[10562]: DEBUG weeutil.ftpupload: Uploaded file /var/www/html/weewx/dayhum.png to /public_html/moudania/dayhum.png
Μαΐ 03 12:26:03 rania weewxd[10562]: DEBUG weeutil.ftpupload: 4 ./daytempin.png 3938007e2699c58c1a3a1c1dfa8cb14cebfc048fdcec95a6c393cb95e588a736
Μαΐ 03 12:26:03 rania weewxd[10562]: DEBUG weeutil.ftpupload: Uploaded file /var/www/html/weewx/daytempin.png to /public_html/moudania/daytempin.png
Μαΐ 03 12:26:03 rania weewxd[10562]: DEBUG weeutil.ftpupload: 5 ./dayhumin.png 91c46e3217b38b9c0ebaae0fb5bc7dc4cc69af1683cd76a3083c41747eb0fadf
Μαΐ 03 12:26:03 rania weewxd[10562]: DEBUG weeutil.ftpupload: Uploaded file /var/www/html/weewx/dayhumin.png to /public_html/moudania/dayhumin.png
Μαΐ 03 12:26:03 rania weewxd[10562]: DEBUG weeutil.ftpupload: 6 ./dayrain.png a7ab9533d7cbc541140aab6439995a081d95f653af10f6dc33ec7d02ddf4fb92
Μαΐ 03 12:26:04 rania weewxd[10562]: DEBUG weeutil.ftpupload: Uploaded file /var/www/html/weewx/dayrain.png to /public_html/moudania/dayrain.png
Μαΐ 03 12:26:04 rania weewxd[10562]: DEBUG weeutil.ftpupload: 7 ./daywind.png dcb5d412ee5e397a3e6d728cb7ae3b62601df05ac4a93b75fc6cee5a12fa1129
Μαΐ 03 12:26:04 rania weewxd[10562]: DEBUG weeutil.ftpupload: Uploaded file /var/www/html/weewx/daywind.png to /public_html/moudania/daywind.png
Μαΐ 03 12:26:04 rania weewxd[10562]: DEBUG weeutil.ftpupload: 8 ./daywinddir.png e016a23822a8c4434c7d7454f8b2e4991a46f8f21162161266d4946052872cbd
Μαΐ 03 12:26:04 rania weewxd[10562]: DEBUG weeutil.ftpupload: Uploaded file /var/www/html/weewx/daywinddir.png to /public_html/moudania/daywinddir.png
Μαΐ 03 12:26:04 rania weewxd[10562]: DEBUG weeutil.ftpupload: 9 ./daywindvec.png 1a332985abccc87b99f362bc3fe34d409cb52e73c54a3d6d8f9c05af4b6a2b13
Μαΐ 03 12:26:04 rania weewxd[10562]: DEBUG weeutil.ftpupload: Uploaded file /var/www/html/weewx/daywindvec.png to /public_html/moudania/daywindvec.png
Μαΐ 03 12:26:04 rania weewxd[10562]: DEBUG weeutil.ftpupload: 10 ./dayrx.png 4dc30dc7ce98e8e79cd6f20c01a2a3428883ebf9482382d37a723156781ff4c4
Μαΐ 03 12:26:04 rania weewxd[10562]: DEBUG weeutil.ftpupload: Uploaded file /var/www/html/weewx/dayrx.png to /public_html/moudania/dayrx.png
Μαΐ 03 12:26:04 rania weewxd[10562]: DEBUG weeutil.ftpupload: 11 ./gauge-data.txt 57a71f626f37fada98214dd1ccd20463ffa4b416ffb573d38297c8739279a0e3
Μαΐ 03 12:26:04 rania weewxd[10562]: DEBUG weeutil.ftpupload: Uploaded file /var/www/html/weewx/gauge-data.txt to /public_html/moudania/gauge-data.txt
Μαΐ 03 12:26:04 rania weewxd[10562]: DEBUG weeutil.ftpupload: 12 ./index.html c49675785c2b0755d680e6809f4f0b6c3ae341e5b331dc509a74795f573dbd7e
Μαΐ 03 12:26:04 rania weewxd[10562]: DEBUG weeutil.ftpupload: Uploaded file /var/www/html/weewx/index.html to /public_html/moudania/index.html
Μαΐ 03 12:26:04 rania weewxd[10562]: DEBUG weeutil.ftpupload: 13 ./statistics.html c9ced16adc023e3334b98dad4c960128e95e737a1a91a6e4165e32699d0fdfb7
Μαΐ 03 12:26:04 rania weewxd[10562]: DEBUG weeutil.ftpupload: Uploaded file /var/www/html/weewx/statistics.html to /public_html/moudania/statistics.html
Μαΐ 03 12:26:04 rania weewxd[10562]: DEBUG weeutil.ftpupload: 14 ./telemetry.html eb76ba52d14509deb44c12ac86a3ce36a459f30df35597bc986e15daea9fb82c
Μαΐ 03 12:26:04 rania weewxd[10562]: DEBUG weeutil.ftpupload: Uploaded file /var/www/html/weewx/telemetry.html to /public_html/moudania/telemetry.html
Μαΐ 03 12:26:04 rania weewxd[10562]: DEBUG weeutil.ftpupload: 15 ./tabular.html befe7bfb89794d6f62a925dd5ec4e1bb5efa6c1854bd506a1af53a4ad70dc7fc
Μαΐ 03 12:26:04 rania weewxd[10562]: DEBUG weeutil.ftpupload: Uploaded file /var/www/html/weewx/tabular.html to /public_html/moudania/tabular.html
Μαΐ 03 12:26:04 rania weewxd[10562]: DEBUG weeutil.ftpupload: 16 ./celestial.html e20940103e762ac31cbe2763b7c8b7a91c411cc00288cdd50b1b7719a84dd924
Μαΐ 03 12:26:05 rania weewxd[10562]: DEBUG weeutil.ftpupload: Uploaded file /var/www/html/weewx/celestial.html to /public_html/moudania/celestial.html
Μαΐ 03 12:26:05 rania weewxd[10562]: DEBUG weeutil.ftpupload: 17 ./rss.xml b11c80b6ef96311672e2372c736f5254b345dffbb5b1df5c415f076cb0259ed5
Μαΐ 03 12:26:05 rania weewxd[10562]: DEBUG weeutil.ftpupload: Uploaded file /var/www/html/weewx/rss.xml to /public_html/moudania/rss.xml
Μαΐ 03 12:26:05 rania weewxd[10562]: DEBUG weeutil.ftpupload: 18 ./NOAA/NOAA-2025-05.txt ffebb3b35df10c246f9f758625f49b44f285f528072b928128eda50f94b180ad
Μαΐ 03 12:26:05 rania weewxd[10562]: DEBUG weeutil.ftpupload: Uploaded file /var/www/html/weewx/NOAA/NOAA-2025-05.txt to /public_html/moudania/NOAA/NOAA-2025-05.txt
Μαΐ 03 12:26:05 rania weewxd[10562]: DEBUG weeutil.ftpupload: 19 ./NOAA/NOAA-2025.txt fce89495afc4d6d5c495445be6604b2aa32326d724016fb4bd00a3c42a83d128
Μαΐ 03 12:26:05 rania weewxd[10562]: DEBUG weeutil.ftpupload: Uploaded file /var/www/html/weewx/NOAA/NOAA-2025.txt to /public_html/moudania/NOAA/NOAA-2025.txt
Μαΐ 03 12:26:05 rania weewxd[10562]: INFO weewx.reportengine: ftpgenerator: Ftp'd 20 files in 2.32 seconds
Μαΐ 03 12:26:05 rania weewxd[10562]: DEBUG weewx.reportengine: Report 'RSYNC' not enabled. Skipping.
Μαΐ 03 12:26:41 rania weewxd[10562]: DEBUG weewx.restx: StationRegistry: Posting too frequently: HTTP Error 429: TOO MANY REQUESTS
Μαΐ 03 12:26:41 rania weewxd[10562]: ERROR weewx.restx: StationRegistry: Failed to publish record 2025-05-03 12:25:00 EEST (1746264300): HTTP Error 429: TOO MANY REQUESTS
Μαΐ 03 12:27:02 rania weewxd[10562]: DEBUG user.rtgd: Failed to post data: Remote end closed connection without response
Μαΐ 03 12:28:02 rania weewxd[10562]: DEBUG user.rtgd: Failed to post data: Remote end closed connection without response
Μαΐ 03 12:29:03 rania weewxd[10562]: DEBUG user.rtgd: Failed to post data: Remote end closed connection without response

gjr80

unread,
May 5, 2025, 4:02:51 AM5/5/25
to weewx-user
So this looks like the HTTP post by rtgd is not successful:

Μαΐ 03 12:27:02 rania weewxd[10562]: DEBUG user.rtgd: Failed to post data: Remote end closed connection without response

Are you sure there is nothing in the web server logs, either the access or error logs? From my understanding of 'Remote end closed connection without response' you are hitting the end point but there connection was closed by the web server. If that is the case there should be a log entry in one of the web server logs. Please have another look.

Unfortunately I am away from home for the rest of the week so am unable to do much more troubleshooting just now.

Gary

Δημήτρης Βήχος

unread,
May 5, 2025, 9:54:02 AM5/5/25
to weewx-user
yesterday i was connected weewx to another server who  have for testing. restarting weewx, exactly the same issue. except rtgd all the rest weewx uploaded. and the message in terminal the same "remote and close connection" anyway i will check the logs again.
Reply all
Reply to author
Forward
0 new messages