Parser Upload -> ERROR - rmHTTPResourceApi4Dev:103 - API:ParserUpload: Cannot find data boundary.
I posted in the dev forum but didn't see a response so I thought posting here may help. Currently on version 4.0.989 I am unable to upload any custom parser. Others have reported the same issue.
ERROR - rmHTTPResourceApi4Dev:103 - API:ParserUpload: Cannot find data boundary.
-
George,
Try updating your device or even a 2nd browser to see if this helps.
https://support.rainmachine.com/hc/en-us/articles/230016187-How-to-update-your-device-
We can even try using another browser.Thanks for your time and patience.
Brandon
-
Just to confirm there is an issue in this area -- I posted the following on April 11th in the Developers Forum ...
Greetings,
I have been using my own custom Weather Service for about 10 months now. Every time my HD-12 gets a firmware update, I have to "re-upload" my Weather Service - this has always worked until this morning. From my log, the firmware update:
2019-04-11 04:01:49,670 - INFO - rmMainManager:435 - ** Automatic Update: Started automatic update 2019-04-11 04:01:49,672 - INFO - rmUpgradeGenericLinux:70 - Upgrading package: rainmachine-app from 4.0.974 to 4.0.1115. 2019-04-11 04:01:52,031 - INFO - rmUpgradeGenericLinux:70 - Upgrading package: rainmachine-ui from 1.5.2 to 1.6.0. 2019-04-11 04:01:59,813 - INFO - rmUpgradeGenericLinux:70 - Upgrading package: rainmachine-system from 0.0.98 to 0.0.108. 2019-04-11 04:02:06,461 - INFO - rmMainManager:450 - ** Automatic Update: Upgrade finished will reboot !
After the update, I can no longer upload my Weather Service - I have tried from a Windows machine, from a Mac, and from Ubuntu - none work. I have tried various filename extensions from each box (.py, .txt, and .py.txt). The only error in the log is the following (one per attempt from any platform):
2019-04-11 09:44:36,397 - ERROR - rmHTTPResourceApi4Dev:103 - API:ParserUpload: Cannot find data boundary.
The upload attempts were made with Chrome, Firefox, Edge, and Safari. I also found some other Weather Service scripts (from this forum) and tried to upload them and they also failed.
Any help in this matter is appreciated!
-
Here is how I have worked around this issue for now. It's not the best but it works. I SSH'd into my rain machine and manually updated the changes I needed to make on my parser directly on the device using vi. In order to get the new parser settings updated/registered I then rebooted the rainmachine. My changes are active now.
-
Thanks for the info - I ended up just quitting the parser route and rewrote my whole setup for my Ubuntu box to PUSH weather info to my Rain Machine using the 4.6 Rest API. Although the API has a few issues too and is not too well documented, it does work and I no longer have to re-upload my Parser every time the Rain Machine firmware is updated. So now I have an hourly job that gets my PWS weather from AmbientWeather.net and pushes it to my Rain Machine.
Please sign in to leave a comment.
Comments
6 comments