StevenHickson / PiAUISuite

Raspberry PI AUI Suite
Other
695 stars 210 forks source link

[VoiceCommand] POST requests require a Content-length header. That’s all we know. #22

Closed conrad10781 closed 10 years ago

conrad10781 commented 10 years ago

I'm not sure if this is a recent change, as I was using VoiceCommand just fine a couple of weeks ago, but today I noticed that the executable wasn't working. After some digging it appears that Google is responding with:

POST requests require a Content-length header. That’s all we know.

Looking further into this, it appears that maybe this service is no longer something you can call without an API key. After resolving the Content-Length, the next error is for:

Missing parameter: key

pannous commented 10 years ago

See https://github.com/gillesdemey/google-speech-v2 and discussion about recent problems

StevenHickson commented 10 years ago

Yeah I'm super upset about this. I've got things working (run the Update script) but it has really slowed down (around 5s to respond) Trying to figure things out now.

StevenHickson commented 10 years ago

Ahh good news. I've figured out how to make it much faster. I reduced the processing time to < 1/3 of what it was. Interesting that this works.

StevenHickson commented 10 years ago

Fixed now. Run UpdateAUISuite.sh for newest version