Skip to content

Getting error 503 in Synthesiser code #68

@swapsdphoenix

Description

@swapsdphoenix

Hii,
I was able to make use of this api perfectly few months ago....but now when i tried using synthesiser code for text to speech it throws me IOException with 503 server error

java.io.IOException: Server returned HTTP response code: 503 for URL: http://ipv4.google.com/sorry/IndexRedirect?continue=http://translate.google.com/translate_tts%3Ftl%3Den-IN%26q%3DHi%2Bthis%2Bis%2BPINN&q=CGMSBHyb-xMYiZGNsgUiGQDxp4NLlqCsRjsgZZNrqZUgkxvDJHUS0HI
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1626)
at com.darkprograms.speech.synthesiser.Synthesiser.getMP3Data(Synthesiser.java:130)
at texttospeech.TextToSpeech.talk(TextToSpeech.java:35)
at texttospeech.TextToSpeech.main(TextToSpeech.java:24)

When i tried manually hitting google translate url i stumbled across captcha authentication page first....Are there any changes happened in last 6 months or so??
Coz previous to that i was using this code perfectly....Please Help in this regard :)
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions