CCR1009 /tool fetch command no longer working

Hi Everyone!

I am just wandering why the command/script below is no longer working. It had previously worked in ROS 7.12 but now no more. I also tried to upgrade to ROS 7.19.2 but still not working. Anyone has work around to make this functional again, please?

/tool fetch url=“https://api.telegram.org/bot71374984347:AAEndwThisasampletelegramtokenonly_fs/sendmessage\?chat_id=-4587622300&text=This is a test message to my TELEGRAM only!!!” keep-result=no;

By the way, the script above fully works in my HEX with ROS 7.15. Tested both in CCR1009 and HEX via Line Terminal but only works in HEX and not in the CCR1009.

Thank you in advance for your help.

When dealing with https, you dealing with certs that has to be correct.
My suggestion first to test with curl, and take out whats going on with the certs and so on.

curl --trace - "https://api.telegram.org/bot71374984347:AAEndwThisasampletelegramtokenonly_fs/sendmessage%5C?chat_id=-4587622300&text=This is a test message to my TELEGRAM only!!!"

Happy hacking.

I’m sorry, I don’t know how to use that “curl --trace-”. Do I have to paste it in the MT terminal in lieu of “/tool fetch url=” ?

By the way, this is the error I got when I paste the original /tool fetch script in CCR1009 with ROS 7.19.2

status: failed
failure: Idle timeout - connecting

But when I use the same script in MT HEX with ROS 7.15.x, it fully works without any error.