Welcome to the Cumulus Support forum.
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4018) - 28 March 2024
Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014 (a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4018) - 28 March 2024
Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014 (a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
Timed out trying to read data from the socket stream?
Moderator: mcrossley
-
- Posts: 57
- Joined: Mon 11 Apr 2016 12:39 pm
- Weather Station: Ecowitt hp2551
- Operating System: Windows 10
- Location: Finland
Timed out trying to read data from the socket stream?
Hello. Simple question: Had a blackout, after that cumulus isn't uploading anything. Otherwise it works normal. Log says: Timed out trying to read data from the socket stream.
Restart won't help. Windows 10 Cumulus build 3043. I tried cumulus 1 and it works.
Any idea what to do?
Restart won't help. Windows 10 Cumulus build 3043. I tried cumulus 1 and it works.
Any idea what to do?
- PaulMy
- Posts: 3777
- Joined: Sun 28 Sep 2008 11:54 pm
- Weather Station: Davis VP2 Plus 24-Hour FARS
- Operating System: Windows8 and Windows10
- Location: Komoka, ON Canada
- Contact:
Re: Timed out trying to read data from the socket stream?
May not resolve your current issue but can't hurt... upgrade to latest MX.
Enjoy,
Paul
Enjoy,
Paul
Davis Vantage Pro2+
C1 www.komokaweather.com/komokaweather-ca
MX www.komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX www.komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX www. komokaweather.com/cumulusmx4/index.htm
C1 www.komokaweather.com/komokaweather-ca
MX www.komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX www.komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX www. komokaweather.com/cumulusmx4/index.htm
- mcrossley
- Posts: 12695
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Timed out trying to read data from the socket stream?
Post your MXdiags folder please, not a lot we can do without that.
-
- Posts: 57
- Joined: Mon 11 Apr 2016 12:39 pm
- Weather Station: Ecowitt hp2551
- Operating System: Windows 10
- Location: Finland
Re: Timed out trying to read data from the socket stream?
Ok here's the folder.
You do not have the required permissions to view the files attached to this post.
- mcrossley
- Posts: 12695
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Timed out trying to read data from the socket stream?
It would be a good idea to upgrade to the latest version as I added more logging and resilience to the FTP process. Once you have upgraded, turn on FTP logging and post that log please.
- mcrossley
- Posts: 12695
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Timed out trying to read data from the socket stream?
First though you need to delete the file "/public_html/Saa/.in.realtimegauges.txttmp" off your web server. That is preventing further uploads of that file. Same problem with.. "/public_html/Saa/.in.realtime.txttmp"
The logs says they are hidden files, I've never seen them before, the usual files to remove are /public_html/Saa/realtimegauges.txttmp" and "/public_html/Saa/realtime.txttmp"
The logs says they are hidden files, I've never seen them before, the usual files to remove are /public_html/Saa/realtimegauges.txttmp" and "/public_html/Saa/realtime.txttmp"
-
- Posts: 57
- Joined: Mon 11 Apr 2016 12:39 pm
- Weather Station: Ecowitt hp2551
- Operating System: Windows 10
- Location: Finland
Re: Timed out trying to read data from the socket stream?
Well, tried updating, still doesn't work. Tried these things:
Updated to build 3050
Deleted old folder, installed build 3050
Deleted old folder and tried old backup version
Deleted everything in the web server
None of these helped. Noticed that /public_html/Saa/realtimegauges.txttmp" and "/public_html/Saa/realtime.txttmp keep appearing in the web server. Deleted them many times but they are always back. Quite pissed off right now..
Edit. The gauges.htm doesn't work anymore..
Updated to build 3050
Deleted old folder, installed build 3050
Deleted old folder and tried old backup version
Deleted everything in the web server
None of these helped. Noticed that /public_html/Saa/realtimegauges.txttmp" and "/public_html/Saa/realtime.txttmp keep appearing in the web server. Deleted them many times but they are always back. Quite pissed off right now..
Edit. The gauges.htm doesn't work anymore..
You do not have the required permissions to view the files attached to this post.
-
- Posts: 57
- Joined: Mon 11 Apr 2016 12:39 pm
- Weather Station: Ecowitt hp2551
- Operating System: Windows 10
- Location: Finland
Re: Timed out trying to read data from the socket stream?
Ftplog says:
STOR Saa/realtime.txttmp
550 Saa/realtime.txttmp: Temporary hidden file /public_html/Saa/.in.realtime.txttmp. already exists
2019-05-13 11.04.56.809 Uploading C:\CumulusMX\web\realtimegaugesT.txttmp to Saa/realtimegauges.txt
TYPE I
200 Type set to I
SIZE Saa/realtimegauges.txttmp
550 Saa/realtimegauges.txttmp: No such file or directory
PORT 192,168,1,177,197,132
200 PORT command successful
STOR Saa/realtimegauges.txttmp
550 Saa/realtimegauges.txttmp: Temporary hidden file /public_html/Saa/.in.realtimegauges.txttmp. already exists
Disposing FtpSocketStream...
Disposing FtpSocketStream...
2019-05-13 11.05.08.172 Uploading web\pressdata.json to /public_html/Saa/pressdata.json
Does anyone have any idea what to do? Reinstall windows?
STOR Saa/realtime.txttmp
550 Saa/realtime.txttmp: Temporary hidden file /public_html/Saa/.in.realtime.txttmp. already exists
2019-05-13 11.04.56.809 Uploading C:\CumulusMX\web\realtimegaugesT.txttmp to Saa/realtimegauges.txt
TYPE I
200 Type set to I
SIZE Saa/realtimegauges.txttmp
550 Saa/realtimegauges.txttmp: No such file or directory
PORT 192,168,1,177,197,132
200 PORT command successful
STOR Saa/realtimegauges.txttmp
550 Saa/realtimegauges.txttmp: Temporary hidden file /public_html/Saa/.in.realtimegauges.txttmp. already exists
Disposing FtpSocketStream...
Disposing FtpSocketStream...
2019-05-13 11.05.08.172 Uploading web\pressdata.json to /public_html/Saa/pressdata.json
Does anyone have any idea what to do? Reinstall windows?
- mcrossley
- Posts: 12695
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Timed out trying to read data from the socket stream?
The problem is here...
STOR Saa/realtimegauges.txttmp
550 Saa/realtimegauges.txttmp: Temporary hidden file /public_html/Saa/.in.realtimegauges.txttmp. already exists
Cumulus is asking the FTP server to save file " Saa/realtimegauges.txttmp".
The FTP server is erroring saying the file "Saa/.in.realtimegauges.txttmp" already exists and fails.
I have no idea where that file ".in.realtimegauges.txttmp" is coming from. The FTP server must be generating it.
You could try disabling the "FTP Rename" option, if that does not work then try enabling "Delete before upload". Neither of these ideal solutions though.
But it looks to me like the problem is not at your weather PC end, it is with the FTP server. Can you ask your web hoster to look into this?
STOR Saa/realtimegauges.txttmp
550 Saa/realtimegauges.txttmp: Temporary hidden file /public_html/Saa/.in.realtimegauges.txttmp. already exists
Cumulus is asking the FTP server to save file " Saa/realtimegauges.txttmp".
The FTP server is erroring saying the file "Saa/.in.realtimegauges.txttmp" already exists and fails.
I have no idea where that file ".in.realtimegauges.txttmp" is coming from. The FTP server must be generating it.
You could try disabling the "FTP Rename" option, if that does not work then try enabling "Delete before upload". Neither of these ideal solutions though.
But it looks to me like the problem is not at your weather PC end, it is with the FTP server. Can you ask your web hoster to look into this?
- mcrossley
- Posts: 12695
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Timed out trying to read data from the socket stream?
Did you actually delete the Saa/ folder?
-
- Posts: 57
- Joined: Mon 11 Apr 2016 12:39 pm
- Weather Station: Ecowitt hp2551
- Operating System: Windows 10
- Location: Finland
Re: Timed out trying to read data from the socket stream?
Yes i deleted whole folder. Didn't help. Tried another folder also, didn't help either..
I noticed that Mx creates .in.realtimegauges.txttmp, .in.index.htmtmp, .in.today.htmtmp, .in.tempdata.jsontmp... and many other files like those and then removes them.
I tried cumulus 1 again and it works normally. Quite strange case..
- mcrossley
- Posts: 12695
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Timed out trying to read data from the socket stream?
Stumped, I had a look at the FTP component source and I cannot find where it would create those files. And the snippet of FTPlog shows it is uploading a different file (STOR command) from the filename that the FTP server reports the error on.
Please post the FTPlog file.
Please post the FTPlog file.
-
- Posts: 2434
- Joined: Wed 08 Jun 2011 11:19 am
- Weather Station: Davis Vantage Pro 2 + Ecowitt
- Operating System: GNU/Linux Ubuntu 22.04 LXC
- Location: Alcaston, Shropshire, UK
- Contact:
Re: Timed out trying to read data from the socket stream?
Doesn't this happen when you have the FTP rename option ticked?
- mcrossley
- Posts: 12695
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Timed out trying to read data from the socket stream?
The rename option uploads the "<filename>tmp" file and renames it to "<filename>"
The FTP server *is* being told to store "STOR <filename>tmp" but errors on a file called ".in.<filename>tmp"
The FTP server *is* being told to store "STOR <filename>tmp" but errors on a file called ".in.<filename>tmp"
-
- Posts: 2434
- Joined: Wed 08 Jun 2011 11:19 am
- Weather Station: Davis Vantage Pro 2 + Ecowitt
- Operating System: GNU/Linux Ubuntu 22.04 LXC
- Location: Alcaston, Shropshire, UK
- Contact:
Re: Timed out trying to read data from the socket stream?
Sorry, I didn't spot that you had already mentioned FTP rename setting.
I concur - it looks as if the FTP server is at fault. Possibly not deleting its own tmp file from a previous uploàd.
I concur - it looks as if the FTP server is at fault. Possibly not deleting its own tmp file from a previous uploàd.