07-28-2016 07:26 AM - edited 03-19-2019 11:24 AM
I have used AudioText Manager for the last year without any issues. A recent workstation upgrade from Windows 7 to Windows 10 has resulted in losing the ability to play or record greetings. I get a .NET error when clicking the Play/Edit button for a specific greeting. Error: (error) in [DownloadWAVFile] on [myWebFunctions]: The request was aborted: Could not create SSL/TLS secure channel.
I am using AudioText 1.0.0.37 - I believe this is the first version to work on Win10.
Unity 9.1.2 - no changes since last time AudioText worked.
I tried a fresh install of the IBM driver and AudioText Manager on another Win10 machine that had never had either installed, same problem. So that seems to eliminate anything going wonky during the Win10 in place upgrade.
10-18-2017 11:16 AM
best to make sure your audio file is correct format. 8 bit mono (I think ,check the forum)
10-18-2017 01:45 PM - edited 10-18-2017 01:53 PM
well trying on Windows 7, 10 and 2008 R2 that I have here against Unity Connection 10.5 and 11.0 I can't repro any greeting or recorded name upload issues - I suspect strongly you're dealing with an HTTP access issue - I've run into this before.
Most access used by ATM is via ODBC on port 20532 - clearly that's working for you.
All recorded media (voice names, greetings, questions) are uploaded via HTTP using REST or SOAP protocols (SOAP for older Connection versions before REST was a thing) on port 8443. These are done via HTTPs - likely you have an AV package on your Windows box blocking such outbound traffic or there's a firewall rule in between you and your Connection server blocking it and it's failing.
I'm working on adding some more debug output in and around the greeting upload since a few folks have been burned by this (and yes, all have been related to environmental issues in their setup that ATM can do nothing about) - I'll try and see if you turn on debug and repro the problem if we can get some more detailed error information out that will at least give us a hint as to why yours are failing.
Also, if you want to send me a recording from your CUE I can at least verify that the file is in a format the Connection likes (I think they are but I can validate)
10-18-2017 02:13 PM
ok, I just posted version 1.0.44 of ATM to the temporary download page here:
http://www.ciscounitytools.com/Temp/
You can download that and run it - check the "Include Debug Output in Log File" under the "Options" menu, reproduce the problem and send the log output.
Dimes to dollars you'll see an error about not being able to send a POST to a URL that looks like "https://lindborgload7.cisco.com:8443/vmrest/voicefiles" - this is used to reserve a new GUID for a recording to be uploaded to - or something similar -
10-18-2017 04:38 PM
Hi,
Here's the log from the new version that was posted. Hope this will help figure out what the issue is.
I also attached a .wav file. But this system don't accept .wav so i changed the extension to .doc, please change it back to .wav in order to use it.
Thank you for you time.
*****************************************
Connection AudioTextManager, version=1.0.0.44
Connection version=
Remote Connection server=10.149.104.135
Logging into remote Connection server using alias=Audiotext
Local Windows account info=
Local Windows time=10/18/2017 12:00:00 AM
*****************************************
Search for '(error)' or '(warning)' to look for problems
2017/10/18 04:17:42: (error) in frmMain_Load on frmMain:Could not load file or assembly 'Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
2017/10/18 04:24:18: [DEBUG] Entering LoadGreetingData on frmEditGreetingRule
2017/10/18 04:24:19: [DEBUG] Entering UpdateAudioGreetingInfo on frmEditGreetingRule
2017/10/18 04:24:19: [DEBUG] Exiting UpdateVideoGreetingInfo
2017/10/18 04:24:19: [DEBUG] Entering UpdateVideoGreetingInfo on frmEditGreetingRule
2017/10/18 04:24:19: [DEBUG] Entering UpdateVideoGreetingInfo on frmEditGreetingRule
2017/10/18 04:24:19: [DEBUG] Entering UpdateAudioGreetingInfo on frmEditGreetingRule
2017/10/18 04:24:19: [DEBUG] Exiting UpdateVideoGreetingInfo
2017/10/18 04:24:19: [DEBUG] Entering UpdateVideoGreetingInfo on frmEditGreetingRule
2017/10/18 04:24:19: [DEBUG] Exiting LoadGreetingData on frmEditGreetingRule
2017/10/18 04:24:43: [DEBUG] Entering EditAudioOnlyGreeting on frmEditGreetingRule
2017/10/18 04:25:39: [DEBUG] Making REST call to upload wav file
2017/10/18 04:25:39: (error) in EditAudioOnlyGreeting on frmEditGreetingRule:Object reference not set to an instance of an object.
2017/10/18 04:25:39: [DEBUG] REST call to returned
2017/10/18 04:25:41: Error uploading WAV file for greeting to the remote server in EditAudioOnlyGreeting: WebCallResults contents:
URL Sent:
Method Sent:
Body Sent:
Success returned: False
Status returned 0:0
Error Text:
Raw Response Text:
Total object count: 0
Status description:
2017/10/18 04:25:41: [DEBUG] Exiting EditAudioOnlyGreeting
2017/10/18 04:25:41: [DEBUG] Entering UpdateVideoGreetingInfo on frmEditGreetingRule
10-18-2017 05:52 PM
hmmm... it's failing further upstream (i.e. before the web call fails) - which then causes the actual web call itself to fail - I'll have to walk through the chain there in the morning and see what I can find further up the chain.
10-18-2017 06:41 PM
ok, just dropped version 1.0.45 out into the same temporary folder here: http://www.ciscounitytools.com/Temp/
No logic changes but forced an update of all referenced DLLs - in particular the Newtonsoft package which is used by several of the HTTP calls - not sure why your box is not finding the reference to it and it does on my clean test installs here but I forced all references to be the latest (10.0.3) and rebuilt the application and the setup for it - that first error there is stopping the HTTP interface from firing up which is why web calls (i.e. recording uploads) fails further down stream.
If you can install this version in it's own directory and do the same test (i.e. turn on debug output to the log files) and let me know the result, I'd appreciate it.
10-20-2017 10:40 AM
I want to report this new version fixed the issue.
I'm able to do the recording, upload wav and save and also record by over the phone.
So when you force the update on all the referenced DLLs that's all the DLL for this applications correct, not on other DLLs on the computer? I just want to make sure that is not other DLLs on the computer causing this program not to work.
Also I include a log for you even though it's work, just in case there's any information you want to review. One last question, this program have nothing to do with Java correct? The way you explain it doesn't seem to be depended on Java, I want to confirm because on my last TAC, the person told me regardless what I use Media Master or ATM both depended on Java.
Thank you for all you help. This will make things a lot easier.
*****************************************
Connection AudioTextManager, version=1.0.0.45
Connection version=
Logging into remote Connection server using alias=Audiotext
Local Windows time=10/20/2017 12:00:00 AM
*****************************************
Search for '(error)' or '(warning)' to look for problems
2017/10/20 10:32:13: [DEBUG] Entering UpdateVideoGreetingInfo on frmEditGreetingRule
2017/10/20 10:32:13: [DEBUG] Entering UpdateVideoGreetingInfo on frmEditGreetingRule
2017/10/20 10:32:13: [DEBUG] Entering LoadGreetingData on frmEditGreetingRule
2017/10/20 10:32:15: [DEBUG] Entering UpdateVideoGreetingInfo on frmEditGreetingRule
2017/10/20 10:32:15: [DEBUG] Entering UpdateVideoGreetingInfo on frmEditGreetingRule
2017/10/20 10:32:15: [DEBUG] Entering UpdateVideoGreetingInfo on frmEditGreetingRule
2017/10/20 10:32:15: [DEBUG] Entering UpdateVideoGreetingInfo on frmEditGreetingRule
2017/10/20 10:32:19: [DEBUG] Entering UpdateAudioGreetingInfo on frmEditGreetingRule
2017/10/20 10:32:21: [DEBUG] Exiting UpdateVideoGreetingInfo
2017/10/20 10:32:21: [DEBUG] Entering UpdateVideoGreetingInfo on frmEditGreetingRule
2017/10/20 10:32:21: [DEBUG] Entering UpdateVideoGreetingInfo on frmEditGreetingRule
2017/10/20 10:32:21: [DEBUG] Entering UpdateAudioGreetingInfo on frmEditGreetingRule
2017/10/20 10:32:25: [DEBUG] Exiting UpdateVideoGreetingInfo
2017/10/20 10:32:25: [DEBUG] Entering UpdateVideoGreetingInfo on frmEditGreetingRule
2017/10/20 10:32:25: [DEBUG] Exiting LoadGreetingData on frmEditGreetingRule
2017/10/20 10:32:43: [DEBUG] Entering EditAudioOnlyGreeting on frmEditGreetingRule
2017/10/20 10:33:09: [DEBUG] Making REST call to upload wav file
2017/10/20 10:33:10: [DEBUG] REST call to returned
2017/10/20 10:33:10: [DEBUG] REST call successful, setting up stored proc call
2017/10/20 10:33:10: [DEBUG] Entering GreetingExists on frmEditGreetingRule
2017/10/20 10:33:11: [DEBUG] Exiting GreetingExists on frmEditGreetingRule
2017/10/20 10:33:11: [debug] stored proc=execute procedure csp_GreetingStreamFileModify ( pAuditAlias='Audiotext',pAuditComponent='ConnectionATM',pCallHandlerObjectID='d4a81888-e0eb-42ce-8f41-d144489bd250',pGreetingType='Standard',pLanguageCode=1033,pStreamFile='cb42f785-0144-4feb-aa10-4d6d79a31254.wav')
2017/10/20 10:33:11: [DEBUG] Exiting EditAudioOnlyGreeting
2017/10/20 10:33:11: [DEBUG] Entering UpdateVideoGreetingInfo on frmEditGreetingRule
2017/10/20 10:33:43: [DEBUG] Entering UpdateVideoGreetingInfo on frmEditGreetingRule
2017/10/20 10:33:43: [DEBUG] Entering UpdateVideoGreetingInfo on frmEditGreetingRule
2017/10/20 10:33:44: [DEBUG] Entering UpdateVideoGreetingInfo on frmEditGreetingRule
2017/10/20 10:33:44: [DEBUG] Entering UpdateVideoGreetingInfo on frmEditGreetingRule
2017/10/20 10:33:46: Updating greeting settings handler ObjectID=d4a81888-e0eb-42ce-8f41-d144489bd250, DisplayName=Test, greeting name=Standard
2017/10/20 10:33:46: [debug] stored proc=execute procedure csp_GreetingModify ( pAuditAlias='Audiotext',pAuditComponent='ConnectionATM',pCallHandlerObjectId='d4a81888-e0eb-42ce-8f41-d144489bd250',pGreetingType='Standard',pPlayWhat=1)
2017/10/20 10:33:46: Greeting values updated
2017/10/20 10:33:46: [DEBUG] Exiting buttonSave on frmEditGreetingRule
10-20-2017 01:41 PM
thanks for following up
no relation to Java here - the tool is written in C# and uses HTTPS for uploading/downloading all recordings directly.
Plinking away at it this morning as near as I can tell it's a DLL manifest issue - the REST library downloaded from NuGet allows for any version of the Newtonsoft JSON parser 9.0 or later - however apparently it doesn't allow jumping major versions, so the fact that I only bundled what my application uses (10.0.3 in this case) into the setup left the NuGet package complaining about a compatible version of Newtonsoft not being around.
Investigating my "clean" Win7 and Win10 installs shows 9.x versions of Netwtonsoft hanging around - so at startup it looked locally, didn't find it and then found it in a shared bin folder instead.
Normally I configure all my apps to have setups that include all DLLs it needs locally so what you have installed elsewhere shouldn't matter. In this case the fix was to yank the NuGet package manifest requiring the 9.x version, setting everything to 10.x and including that into the setup.
I've updated the main download page for ATM with the updated version today...
11-05-2017 10:26 AM
Hi,
I was using ATM (I didn't remember the exact version) with W7 and worked great but the last week I was migrated to W10 and I downloaded the last version of ATM and I cannot upload wav files.
here the log file. Note that ATM cannot to retrieve the Cnx version. I have run ATM with my standard windows account and with administrative priviledges.
***************************************** Connection AudioTextManager, version=1.0.0.45 Connection version= Remote Connection server=deedcpbxuncnp01.emea.tdworldwide.com Logging into remote Connection server using alias=cucnadministrator Local Windows account info=********* Local Windows time=05/11/2017 00:00:00 ***************************************** Search for '(error)' or '(warning)' to look for problems 2017/11/05 07:17:25: (error) in frmMain_Load on frmMain:Login failed to Connection server:*************. Details= WebCallResults contents: URL Sent: https://*********:8443/vmrest/version Method Sent: GET Body Sent: Success returned: False Status returned 0:0 Error Text: Web exception error in GetResponse on RestTransportFunctions.cs:The underlying connection was closed: An unexpected error occurred on a receive. Raw Response Text: Total object count: 0 Status description: 2017/11/05 07:21:43: (error) in EditAudioOnlyGreeting on frmEditGreetingRule:Object reference not set to an instance of an object. 2017/11/05 07:21:45: Error uploading WAV file for greeting to the remote server in EditAudioOnlyGreeting: WebCallResults contents: URL Sent: Method Sent: Body Sent: Success returned: False Status returned 0:0 Error Text: Raw Response Text: Total object count: 0 Status description: 2017/11/05 07:21:53: User exiting Application
Thanks a lot in advance.
--
Alberto
11-06-2017 08:03 AM
Couple things - first, jumping on to the end of a 16 month old post chain is normally a good way to get your question ignored - please start new threads with new questions.
second - The version out there (45) has been tested rather extensively – I have a number of sites using it for the new Visio diagraming features added recently. To be complete I fired up clean Windows 7 and Windows 10 VMWare images, installed IBM’s SDK on them and then downloaded the ATM version off the site, installed it and uploaded a file from the Windows Media folder to greetings and voice names via the tool – all went clean for both against 10.0 and 11.5 Connection installations. As such I’m reasonably confident the install and binaries are all correct and clean.
From the log output there the interesting bit is “Web exception error in GetResponse on RestTransportFunctions.cs:The underlying connection was closed”
That’s just getting the VMRest version – an easy HTTP GET call any REST based application needs to do and it failed – which tells me there’s likely more going on than just a simple OS version upgrade. Looks to be an anti virus package and/or firewall issues blocking HTTP GETs (and POSTs I’d assume) to your Connection server.
11-06-2017 02:46 PM
hi,
Thanks for your quick answer. I have created a new post.
Regards,
--
Alberto
11-14-2019 03:01 PM
Aloha John - were you able to find a resolution for this? im having the same problem with a customer site running windows 7
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide