Microsoft Cognitive Services - Speech recognition, Transport Error - speech-to-text

Simple question, how do I setup the default Speech to text sample app to work?
I have followed all the instructions:
And got my keys from here:
Pasted them here : (The key is redacted just to be safe).
That's the output of the program with the correct key instead of PASTED KEY HERE.
And let's say, that this does not work. What am I missing?

Are you accessing via RDP? Check https://github.com/Microsoft/Cognitive-Speech-STT-Windows/issues/13, where the solution is to enable local microphone when using RDP to another machine.

Related

Where Can I find IoT hub Device Update "instanceID"?

I was working with Microsoft Azure REST API(https://learn.microsoft.com/en-us/rest/api/deviceupdate/2021-06-01-preview/device-update/get-update#code-try-0) and found that the don't have any proper documentation or may be I was unable to find it. In the end I was unable to find it, so if you can guide me that will be helpful. I need instanceID to be provided in below path
https://{endpoint}/deviceupdate/{instanceId}/updates/providers/{provider}/names/{name}/versions/{version}?api-version=2021-06-01-preview
I have tried using Instance name from below image and also resource id but no use.
I request Microsoft to Please stop providing half Knowledge.
What is meaning of blue here? can I write my favourite colour? Also there should be an error message if something went wrong.

OpenSSH Server Windows 10 - How to configure for private key based authentication?

I'm trying to configure OpenSSH on Windows 10 Pro for private key based authentication.
I'd like a client to be able to authenticate based on a private key only, without entering a password.
I stumbled across threads that mention the Authentication Agent (what is it actually doing?) and command lines tools like ssh-add.exe (where does it add what to?) and ssh-keygen.exe etc. I played with it but I just don't see any results.
Can anyone explain the required actions, step by step? Thanks!
Finally I found a comprehensive description here:
https://github.com/PowerShell/Win32-OpenSSH/wiki/ssh.exe-examples
Following these steps solved the problem for me.

How do I work locally with files in my Cloud Shell profile

Either this isn't possible, or it's so simple, I am missing the trick or I am going about it the wrong way. Similar to this question.
I prefer working with VS Code and basically, I want to treat the home path in cloud CLI as a local folder, exposed to VS Code.
I have installed the following VS Code extensions:
Azure Account
Azure Storage
Azure CLI Tools
If I connect to cloud shell via VS Code (F1 > Azure:Open Bash in Cloud Shell) (as explained here) or through the Portal, I have a home directory /home/john, where I can put files. It is this area I want to connect to from my PC (via VS Code).
My first thought was that this area would be exposed in Azure Storage Explorer, however, the only thing in my cloud shell storage account is: File Shares: azclishare > .cloudconsole > acc_john.img. There is no sign of any of the files in /home/john. I'm guessing they're wrapped up in acc_john.img.
I also though about using SCP, but I can't find any reference to this either and I can't find any "connection strings" in the portal.
If anyone has any ideas, I'd be grateful if you could share...
P.S. I am using Windows 10.
It's always the same, post a question on SO then find the answer!
The full answer is here: https://learn.microsoft.com/en-us/azure/cloud-shell/persisting-shell-storage
The short answer is that Cloud Shell does map to the storage account (files), but to /usr/john/clouddrive.
In fact, there is a symlink to clouddrive in /home/john.

IBM Watson Tradeoff Analytics Back-end service is not available

I'm trying to integrate Watson Tradeoff Analytics service into my external project to SAP WEB IDE, so I have downloaded the following example:
github.com/dolevdotan/tradeoff-analytics-v2-vanilla-nodejs
Inside the Service on Bluemix I got the following credentials
generated
I put this credentials inside app.js
I'm running my service and it's good at the beggining, but in case of pressed button "Help Me Decide" and the following error appears:
Oops! Something went wrong
Back-end service is not available. Please try again later.
The most interesting is now! If I run the following link with deployed official TradeOff Example:
tradeoff-analytics-v2-demo.mybluemix.net/#cars
My own service will work as expected after that, without any errors. But I need to run this link first. Why so strange? What shall I do to correct it and avoid?
Thanks!

What does ERROR_AZURE_DRIVE_DEV_PATH_NOT_SET mean?

I am trying to attach a cloud drive as described here http://msdn.microsoft.com/en-us/library/gg466226.aspx#bk_Storage but I get the error ERROR_AZURE_DRIVE_DEV_PATH_NOT_SET ?
What does this mean? I've tripled checked my config at it seems ok.
I am trying to connect the cloud drive in a Windows Service on a VM Role.
I discovered that the FixMSI.js script from http://msdn.microsoft.com/en-us/library/gg466226.aspx#bk_Install was failing. For some reason $(BuiltOutputPath) was empty. I did it relative to the $(ProjectDir) instead.
It then failed with a different error (and much earlier). CloudDriveException 0x80070103.
Searching for this gave me this article which basically told me to manually edit the driver inf file for the wa miniport. http://msdn.microsoft.com/en-us/library/windowsazure/hh708321.aspx.
Now it attaches ok. The strange thing now is that the device has a warning when the vm starts (but only when hosted in azure), I have to manually go into the vm on azure and update the driver.
try to change BuiltOutputPath to BuildOutputPath. According to Richard, this is an error in the document. Refer to the Community Content section on the document for more information.

Resources