RPC call over http not working

If you are asking a question, please follow this template:

  1. My goal is: to call RPC over http
  2. My actions are: using the following command

mos --port call Sys.GetInfo

However, I am getting the error ‘Unknown command’.

I am using the following mos version

Version: 2.19.1
Build ID: 20210208-143354/2.19.1-g9bf406d

The problem is with the ‘–port’ part.

mos call Sys.GetInfo works fine.

  1. My expectation & question is: to someone point out what am I doing wrong and what can be done about it. Please keep in mind I have been using this command for years now. I have set up mos on a new machine and suddenly this command doesn’t work. Maybe it has something to do with the latest version of mos.

Pretty sure its –port ws://

How do you invoke the command?
From mos UI or from a terminal window?