lkuza2 / java-speech-api

The J.A.R.V.I.S. Speech API is designed to be simple and efficient, using the speech engines created by Google to provide functionality for parts of the API. Essentially, it is an API written in Java, including a recognizer, synthesizer, and a microphone capture utility. The project uses Google services for the synthesizer and recognizer. While this requires an Internet connection, it provides a complete, modern, and fully functional speech API in Java.
GNU General Public License v3.0
531 stars 304 forks source link

Getting 403 Error writing request body to server #75

Closed angetato closed 8 years ago

angetato commented 8 years ago

Hi, I can't get The Duplex Speech API (https://github.com/lkuza2/java-speech-api/wiki/Duplex---Hello-World) to work. I have this error :

Starting to write Error: 403 Error has occured java.io.IOException: Error writing request body to server at sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.checkError(HttpURLConnection.java:3107) at sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.write(HttpURLConnection.java:3090) at sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.write(HttpURLConnection.java:3085) at com.darkprograms.speech.recognizer.GSpeechDuplex.openHttpsPostConnection(GSpeechDuplex.java:391) at com.darkprograms.speech.recognizer.GSpeechDuplex.access$300(GSpeechDuplex.java:34) at com.darkprograms.speech.recognizer.GSpeechDuplex$2.run(GSpeechDuplex.java:226)

PLEASE Can you help me ? Thanks a lot Ange

Skylion007 commented 8 years ago

The usually indicates your API key is incorrect.

angetato commented 8 years ago

Thanks a lot !!!! It is working now :-)

amigax commented 7 years ago

This is happening to me too I have checked and double checked the key but still not working.