If you are asking a question, please follow this template:
- My goal is: to call RPC over http
- My actions are: using the following command
mos --port http://192.168.0.104/rpc call Sys.GetInfo
However, I am getting the error ‘Unknown command’.
I am using the following mos version
Build ID: 20210208-143354/2.19.1-g9bf406d
The problem is with the ‘–port http://192.168.0.104/rpc’ part.
mos call Sys.GetInfo works fine.
- 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.