Karol Danko

Results 5 comments of Karol Danko

looks like you're running old version of respeaker python API, looks like the latest (0.6) is not published properly - connect to your respeaker (see get started, don't forget to...

Status code 401 means unauthorized, check your api key

Try this curl, if it works the problem is somewhere in the respeaker lib. ` curl -v -X POST "https://api.cognitive.microsoft.com/sts/v1.0/issueToken" -H "Content-type: application/x-www-form-urlencoded" -H "Content-Length: 0" -H "Ocp-Apim-Subscription-Key: your_subscription_key" `...

you have to set read preferences http://php.net/manual/en/mongo.readpreferences.php $m = new MongoClient(...); $m->setReadPreference(MongoClient::RP_SECONDARY);

+1, this would be an awesome feature