RuntimeError: ALBroker::createBroker Cannot connect to tcp://100.82.32.131:9559

112 Views Asked by At

Im trying to run this code in NAO with python from naoqi import ALProxy tts = ALProxy("ALTextToSpeech", "100.82.32.131", 9559) tts.say("Hello, world!")

and i get RuntimeError: ALBroker::createBroker Cannot connect to tcp://100.82.32.131:9559

why i cant connect it?

Im trying to run this code in NAO with python from naoqi import ALProxy tts = ALProxy("ALTextToSpeech", "100.82.32.131", 9559) tts.say("Hello, world!")

and i get RuntimeError: ALBroker::createBroker Cannot connect to tcp://100.82.32.131:9559

why i cant connect it?

1

There are 1 best solutions below

0
Victor Paléologue On

There can be plenty of reasons for this failure:

  • The robot is not at this IP address
  • The computer is not on the same network as the robot
  • Some firewall prevents your program to connect
  • NAOqi is not running