How to change from port 50051 in Riva quick start

Please provide the following information when requesting support.

Hardware - Jetson AGX Xavier
Operating System - Jetpack 5.0.1
Riva Version - 2.3.0

I would like to link rivaTTS with Audio2Face.
I followed this topic and tried to change the port.
I did riva_clean.sh and then changed config.sh to 50050, but the server will not start.
(I have confirmed that QuickStart works on port 50051.)

How can I change the port to something other than 50051 so that it will work with A2F?

Hi @t.seki.tsc

Thanks for your interest in Riva

Can you please share the log output of

bash riva_init.sh | tee riva_init_logs.txt

and

bash riva_start.sh | tee riva_start_logs.txt

Share with us the files

Thanks

Hello rvinobha

I share flies

config.sh (14.1 KB)
riva_init_logs.txt (11.0 KB)
riva_start_logs.txt (986 Bytes)

Hi @t.seki.tsc

Thanks for sharing the files

Apologies, need one more file,

While running
bash riva_start.sh
can you parallely open a new terminal, in that new terminal pleae run the below command
docker logs riva-speech | tee docker_riva_speech_logs.txt
and share the file with us

riva_start.sh and docker logs riva-speech to be run in parallel in two terminals

Thanks

I tried the command you taught me, but there was no content in docker_riva_speech.txt, so I’ll share what I saw in the terminal

I0909 09:55:54.286854     7 riva_server.cc:118] Using Insecure Server Credentials
E0909 09:55:54.290094     7 model_registry.cc:238] error: unable to get server status: failed to connect to all addresses
E0909 09:56:04.290828     7 model_registry.cc:238] error: unable to get server status: failed to connect to all addresses
I0909 09:56:14.303933     7 model_registry.cc:112] Successfully registered: citrinet-1024-en-US-asr-streaming for ASR
I0909 09:56:14.412210     7 model_registry.cc:112] Successfully registered: riva-punctuation-en-US for NLP
I0909 09:56:14.421353     7 model_registry.cc:112] Successfully registered: riva_intent_misty for NLP
I0909 09:56:14.564692     7 model_registry.cc:112] Successfully registered: riva-punctuation-en-US for NLP
I0909 09:56:14.573410     7 model_registry.cc:112] Successfully registered: riva_intent_misty for NLP
I0909 09:56:14.595467     7 model_registry.cc:112] Successfully registered: fastpitch_hifigan_ensemble-English-US-Female-1 for TTS
I0909 09:56:14.620448     7 riva_server.cc:158] Riva Conversational AI Server listening on 0.0.0.0:50051
W0909 09:56:14.620584     7 stats_reporter.cc:41] No API key provided. Stats reporting disabled.

Hi @t.seki.tsc

Apologies for the delay

I have updates from the team

Regarding the error
error: unable to get server status: failed to connect to all addresses

it is not port related we believe, one of the thing we doubt is there may be another instance of Riva running in the same machine or host

Please run
bash riva_clean.sh

and retry installation

After the above command, if if the issue persists, please make a backup/safe copy of docker container/volumes/images, Please remove all the containers

docker rm -f $(docker ps -a -q)

and retry installation

Please let us know if the above works

Thanks

@rvinobha

Thanks for the reply.

I have tried two methods but no improvement.
I tried re-doing the DL from ngc and it didn’t change.
The docker log is the same as in my previous post.

Thanks @t.seki.tsc

Apologies that it didn’t work out,

But we are pretty sure mostly that the issue is not with port change

I will check with the team again with your feedback,

One more ask,

can we also try to remove all the volumes

docker volume rm $(docker volume ls -q)

and images

docker rmi $(docker images -a -q)

and try one more time fresh install

NOTE: please make sure to take backup/precaution as it may remove all images/volumes present in the docker

Thanks

Thanks @rvinobha

docker volume ls -q didn’t work.

I ran it in the following order

docker rm -f $(docker ps -a -q)
docker rmi $(docker images -a -q)

I then tried reinstalling but could not get it to run on port 50050.

Here are the docker logs

I1007 05:00:59.410478 7 riva_server.cc:118] Using Insecure Server Credentials
E1007 05:00:59.414355 7 model_registry.cc:238] error: unable to get server status: failed to connect to all addresses
E1007 05:01:09.414934 7 model_registry.cc:238] error: unable to get server status: failed to connect to all addresses
I1007 05:01:19.430328 7 model_registry.cc:112] Successfully registered: citrinet-1024-en-US-asr-streaming for ASR
I1007 05:01:19.583987 7 model_registry.cc:112] Successfully registered: riva-punctuation-en-US for NLP
I1007 05:01:19.596801 7 model_registry.cc:112] Successfully registered: riva_intent_misty for NLP
I1007 05:01:19.777410 7 model_registry.cc:112] Successfully registered: riva-punctuation-en-US for NLP
I1007 05:01:19.788636 7 model_registry.cc:112] Successfully registered: riva_intent_misty for NLP
I1007 05:01:19.820200 7 model_registry.cc:112] Successfully registered: fastpitch_hifigan_ensemble-English-US-Female-1 for TTS
I1007 05:01:19.822788 7 model_registry.cc:112] Successfully registered: fastpitch_hifigan_ensemble-English-US-Male-1 for TTS
I1007 05:01:19.860913 7 riva_server.cc:158] Riva Conversational AI Server listening on 0.0.0.0:50051
W1007 05:01:19.860963 7 stats_reporter.cc:41] No API key provided. Stats reporting disabled.