MATLAB Answers

Initializing pimp-controller failed: Error binding to tcp://*: no free port in range 9620-9620

17 views (last 30 days)
Magnify
Magnify on 13 Jul 2020
Edited: Magnify on 31 Jul 2020
The error pops up at times when I train DDPG Agent to control over a car in the simulator Prescan8.5 by using Deep-Learning, Reinforcemnt-Learning toolkit and simulink.
Episode: 31/ 50 | Episode Reward : 34.55 | Episode Steps: 39 | Avg Reward : 23.60 | Step Count : 6094 | Episode Q0 : -4.89
[DataProvider] ERR: SetErrorState, message: Initializing pimp-controller failed: Error binding to tcp://*: no free port in range 9620-9620
[ControllerIO] ERR: Initializing pimp-controller failed: Error binding to tcp://*: no free port in range 9620-9620
I was reminded that the error isn't caused by Prescan, so I tried to find out the relevant ports in simulink but failed as a result from unable to search for proper way to find it on the Internet

  0 Comments

Sign in to comment.

Answers (1)

Emmanouil Tzorakoleftherakis
Hello,
I would contact technical support for this, and show them how to reproduce the error. If the issue is in the communication interface, you may beed to contact the developers of the interface, but technical support will let you know.

  2 Comments

Magnify
Magnify on 31 Jul 2020
Either of they haven't had sending any feedback to me, and I tried to build up the model from scartch to find out main reason but failed, it's concluded from many tries that the incompatibility between the RL Agent block and those blocks results in the error, which provided by Prescan developers are written with old version simulink like version 1.1 rather than matlab2020a/simulink10.1 used to implement the RL algorithm, I'm willing to provide the model for fixing the error earlier, but the model cannot be broke into less pieces and is too huge to be upload in attachments, if possible, I'd like to sent it by e-mail

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!