unimrcp license config issue

163 views
Skip to first unread message

Saeed Walweel

unread,
Feb 17, 2022, 3:04:50 AM2/17/22
to UniMRCP
Dear all 

I have installed unimrcp server with GSR on (centos) with demo license and all things went well,  after that we purchase a float  server and GSR  license and applied it on our server (ubuntu), then we decided to apply the license on the demo server (centos) server, after restart unimrcp server we face an issue, then we have a ticket on unimrcp and they answered us to check the server date and time but the date on the server is right , below the server log for the issue(E0209 14:28:03.835482200   46261 ssl_transport_security.cc:1395] Handshake failed with fatal error SSL_ERROR_SSL: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed) :


server log :

 

=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2022.02.09 14:27:34 =~=~=~=~=~=~=~=~=~=~=~=

2022-02-09 14:27:52:363006 [NOTICE] UniMRCP Server [1.7.0]
2022-02-09 14:27:52:363264 [INFO]   APR [1.5.2]
2022-02-09 14:27:52:363285 [NOTICE] Create MRCP Server
2022-02-09 14:27:52:363362 [NOTICE] Open Config File [/opt/unimrcp/conf/unimrcpserver.xml]
2022-02-09 14:27:52:390217 [INFO]   Set Property ip:*.*.*.*
2022-02-09 14:27:52:390309 [INFO]   Register Codec [PCMU]
2022-02-09 14:27:52:390327 [INFO]   Register Codec [PCMA]
2022-02-09 14:27:52:390337 [INFO]   Register Codec [L16]
2022-02-09 14:27:52:390401 [NOTICE] Register Resource [speechrecog]
2022-02-09 14:27:52:390439 [INFO]   Register Resource Factory
2022-02-09 14:27:52:390481 [NOTICE] Create SofiaSIP Agent [SIP-Agent-1] [1.12.11-234-gd74df2e] sip:*.*.*.*:****;transport=udp,tcp
2022-02-09 14:27:52:390502 [INFO]   Register Signaling Agent [SIP-Agent-1]
2022-02-09 14:27:52:390544 [NOTICE] Create RTSP Server [RTSP-Agent-1] *.*.*.*:**** [100] connection timeout [600 sec]
2022-02-09 14:27:52:390703 [INFO]   Register Signaling Agent [RTSP-Agent-1]
2022-02-09 14:27:52:390729 [NOTICE] Create MRCPv2 Agent [MRCPv2-Agent-1] *.*.*.*:**** [100]
2022-02-09 14:27:52:390829 [INFO]   Register Connection Agent [MRCPv2-Agent-1]
2022-02-09 14:27:52:390848 [NOTICE] Create Media Engine [Media-Engine-1]
2022-02-09 14:27:52:390864 [INFO]   Register Media Engine [Media-Engine-1]
2022-02-09 14:27:52:390879 [NOTICE] Create RTP Termination Factory *.*.*.*:[5000,6000]
2022-02-09 14:27:52:390889 [INFO]   Register RTP Termination Factory [RTP-Factory-1]
2022-02-09 14:27:52:391205 [INFO]   Load Plugin [GSR-1] [/opt/unimrcp/plugin/umsgsr.so]
2022-02-09 14:27:52:527872 [NOTICE] GSR Plugin Version [1.22.1] Date [2021-12-08]
2022-02-09 14:27:52:530739 [INFO]   Register MRCP Engine [GSR-1]
2022-02-09 14:27:52:530782 [INFO]   Register RTP Settings [RTP-Settings-1]
2022-02-09 14:27:52:530801 [NOTICE] Create MRCPv2 Profile [uni2]
2022-02-09 14:27:52:530819 [INFO]   Associate Resource [speechrecog] to Engine [GSR-1] in Profile [uni2]
2022-02-09 14:27:52:530828 [INFO]   Register Profile [uni2]
2022-02-09 14:27:52:530839 [NOTICE] Create MRCPv1 Profile [uni1]
2022-02-09 14:27:52:530847 [INFO]   Associate Resource [speechrecog] to Engine [GSR-1] in Profile [uni1]
2022-02-09 14:27:52:530855 [INFO]   Register Profile [uni1]
2022-02-09 14:27:52:530867 [INFO]   Start Task [MRCP Server]
>2022-02-09 14:27:52:531118 [INFO]   Open Engine [GSR-1]
2022-02-09 14:27:52:531194 [NOTICE] Open Config File [/opt/unimrcp/conf/umsgsr.xml]
2022-02-09 14:27:52:532057 [NOTICE] Determined License Certificate File /opt/unimrcp/data/unilic_client_3e8bf34f-7c75-4d67-99f5-e6267ff4cc99.crt
2022-02-09 14:27:52:532214 [NOTICE] Determined Credentials File /opt/unimrcp/data/google_keys.json
2022-02-09 14:27:52:533120 [INFO]   Start Task [SIP-Agent-1]
2022-02-09 14:27:52:533136 [NOTICE] GSR Usage: 0/0/0
2022-02-09 14:27:52:533300 [INFO]   Start Task [RTSP-Agent-1]
2022-02-09 14:27:52:533740 [INFO]   Start Task [MRCPv2-Agent-1]
2022-02-09 14:27:52:533749 [INFO]   Retreive UniMRCP GSR License from *.*.*.*
2022-02-09 14:27:52:534312 [INFO]   Start Task [Media-Engine-1]
2022-02-09 14:27:52:534528 [NOTICE] Set Defualt Google App Credentials /opt/unimrcp/data/google_keys.json
2022-02-09 14:27:52:534567 [INFO]   Create Default Google Credentials []
2022-02-09 14:27:52:539145 [NOTICE] Set HTTP Proxy http://*.*.*.*:***
2022-02-09 14:27:52:539196 [INFO]   Start Task [Task]
2022-02-09 14:27:52:539283 [INFO]   Create Utterance Manager
2022-02-09 14:27:52:539623 [NOTICE] Populate files from /opt/unimrcp/var/ pattern [umsgsr-*.wav] max-count [100] max-age [60 min] purge-existing [0]
2022-02-09 14:27:52:539641 [INFO]   Create RDR Manager
2022-02-09 14:27:52:539793 [NOTICE] Populate files from /opt/unimrcp/var/ pattern [umsgsr-*.json] max-count [100] max-age [60 min] purge-existing [0]
2022-02-09 14:27:52:539804 [NOTICE] GSR Usage: 0/0/0
2022-02-09 14:27:52:539832 [NOTICE] MRCP Server Started
2022-02-09 14:27:53:548562 [NOTICE] UniMRCP GSR License:

-store id:        mawd1153
-product name:    umsgsr
-product version: 1.0.0
-license type:    production
-exp date:        2022-10-11
-channel count:   2
-feature set:     0

2022-02-09 14:27:53:548612 [NOTICE] GSR Usage: 0/0/2
2022-02-09 14:27:54:299122 [INFO]   Receive SIP Event [nua_i_options] Status 100 Trying [SIP-Agent-1]
2022-02-09 14:27:54:299186 [INFO]   Resource Discovery SDP
[v=0


2022-02-09 14:28:03:317506 [WARN]   Cannot read the first field in start-line
2022-02-09 14:28:03:317516 [WARN]   Failed to Parse MRCPv2 Data
2022-02-09 14:28:03:317524 [WARN]   Cannot read the first field in start-line
2022-02-09 14:28:03:317549 [INFO]   Process RECOGNIZE Request <c68f1a6b540e4121@speechrecog> [102]
2022-02-09 14:28:03:317619 [INFO]   Init Speech Detector: frame-size=160, max-frame-count=150, output-frame-count=20, vad-mode=2, noinput-timeout=5000 ms, input-timeout=20000 ms, start-timeout=50 ms, complete-timeout=700 ms, incomplete-timeout=1000 ms, leading-silence=300 ms, trailing-silence=300 ms, interim-results=1, start-of-input=external <c68f1a6b540e4121>
2022-02-09 14:28:03:317664 [INFO]   Start No-Input Timer [5000 ms] <c68f1a6b540e4121>
2022-02-09 14:28:03:317673 [INFO]   Create gRPC Channel [speech.googleapis.com:443] <c68f1a6b540e4121@gsr>
2022-02-09 14:28:03:317994 [INFO]   gRPC Streaming Recognize <c68f1a6b540e4121@gsr>
2022-02-09 14:28:03:341432 [INFO]   Process RECOGNIZE Response <c68f1a6b540e4121@speechrecog> [102]
2022-02-09 14:28:03:341450 [INFO]   State Transition IDLE -> RECOGNIZING <c68f1a6b540e4121@speechrecog>
2022-02-09 14:28:03:341529 [INFO]   Send MRCPv2 Data *.*.*.*:1544 <-> *.*.*.*:40524 [85 bytes]
MRCP/2.0 85 102 200 IN-PROGRESS

Channel-Identifier: c68f1a6b540e4121@speechrecog




2022-02-09 14:28:03:374847 [INFO]   Speech Detector State Transition NO-INPUT -> IN-PROGRESS [60 ms] <c68f1a6b540e4121>
2022-02-09 14:28:03:374875 [INFO]   Start Input Timer [20000 ms] <c68f1a6b540e4121>
2022-02-09 14:28:03:717143 [INFO]   Receive SIP Event [nua_i_options] Status 100 Trying [SIP-Agent-1]
2022-02-09 14:28:03:717205 [INFO]   Resource Discovery SDP
[v=0

o=UniMRCPServer 0 0 IN IP4 *.*.*.*

s=-

c=IN IP4 *.*.*.*

t=0 0

m=application 0 TCP/MRCPv2 1

a=resource:speechsynth

a=resource:speechrecog

m=audio 0 RTP/AVP 0 8 96 101

a=rtpmap:0 PCMU/8000

a=rtpmap:8 PCMA/8000

a=rtpmap:96 L16/8000

a=rtpmap:101 telephone-event/8000

]

E0209 14:28:03.835482200   46261 ssl_transport_security.cc:1395] Handshake failed with fatal error SSL_ERROR_SSL: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed.
2022-02-09 14:28:03:835924 [WARN]   Failed to Create gRPC Stream <c68f1a6b540e4121@gsr>
2022-02-09 14:28:03:844916 [INFO]   Input Complete [stopped] size=11200 bytes, dur=820 ms <c68f1a6b540e4121@gsr>
2022-02-09 14:28:03:845255 [INFO]   Process RECOGNITION-COMPLETE Event <c68f1a6b540e4121@speechrecog> [102]
2022-02-09 14:28:03:845277 [INFO]   State Transition RECOGNIZING -> RECOGNIZED <c68f1a6b540e4121@speechrecog>
2022-02-09 14:28:03:845385 [INFO]   Send MRCPv2 Data *.*.*.*:1544 <-> *.*.*.*:40524 [140 bytes]
MRCP/2.0 140 RECOGNITION-COMPLETE 102 COMPLETE

Channel-Identifier: c68f1a6b540e4121@speechrecog

Completion-Cause: 006 recognizer-error




2022-02-09 14:28:04:051627 [INFO]   Receive MRCPv2 Data *.*.*.*:1544 <-> *.*.*.*:40524 [127 bytes]
MRCP/2.0 127 SET-PARAMS 103

Channel-Identifier: c68f1a6b540e4121@speechrecog

Logging-Tag:6DF0579288EA11ECB99FD09A893111C2




2022-02-09 14:28:04:051744 [INFO]   Process SET-PARAMS Request <c68f1a6b540e4121@speechrecog> [103]
2022-02-09 14:28:04:051862 [INFO]   Process SET-PARAMS Response <c68f1a6b540e4121@speechrecog> [103]
2022-02-09 14:28:04:051924 [INFO]   Send MRCPv2 Data *.*.*.*:1544 <-> *.*.*.*:40524 [82 bytes]
MRCP/2.0 82 103 200 COMPLETE

Channel-Identifier: c68f1a6b540e4121@speechrecog




2022-02-09 14:28:04:052872 [INFO]   Receive MRCPv2 Data *.*.*.*:1544 <-> *.*.*.*:40524 [278 bytes]
MRCP/2.0 278 DEFINE-GRAMMAR 104

Channel-Identifier: c68f1a6b540e4121@speechrecog

Fetch-Timeout:10000

Cache-Control:max-stale=0,max-age=300

Content-Type:text/uri-list

Speech-Language:ar-JO

Content-Id:fie...@field.grammar

Content-Length: 25



builtin:speech/transcribe








#################################################

status response :


========================================================
                   LICENSE STORE TABLE                  
========================================================
STORE   PRODUCT         TOTAL CHANNELS ACQUIRED CHANNELS
======= =============== ============== =================
***1153 umsgsr                       2                 2


==================================================================================================
                                      LICENSE SESSION TABLE                                      
==================================================================================================
SESSION     STORE   PRODUCT         CHANNELS UPTIME       CONNECTION
=========== ======= =============== ======== ============ ========================================
***bfc27588 ***1153 umsgsr                 2   0d 00h 01m *.*.*.*:***** <- *.*.*.*:*****


Any advice please,
Thank you 

Arsen Chaloyan

unread,
Mar 14, 2022, 2:30:23 PM3/14/22
to UniMRCP
This issue was troubleshooted offline. Here is the outcome if anyone else encounters the same problem.

The CA root certificates must be installed/updated on the system (which is the case by default) to allow the client to validate a certificate returned by the remote peer upon establishment of a TLS connection.

yum install ca-certificates

--
You received this message because you are subscribed to the Google Groups "UniMRCP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to unimrcp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/unimrcp/a05f60f9-403a-4fb4-8993-700304d80cb8n%40googlegroups.com.


--
Arsen Chaloyan
Author of UniMRCP
http://www.unimrcp.org
Reply all
Reply to author
Forward
0 new messages