-
Notifications
You must be signed in to change notification settings - Fork 307
Open
Description
I'm trying to start the server but it doesn't start and doesn't return any errors. Any ideas?
Command to start the server:
docker run -d -p 2700:2700 alphacep/kaldi-grpc-en:latest
Logs of container with server:
LOG (VoskAPI:ReadDataFiles():model.cc:213) Decoding params beam=13 max-active=7000 lattice-beam=6
LOG (VoskAPI:ReadDataFiles():model.cc:216) Silence phones 1:2:3:4:5:11:12:13:14:15
LOG (VoskAPI:RemoveOrphanNodes():nnet-nnet.cc:948) Removed 0 orphan nodes.
LOG (VoskAPI:RemoveOrphanComponents():nnet-nnet.cc:847) Removing 0 orphan components.
LOG (VoskAPI:ReadDataFiles():model.cc:249) Loading i-vector extractor from /opt/vosk-model-en/model/ivector/final.ie
LOG (VoskAPI:ComputeDerivedVars():ivector-extractor.cc:183) Computing derived variables for iVector extractor
LOG (VoskAPI:ComputeDerivedVars():ivector-extractor.cc:204) Done.
LOG (VoskAPI:ReadDataFiles():model.cc:282) Loading HCLG from /opt/vosk-model-en/model/graph/HCLG.fst
LOG (VoskAPI:ReadDataFiles():model.cc:300) Loading words from /opt/vosk-model-en/model/graph/words.txt
LOG (VoskAPI:ReadDataFiles():model.cc:311) Loading winfo /opt/vosk-model-en/model/graph/phones/word_boundary.int
LOG (VoskAPI:ReadDataFiles():model.cc:318) Loading subtract G.fst model from /opt/vosk-model-en/model/rescore/G.fst
LOG (VoskAPI:ReadDataFiles():model.cc:320) Loading CARPA model from /opt/vosk-model-en/model/rescore/G.carpa
LOG (VoskAPI:ReadDataFiles():model.cc:326) Loading RNNLM model from /opt/vosk-model-en/model/rnnlm/final.raw
Command to start client:
python3 stt_client.py --path test.wav
** i use standard client example with standard test.wav from repository
Connection error from client:
Error code StatusCode.UNAVAILABLE, message: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:5001: Failed to connect to remote host: connect: Connection refused (111)
Traceback (most recent call last):
File "/opt/vosk-server/grpc/./stt_client.py", line 58, in <module>
run(args.path)
File "/opt/vosk-server/grpc/./stt_client.py", line 51, in run
print (stub.GetStats(request=stt_service_pb2.google_dot_protobuf_dot_empty__pb2.Empty()))
File "/usr/local/lib/python3.10/dist-packages/grpc/_channel.py", line 1166, in __call__
return _end_unary_response_blocking(state, call, False, None)
File "/usr/local/lib/python3.10/dist-packages/grpc/_channel.py", line 996, in _end_unary_response_blocking
raise _InactiveRpcError(state) # pytype: disable=not-instantiable
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
status = StatusCode.UNAVAILABLE
details = "failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:5001: Failed to connect to remote host: connect: Connection refused (111)"
debug_error_string = "UNKNOWN:Error received from peer {grpc_status:14, grpc_message:"failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:5001: Failed to connect to remote host: connect: Connection refused (111)"}"
>
Metadata
Metadata
Assignees
Labels
No labels