" /> GVP 8.1 Error Nuance Speech Server - Genesys CTI User Forum

Author Topic: GVP 8.1 Error Nuance Speech Server  (Read 17029 times)

Offline gzooby

  • Full Member
  • ***
  • Posts: 141
  • Karma: 0
  • Software Engineer at Telefax S.A.
GVP 8.1 Error Nuance Speech Server
« on: May 22, 2014, 08:54:34 PM »
Advertisement
Hi, Im trying to use Nuance Recognizer as part of my GVP application.

When I try to use it, GVP tells me there is no ASR resource available. Watching Speech Server logs on the call (nep.log file) I see the following message

"The Nuance Speech Server was unable to allocate a detector license"

Any ideas where to start from?

Regards

Z

Offline basdi2000

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
Re: GVP 8.1 Error Nuance Speech Server
« Reply #1 on: May 23, 2014, 12:43:53 AM »
In Recognizer/config directory check Baseline.xml file and make sure you set correct # of license to allocate for following parameters:
<param name="swirec_license_ports">
<param name="swiep_license_ports">

Also in SpeechWorks.cfg file make sure SWILicenseServerList=27000@localhost 'localhost' is replaced with with real host name where license server is running on.

Save changes and restart Speech Server.
Hope that helps.

Offline gzooby

  • Full Member
  • ***
  • Posts: 141
  • Karma: 0
  • Software Engineer at Telefax S.A.
Re: GVP 8.1 Error Nuance Speech Server
« Reply #2 on: May 23, 2014, 01:31:23 PM »
I have defined the rec_config file, as defined in the manual and specifying the license stuff there. i will give a try to the "localhost" idea you mentioned and tell you how it was later..Thanks! :)

Offline gzooby

  • Full Member
  • ***
  • Posts: 141
  • Karma: 0
  • Software Engineer at Telefax S.A.
Re: GVP 8.1 Error Nuance Speech Server
« Reply #3 on: May 23, 2014, 05:25:58 PM »
Hi, I tried changing the things you suggested. The situation has changed.  :o

I`m running Recognition Service as a Windows service. When I start it the log throws the following:


20140523141452730| 5484|||| ** ERROR => SVC AFFECT **| -1|  SWI_FAIL| non-error failure| SignalHandler::Initialize | cannot instantiate more than one SignalHandler.
20140523141453062| 5484|||| ** WARNING **| -1|  SWI_FAIL| non-error failure| NSystemInfoImpl::GetCounterValue | PdhGetFormattedCounterValue failed:c0000bc6
20140523141453062| 5484|||| ** WARNING **| -1|  SWI_FAIL| non-error failure| NSystemInfoImpl::GetCounterValue | PdhGetFormattedCounterValue failed:c0000bc6
20140523141453062| 5484|||| ** WARNING **| -1|  SWI_FAIL| non-error failure| NSystemInfoImpl::GetCounterValue | PdhGetFormattedCounterValue failed:c0000bc6
20140523141453062| 5484|||| ** WARNING **| -1|  SWI_FAIL| non-error failure| NSystemInfoImpl::GetCounterValue | PdhGetFormattedCounterValue failed:c0000bc6
20140523141453063| 5484|||| ** WARNING **| -1|  SWI_FAIL| non-error failure| NSystemInfoImpl::GetCounterValue | PdhGetFormattedCounterValue failed:c0000bc6
20140523141453063| 5484|||| ** WARNING **| -1|  SWI_FAIL| non-error failure| WatchableFillParamProcessLoggingLevels::InitTags | Process other than watcher, FTA, resource-manager, TS is using config.LoggingLevel parameter
20140523141453063| 5484|||| ** WARNING **| -1|  SWI_FAIL| non-error failure| WatchableFillParamProcessLoggingLevels::Init | failed to get parameter: config.LoggingLevel bcos NUANCE_PARAMETER_NOT_SET
20140523141454459| 5484|||| ** WARNING **| 0|  SWI_SUCCESS| success| findDefaultLanguage | Default language 'es.us' autocomputed!
20140523141501168| 5484|||| ** WARNING **| 604|  UNKERR| unknown error| nuan:SBinet |

Despite the errors and warnings, the service remained active. Here it`s what the Speech Server logs throws when I start it:

May 23 14:15:05.66|TUCPU=982|TKCPU=171|TID=6420|0|1000|SERVER|NSS 6.2 build 20131009_1800
May 23 14:15:05.66|TUCPU=982|TKCPU=171|TID=6420|0|1000|CMrcpServer::open|WARNING: Unknown environment variable on line 2435 in file 'D:\\Program Files (x86)\\Nuance\\Speech Server\\Server\\config\\NSSserver.cfg'#
May 23 14:15:05.66|TUCPU=982|TKCPU=171|TID=6420|0|1000|CMrcpServer::open|WARNING: Unknown environment variable on line 2442 in file 'D:\\Program Files (x86)\\Nuance\\Speech Server\\Server\\config\\NSSserver.cfg'#
May 23 14:15:05.66|TUCPU=982|TKCPU=171|TID=6420|0|1000|CMrcpServer::open|WARNING: Unknown environment variable on line 2449 in file 'D:\\Program Files (x86)\\Nuance\\Speech Server\\Server\\config\\NSSserver.cfg'#
May 23 14:15:05.66|TUCPU=982|TKCPU=171|TID=6420|0|1000|CMrcpServer::open|WARNING: Unknown environment variable on line 2456 in file 'D:\\Program Files (x86)\\Nuance\\Speech Server\\Server\\config\\NSSserver.cfg'#
May 23 14:15:09.68|TUCPU=3276|TKCPU=499|TID=6420|0|1000|CMrcpServer::updateMrcpStackParams|mrcpv2 timeout: 20
May 23 14:15:09.68|TUCPU=3276|TKCPU=499|TID=6420|0|1000|CMrcpServer::updateMrcpStackParams|mrcpv2 TOS: 96
May 23 14:15:09.68|TUCPU=3276|TKCPU=499|TID=6420|0|1000|CMrcpServer::updateMrcpStackParams|mrcpv2 port: 6075
May 23 14:15:09.68|TUCPU=3276|TKCPU=499|TID=6420|0|1000|CMrcpServer::updateMrcpStackParams|mrcpv2 TLS port: 6076
May 23 14:15:09.68|TUCPU=3276|TKCPU=499|TID=6420|0|1000|CMrcpServer::updateMrcpStackParams|mrcpv2 TLS certificate: D:\\Program Files (x86)\\Nuance\\Speech Server\\Server/certs/cert.pem
May 23 14:15:09.68|TUCPU=3276|TKCPU=499|TID=6420|0|1000|CMrcpServer::updateMrcpStackParams|mrcpv2 TLS private key: D:\\Program Files (x86)\\Nuance\\Speech Server\\Server/certs/key.pem
May 23 14:15:09.68|TUCPU=3276|TKCPU=499|TID=6420|0|1000|CMrcpServer::updateMrcpStackParams|mrcpv2 TLS ca certificates:
May 23 14:15:09.68|TUCPU=3276|TKCPU=499|TID=6420|0|1000|CMrcpServer::updateMrcpStackParams|mrcpv2 TLS verify: 0
May 23 14:15:09.68|TUCPU=3276|TKCPU=499|TID=6420|0|1000|CMrcpServer::updateMrcpStackParams|mrcpv2 TLS verify depth: 2
May 23 14:15:09.68|TUCPU=3276|TKCPU=499|TID=6420|0|1000|CMrcpServer::openRtpPortManager|rtp port: 7892
May 23 14:15:09.70|TUCPU=3276|TKCPU=514|TID=6420|0|1000|CMrcpServer::openSipStack|sip IP interface: 0.0.0.0, TCP port: 5960
May 23 14:15:09.70|TUCPU=3276|TKCPU=514|TID=6420|0|1000|CMrcpServer::openSipStack|sip IP interface: 0.0.0.0, UDP port: 5960
May 23 14:15:09.70|TUCPU=3276|TKCPU=514|TID=6420|0|1000|CMrcpServer::openSipStack|sip IP interface: 0.0.0.0, TLS port: 5961
May 23 14:15:09.75|TUCPU=3291|TKCPU=530|TID=6420|0|1000|CMrcpServer::openLicensing|Encryption license checked out

When I call GVP app, the woman voice tells me there is no ASR resource available, the Recognition Service stops and I see this message in the nep.log file:


20140523141505616| 6420|||| ** ERROR => SVC AFFECT **| -1|  SWI_FAIL| non-error failure| WatchableFillParamNMSUrl::Init | failed to get parameter: config.ManagementStationHost bcos NUANCE_PARAMETER_NOT_SET
20140523141505617| 6420|||| ** WARNING **| -1|  SWI_FAIL| non-error failure| WatchableFillParamProcessLoggingLevels::Init | failed to get parameter: config.LoggingLevel bcos NUANCE_PARAMETER_NOT_SET
20140523141509330| 6420|||| ** WARNING **| 0|  SWI_SUCCESS| success| findDefaultLanguage | Default language 'es.us' autocomputed!
20140523141522267| 3464| 0||| ** WARNING **| -1|  SWI_FAIL| non-error failure| RecognizerClient::NrsSendAndReceive | SendAndReceive status=NUANCE_ERROR (1) func=CallLogStreamGet
20140523141522267| 3464| 0||| ** WARNING **| -1|  SWI_FAIL| non-error failure| RecognizerClient::NrsSendAndReceive | SendAndReceive status=NUANCE_NETWORK_CONNECTION_ERROR (20) func=SessionEnd
20140523141522267| 3464| 0||| ** WARNING **| -1|  SWI_FAIL| non-error failure| RecognizerClient::NrsSendAndReceive | SendAndReceive status=NUANCE_NETWORK_CONNECTION_ERROR (20) func=RecognizerDestroy
20140523141522268| 3464| 0||| ** WARNING **| -1|  SWI_FAIL| non-error failure| WatchableAdapter::SendAlarm | sent alarm: (OpCode: W_OP_CODE_SNMP_ALARM_CLAPI)
(Vpid: 0)
(Severity: 4)
(MessageId: 7733287)
(Message: 20,,LOG,MINOR_ALARM,7733287,2014/05/23 14:15:22.267,UYASGVP,Nuance Speech Server,-,3464,NSS,NSS,482,Nuance Speech Server could not free the recognizer allocated at: 180.204.125.219:8200, for channel: FBA66A43-4641-482C-7AB1-DCC560F6EE95-7080@180.204.125.219. SWIrecResourceFree returned code: 22. ApplicationName=MyApp,CompanyName=Nuance,DNIS=sip:mresources@180.204.125.219:5960,Call-Id=0>>>1.0>>>180.204.125.219:8200>>>FBA66A43-4641-482C-7AB1-DCC560F6EE95-7080@180.204.125.219>>>22>>>ApplicationName=MyApp>>>CompanyName=Nuance>>>DNIS=sip:mresources@180.204.125.219:5960>>>Call-Id=0
)


So, finally Recognition Service is down, but Spech Server is still running.

Any ideas??  :-[

Offline basdi2000

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
Re: GVP 8.1 Error Nuance Speech Server
« Reply #4 on: May 24, 2014, 12:35:17 AM »
As first step I would recommend first install SpeechServer Client and run test for Recognizer, Once you confirm test is successful, next step would be to check your TLS and GVP configuration.

Regards,

Artur

Offline basdi2000

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
Re: GVP 8.1 Error Nuance Speech Server
« Reply #5 on: May 24, 2014, 09:06:10 PM »
Based on provided logs recognizer is running on port 8200 (Nuance Speech Server could not free the recognizer allocated at: 180.204.125.219:8200), where your 
MCP is looking at port 5960 (mresources@180.204.125.219:5960) 

Offline gzooby

  • Full Member
  • ***
  • Posts: 141
  • Karma: 0
  • Software Engineer at Telefax S.A.
Re: GVP 8.1 Error Nuance Speech Server
« Reply #6 on: May 26, 2014, 04:42:07 PM »
Hi Artur,

Maybe I should have provided each component's version before, but here they go:
Vocalizer: 5.7.2
Recognizer: 10.2.3
Nuance Speech Server: 6.2.5

[u]GVP 8.1[/u]:
MCP: 8.1.700.59
RM: 8.1.700.71
SipServer: 8.1.101.10

I don't have the SpeechServer Client installer, so I won't be able to test what you recommended.
Regarding the second post, as you stated Recognizer is running in port 8200 but 5960 is the port stated in NSSserver.cfg.

[code]
server.mrcp2.sip.transport.tcp.port  VXIInteger  5960
server.mrcp2.sip.transport.udp.port  VXIInteger  5960
server.mrcp2.sip.transport.tls.port  VXIInteger  5961
[/code]

Also in NSSserver.cfg I've configured Recognizer's IP and port:

[code]
server.nrs.serverAddress  VXIString  180.204.125.250:8200
[/code]

So, I configured MCP to look for Recognizer at port 5960 as stated in the GVP Deployment Course and it should manage to open recognizer.

I believe Recognizer gets the interaction somehow because it crashes when I call GVP, but I don't have any log stating that.

Regards,

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: GVP 8.1 Error Nuance Speech Server
« Reply #7 on: May 26, 2014, 04:46:38 PM »
Probably you need to involve Genesys support directly and even ask them for the client installer...

Offline basdi2000

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
Re: GVP 8.1 Error Nuance Speech Server
« Reply #8 on: May 27, 2014, 10:17:40 PM »
HI,

I believe you mentioned that your Recognizer is in Windows Service automatic mode. Change it to manual and have your SpeechServer (Windows Services automatic mode) take care of communication with Recognizer. Have your MCP pointed to SpeechServer port and see what happens. If you installed Recognizer and Recognizer language pack correctly and after that installed SpeechSerer and did not see any error during installation, it should work.

Important Speech Server Config point:
open NSSserver.cfg
Find ‘server.mrcp2.sip.transport.interface.0’ uncomment it and set to local
host ip address.
See example: ‘server.mrcp2.sip.transport.interface.0 VXIString xxx.xxx.xxx.xxx’ 

For Recognizer:

<param name="swirec_license_ports">
<value>14</value>
</param>
<param name="swiep_license_ports">
<value>14</value>
</param>

Avoid changing any other configuration parameters during and after installation.

SpeechServer client is free test tool, you can get it from Genesys or Nuance.

Hope that helps.

Artur

Offline gzooby

  • Full Member
  • ***
  • Posts: 141
  • Karma: 0
  • Software Engineer at Telefax S.A.
Re: GVP 8.1 Error Nuance Speech Server
« Reply #9 on: May 28, 2014, 01:32:38 PM »
Thank you Basdi2000 I will give it a try today !  :D