cg1
2
Answered a very simular Question the other day, and you might have a similar issue?
But please also try sending your script to the primary or secondary interface.
https://www.universal-robots.com/articles/ur/interface-communication/overview-of-client-interfaces/