Conversational Menu icon Conversational Menu Voice menu tree to navigate options and run scripts on ARC robots. Multi-level, customizable prompts, speech I/O, timeout and repeat/back. Try it →
Asked
GetRSS 403 and empty arrays on Six

Getrss 403 And Empty Arrays On Six

Running a Six Hexapod (EZ-B v4 over WiFi in client mode) from ARC on Windows, I added the GetRSS robot skill to have Six read a few headlines while doing a small Auto Position animation; I’m triggering the control with a script, then checking $RSSSuccess and, if true, speaking the first three $RSSTitles, but I’m seeing inconsistent results depending on the feed and sometimes timing issues where the arrays aren’t populated yet. For example, https://feeds.npr.org/1001/rss.xml usually works and fills $RSSTitles/$RSSDescriptions as expected, but https://feeds.bbci.co.uk/news/rss.xml fails immediately with $RSSSuccess=0 and $RSSErrorMsg="The remote server returned an error: (403) Forbidden", and https://w1.weather.gov/xml/current_obs/KSEA.rss sometimes throws $RSSErrorMsg about "Could not create SSL/TLS secure channel"; I’ve tried http vs https where available, multiple networks, disabling Windows firewall, moving the GetRSS skill up in the project, validating the feeds (they’re valid RSS, not Atom), and adding a Sleep after sending the ControlCommand, but even when $RSSSuccess flips to 1 the arrays can occasionally still be empty if read too soon, which makes Six either say nothing or speak the previous feed’s data. Is there a way to set or override the User-Agent/TLS settings that GetRSS uses to avoid 403/TLS errors, and what is the recommended pattern in ARC (EZ-Script or JavaScript) to deterministically wait until $RSSTitles/$RSSDescriptions are populated before using them?



Related Hardware (view all EZB hardware)
Six Hexapod by EZ-Robot
Six hexapod robot kit: Canadian-designed, customizable WiFi 6-legged platform with 12 servos/12 DOF for dynamic motion. Available at EZ-Robot.
Wi-Fi / USB
Servos 24
Camera
Audio
UART 3
I2C
ADC 8
Digital 24

ARC Pro

Upgrade to ARC Pro

Stay on the cutting edge of robotics with ARC Pro, guaranteeing that your robot is always ahead of the game.