When connecting robot to orchestrator showing the message as task was cancelled

Check whether any firewall is blocking the application like whiltelisting
Kindly restart your machine and try once
make sure that url is mentioned as per this thread

Cheers @AshwinS2