weewx uplod CWOP fail

160 views
Skip to first unread message

kan6526

unread,
Nov 22, 2018, 9:40:16 PM11/22/18
to weewx-user
root@debian9:~# grep CWOP /var/log/syslog
Nov 23 09:55:49 debian9 weewx[12431]: restx: CWOP: Data for station FW1811 will be posted
Nov 23 09:57:37 debian9 weewx[12431]: restx: CWOP: Failed to publish record 2018-11-23 09:57:00 CST (1542938220): Tried 2 servers 3 times each
Nov 23 10:07:49 debian9 weewx[12431]: restx: CWOP: Failed to publish record 2018-11-23 10:07:00 CST (1542938820): Tried 2 servers 3 times each
Nov 23 10:17:41 debian9 weewx[12431]: restx: CWOP: Failed to publish record 2018-11-23 10:17:00 CST (1542939420): Tried 2 servers 3 times each
Nov 23 10:27:49 debian9 weewx[12431]: restx: CWOP: Failed to publish record 2018-11-23 10:27:00 CST (1542940020): Tried 2 servers 3 times each



------------------------------weewx.conf --------------------------------------------
 [[CWOP]]
        enable =true
        #enable = false
        station = FW1811
        post_interval = 600

Thomas Keffer

unread,
Nov 23, 2018, 7:51:50 AM11/23/18
to weewx...@googlegroups.com
This is most likely a network connectivity issue, but it's hard to tell with so little of the log. Can you post more of the log around the failures?

-tk

--
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 weewx-user+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

kan6526

unread,
Nov 23, 2018, 9:27:20 AM11/23/18
to weewx-user
Hi Thomas Keffer


Nov 23 22:12:13 debian9 weewx[12431]: restx: Shut down CWOP thread.
Nov 23 22:12:13 debian9 weewx[12431]: engine: Loading service weewx.restx.StdCWOP
Nov 23 22:12:13 debian9 weewx[12431]: restx: CWOP: Data for station FW1811 will be posted
Nov 23 22:12:13 debian9 weewx[12431]: engine: Finished loading service weewx.restx.StdCWOP
Nov 23 22:13:39 debian9 weewx[12431]: restx: CWOP: Attempt 1 to cwop.aprs.net:14580. Connection error: [Errno 111] 連線被拒絕
Nov 23 22:13:40 debian9 weewx[12431]: restx: CWOP: Attempt 2 to cwop.aprs.net:14580. Connection error: [Errno 111] 連線被拒絕
Nov 23 22:13:40 debian9 weewx[12431]: restx: CWOP: Attempt 3 to cwop.aprs.net:14580. Connection error: [Errno 111] 連線被拒絕
Nov 23 22:13:40 debian9 weewx[12431]: restx: CWOP: Attempt 1 to cwop.aprs.net:23. Connection error: [Errno 111] 連線被拒絕
Nov 23 22:13:40 debian9 weewx[12431]: restx: CWOP: Attempt 2 to cwop.aprs.net:23. Connection error: [Errno 111] 連線被拒絕
Nov 23 22:13:41 debian9 weewx[12431]: restx: CWOP: Attempt 3 to cwop.aprs.net:23. Connection error: [Errno 111] 連線被拒絕
Nov 23 22:13:41 debian9 weewx[12431]: restx: CWOP: Failed to publish record 2018-11-23 22:13:00 CST (1542982380): Tried 2 servers 3 times each
Nov 23 22:14:24 debian9 weewx[12431]: restx: CWOP: wait interval (60 < 600) has not passed for record 2018-11-23 22:14:00 CST (1542982440)
Nov 23 22:15:27 debian9 weewx[12431]: restx: CWOP: wait interval (120 < 600) has not passed for record 2018-11-23 22:15:00 CST (1542982500)
Nov 23 22:16:31 debian9 weewx[12431]: restx: CWOP: wait interval (180 < 600) has not passed for record 2018-11-23 22:16:00 CST (1542982560)
Nov 23 22:17:38 debian9 weewx[12431]: restx: CWOP: wait interval (240 < 600) has not passed for record 2018-11-23 22:17:00 CST (1542982620)
Nov 23 22:18:23 debian9 weewx[12431]: restx: CWOP: wait interval (300 < 600) has not passed for record 2018-11-23 22:18:00 CST (1542982680)
Nov 23 22:19:27 debian9 weewx[12431]: restx: CWOP: wait interval (360 < 600) has not passed for record 2018-11-23 22:19:00 CST (1542982740)
Nov 23 22:20:31 debian9 weewx[12431]: restx: CWOP: wait interval (420 < 600) has not passed for record 2018-11-23 22:20:00 CST (1542982800)
Nov 23 22:21:41 debian9 weewx[12431]: restx: CWOP: wait interval (480 < 600) has not passed for record 2018-11-23 22:21:00 CST (1542982860)
Nov 23 22:22:23 debian9 weewx[12431]: restx: CWOP: wait interval (540 < 600) has not passed for record 2018-11-23 22:22:00 CST (1542982920)
Nov 23 22:23:28 debian9 weewx[12431]: restx: CWOP: Attempt 1 to cwop.aprs.net:14580. Connection error: [Errno 111] 連線被拒絕
Nov 23 22:23:28 debian9 weewx[12431]: restx: CWOP: Attempt 2 to cwop.aprs.net:14580. Connection error: [Errno 111] 連線被拒絕
Nov 23 22:23:28 debian9 weewx[12431]: restx: CWOP: Attempt 3 to cwop.aprs.net:14580. Connection error: [Errno 111] 連線被拒絕
Nov 23 22:23:29 debian9 weewx[12431]: restx: CWOP: Attempt 1 to cwop.aprs.net:23. Connection error: [Errno 111] 連線被拒絕
Nov 23 22:23:29 debian9 weewx[12431]: restx: CWOP: Attempt 2 to cwop.aprs.net:23. Connection error: [Errno 111] 連線被拒絕
Nov 23 22:23:29 debian9 weewx[12431]: restx: CWOP: Attempt 3 to cwop.aprs.net:23. Connection error: [Errno 111] 連線被拒絕
Nov 23 22:23:29 debian9 weewx[12431]: restx: CWOP: Failed to publish record 2018-11-23 22:23:00 CST (1542982980): Tried 2 servers 3 times each
Nov 23 22:24:36 debian9 weewx[12431]: restx: CWOP: wait interval (60 < 600) has not passed for record 2018-11-23 22:24:00 CST (1542983040)

Andrew Milner

unread,
Nov 23, 2018, 9:50:35 AM11/23/18
to weewx-user
what happened between 10:27:49 and 22:12:13??  Did it upload during that period or are you saying that it never uploads??

Thomas Keffer

unread,
Nov 23, 2018, 12:30:15 PM11/23/18
to weewx...@googlegroups.com
You probably have a connectivity problem. Try this:

telnet cwop.aprs.net 14580

You should get a response something like:

Trying 129.15.108.117...
Connected to cwop.aprs.net.
Escape character is '^]'.
# javAPRSSrvr 3.15b08
^]

If you do not, then you have a connectivity issue. You may have to open up the port 14580 or 23 on your firewall.

If you do get this response, it is some other issue. In that case, please do not edit the log. Send everything around one of the failures.

-tk


Message has been deleted

kan6526

unread,
Nov 24, 2018, 10:44:22 AM11/24/18
to weewx-user
root@debian9:~# telnet cwop.aprs.net 14580
Trying 137.26.70.99...
Trying 85.188.1.27...
Trying 129.15.108.117...
Trying 44.155.254.4...
Trying 63.251.153.99...
Trying 66.151.32.203...
Trying 129.15.108.116...
telnet: Unable to connect to remote host: Connection refused

--------------------------------------------------------------------------------
root@debian9:~# telnet ftp.speed.hinet.net 21
Trying 210.61.132.2...
Connected to ftp.speed.hinet.net.

Escape character is '^]'.
220---------- Welcome to Pure-FTPd [privsep] ----------
220-You are user number 1 of 1000 allowed.
220-Local time is now 23:40. Server port: 21.
220-This is a private system - No anonymous login
220-IPv6 connections are also welcome on this server.
220 You will be disconnected after 2 minutes of inactivity.

Thomas Keffer

unread,
Nov 24, 2018, 11:12:16 AM11/24/18
to weewx...@googlegroups.com
Because telnet failed with all the CWOP servers, you have a connectivity problem, not a problem with WeeWX.

Check your firewall / router and make sure that port 14580 is open.

-tk

kan6526

unread,
Nov 24, 2018, 8:21:08 PM11/24/18
to weewx-user
Yes ,it OK


Thomas Keffer於 2018年11月25日星期日 UTC+8上午12時12分16秒寫道:

Thomas Keffer

unread,
Nov 24, 2018, 8:31:09 PM11/24/18
to weewx...@googlegroups.com
Well, something is blocking your packets! However, it looks like an occasional packet is getting through: http://www.findu.com/cgi-bin/raw.cgi?call=FW1811 The last one arrived about 1 minute ago. 

Did you figure it out? Was it a firewall issue?

-tk

kan6526

unread,
Nov 24, 2018, 9:30:10 PM11/24/18
to weewx-user
yes , shorewall firewall deny  14580
thank you!!  Thomas Keffer
Reply all
Reply to author
Forward
0 new messages