in this dock step, 3 says to modify the config.py file with the Riva IP and Host port but how to figure out which IP and port to use if the model is on was and you want to access the model from local pc.
Hi @a1809073 ,
You need to provide the public IP of the aws machine, if the virtual assistant is being run on local machine and riva services is hosted on aws
e.g. on the aws ec2 instance web console, they list public ip address of each machine, e.g. 188.8.131.52
then in local machine virtual assistant can have ip as
on web console of ec2 instance, they need to make sure that port
50051 is open for incoming traffic
Even after changing the ip in config file to the public ip of the AWS instance machine and updating the inbound, outbound security of the instance. The server runs on 0.0.0.0:8009/rivaWeather and we even tried to change the 0.0.0.0 to the public ip of instace in our web browser but still unable to access it.
Hi @a1809073 ,
There could be two things,
- if the chatbot is running on local machine it will launch on
0.0.0.0here means the IP of local machine and not the aws instance
Virtual Assistant — NVIDIA Riva Speech Skills v1.5.0-beta documentation in the second step here you need to provide
--net=hostfor the riva-samples container to be able to access external riva server.
Thanks AakankshaS, it is working perfectly fine now after providing the public IP as the Riva server IP and changing some inbound and outbound security rules of the instance for port and --net==host worked for us.
thanks for the help.