Author Topic: MB Pro - realtime.txt neither created nor sent by FTP ** solved **  (Read 501 times)

0 Members and 1 Guest are viewing this topic.

Offline Gyvate

  • Forecaster
  • *****
  • Posts: 3326
Following all available instructions for creating and sending the realtime.txt file created by the realtime.txt template failed in both my MB Pro.
FTP server installed, test file successfully sent - however selecting the template:realtime.txt and entering path + filename with the URL doesn't produce any result.
The exactly same constellation set up in my RPi4 is successful.
What's wrong with the realtime.txt file generation from the template and the forwarding (FTP upload) in the MB Pro (MB Pro 1, build 14236; MB Pro 2, build 14308) ?
« Last Edit: February 12, 2021, 06:08:16 PM by Gyvate »
WS2350 1.6.7, GW1000(3) 1.7.7,WH2650 WiFi (2) 1.7.7 (test/backup), GW1100 2.3.1, GW2000(3) 3.1.1, HP2551 1.9.5,5.1.5;HP3500 1.7.2,WS3800 1.2.8, WN1910 1.2.3,WN1980 1.2.3;
Ecowitt WS90(2)1.3.5/1.4.0, WS80(2)1.2.5, WS68, WS69, WH40, WH31, WH31-EP, WN30, WN34L, WN35, WH32, WH32-EP, WH32B, WH57 [Lightning], WH41 [PM2.5], WH51, WH45, WH55
MeteobridgePro(2)[test,prod] 5.8 Mar 01 2024, 15185 - Blake-Larsen Sun Recorder - RPi4/weewx 4.8.0/4.10.2/CumulusMX 3283/Meteobridge RPi4B-2GB(3169)
Barani Meteoshield Pro, MetSpec Rad02 - Ecowitt 5763,34418;WU ISAARB3(WH4000SE),ISAARB22(HP2553), http://meshka.eu

Offline Mattk

  • Forecaster
  • *****
  • Posts: 2157
Re: MB Pro - realtime.txt neither created nor sent by FTP
« Reply #1 on: February 12, 2021, 03:51:19 PM »
What is your Path (File): syntax? Have you included the User & Password in this path? 

Offline Gyvate

  • Forecaster
  • *****
  • Posts: 3326
Re: MB Pro - realtime.txt neither created nor sent by FTP
« Reply #2 on: February 12, 2021, 05:29:14 PM »
What is your Path (File): syntax? Have you included the User & Password in this path?
no user and password - that's not the instruction in the wiki
username and password are entered with the FTP server under Service settings
that entry (user name) and password are used by the services afaik - that's why you have to enter them. And the test FTP works.
And with my MB on RPi it also works - no password or user name in the path (file) - and it's the same target address.
Syntax is: /Folder/realtime.txt - "Folder" is located in the web root - but can be sent to any other Folder on the server from the RPi (without extra user/password)
the wiki says
"When you want to upload data to another FTP server, you can use a fully qualified URL-like FTP notation in the "Path" field. Format of the FTP URI has to be: ftp://user:password@host:port/path. Please notice that none of the elements is allowed to miss. Example: ftp://johndoe:mysecret@ftp.server.com:21/public_html/index.html"
(another I read as other than the ftp server entered under service settings)
If "another" however means  "anyway", then the Wiki is simply wrong. (I will try if this is how it has to be with the Pro - which would be pretty weird)

I tried now with ftp://user:password@IP-address:21/Folder/realtime.txt  - no success - the upload status says: no FTP upload
So it must be something MB Pro specific (i.e. the software installed on the MB Pro or portions specific for the MB Pro) that keeps it from being successful.
« Last Edit: February 12, 2021, 05:50:13 PM by Gyvate »
WS2350 1.6.7, GW1000(3) 1.7.7,WH2650 WiFi (2) 1.7.7 (test/backup), GW1100 2.3.1, GW2000(3) 3.1.1, HP2551 1.9.5,5.1.5;HP3500 1.7.2,WS3800 1.2.8, WN1910 1.2.3,WN1980 1.2.3;
Ecowitt WS90(2)1.3.5/1.4.0, WS80(2)1.2.5, WS68, WS69, WH40, WH31, WH31-EP, WN30, WN34L, WN35, WH32, WH32-EP, WH32B, WH57 [Lightning], WH41 [PM2.5], WH51, WH45, WH55
MeteobridgePro(2)[test,prod] 5.8 Mar 01 2024, 15185 - Blake-Larsen Sun Recorder - RPi4/weewx 4.8.0/4.10.2/CumulusMX 3283/Meteobridge RPi4B-2GB(3169)
Barani Meteoshield Pro, MetSpec Rad02 - Ecowitt 5763,34418;WU ISAARB3(WH4000SE),ISAARB22(HP2553), http://meshka.eu

Offline Mattk

  • Forecaster
  • *****
  • Posts: 2157
Re: MB Pro - realtime.txt neither created nor sent by FTP
« Reply #3 on: February 12, 2021, 05:57:08 PM »
Example: ftp://johndoe:mysecret@ftp.server.com:21/public_html/index.html

Have always used that syntax by default without any issues including User & Password to differentiate multiple FTP sites 

Offline Gyvate

  • Forecaster
  • *****
  • Posts: 3326
Re: MB Pro - realtime.txt neither created nor sent by FTP
« Reply #4 on: February 12, 2021, 06:07:56 PM »
Example: ftp://johndoe:mysecret@ftp.server.com:21/public_html/index.html

Have always used that syntax by default without any issues including User & Password to differentiate multiple FTP sites
It simply didn't work ...
Now the MB Pro (black) got crazy and ran into a spontaneous reboot ....
and now the FTP works again - with simply the /path/realtime.txt - as expected as the folder is on the same server which is entered in the service settings
- so it was NOT a syntax matter, just somehing else - whatever - maybe 36 days without reboot were too much ...
of course for another ftp server everything needs to be entered - so the wiki is correct here

strangely the sister MB Pro (red) now also can send its FTP files again - without reboot. Before it was similarly blocked.
Somehow the black must have created some congestion .... but how .... ? they are all (including the RPi) connected to the same switch and router.

Maybe another neutrino swarm ...
WS2350 1.6.7, GW1000(3) 1.7.7,WH2650 WiFi (2) 1.7.7 (test/backup), GW1100 2.3.1, GW2000(3) 3.1.1, HP2551 1.9.5,5.1.5;HP3500 1.7.2,WS3800 1.2.8, WN1910 1.2.3,WN1980 1.2.3;
Ecowitt WS90(2)1.3.5/1.4.0, WS80(2)1.2.5, WS68, WS69, WH40, WH31, WH31-EP, WN30, WN34L, WN35, WH32, WH32-EP, WH32B, WH57 [Lightning], WH41 [PM2.5], WH51, WH45, WH55
MeteobridgePro(2)[test,prod] 5.8 Mar 01 2024, 15185 - Blake-Larsen Sun Recorder - RPi4/weewx 4.8.0/4.10.2/CumulusMX 3283/Meteobridge RPi4B-2GB(3169)
Barani Meteoshield Pro, MetSpec Rad02 - Ecowitt 5763,34418;WU ISAARB3(WH4000SE),ISAARB22(HP2553), http://meshka.eu