-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error "Audio url is not valid, aborting" #45
Comments
@AlessandroSpallina Can you confirm that the click misfires, clicking one of the image tiles instead of the audio button? You will notice one of the images fade out with a green check mark overlaying the tile. |
No, i think the issue is related to Amazon and azure api key missing in my config file, my fault. |
You are free to choose between the 4 available speech services. By default the service is Pocketsphinx. This requires the language model files located here - https://github.com/cmusphinx/pocketsphinx/tree/master/model. Save them inside the same directory as the configuration file and modify the destination at the following
While Azure and Amazon are a more convenient option, they are financially impractical for extensive testing. Reason being it costs more per 1000 speech-to-text calls compared to using a third party captcha solving service. Lastly, Amazon on average takes up to a minute for processing a request and Azure is exceptionally faster with a response time no more than 15 seconds. I plan on outlining the requirements and install process in detail sometime in the future. |
thanks for the support. |
the output now is longer 2018-12-25 23:50:39,973 0 Audio url is not valid, aborting <class 'nonocaptcha.exceptions.DownloadError'> |
Due to the vagueness of the output it's difficult, if not impossible to determine the exact cause. Going to make the logging more descriptive during faults. In the meantime, I've reorganized the way speech testing is accomplished. This way you won't have to use two configuration files and we can be sure if speech is deciphered during testing then it will work in practice. Now you can simply run Err on my part, I should have determined this earlier... which operating system are you running from? And if possible, the address as well. Hoping we can clear this up. I think a few things were broken when updating to |
so, test_speech.py located in the root directory of the project not produce any output.
this is frustrating, i think the best way is try to set all the environment in a fresh ubuntu installation and write a full detailed guide and consider that doc "the way" |
I've added a readme for installation instructions that should install everything required under Ubuntu 16.04. This is mostly rehashed from the already existing Dockerfile located at https://github.com/mikeyy/nonoCAPTCHA/blob/master/Dockerfile |
Unfortunately, I'm lacking funds to actually pursue any further developments. It is my deepest regret to announce that until things change for the better this project's future is at a full-stop. |
i continue to see the issue and in command line i get this:
`$ python3 demo.py
2018-12-25 17:40:35,098 0 Starting solver with proxy http://xxxxxx:53281
2018-12-25 17:40:49,151 0 Clicking checkbox
2018-12-25 17:40:54,394 0 Clicking audio button
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/nonocaptcha/solver.py", line 74, in start
result = await self.solve()
File "/usr/local/lib/python3.6/site-packages/nonocaptcha/solver.py", line 275, in solve
return await self._solve()
File "/usr/local/lib/python3.6/site-packages/nonocaptcha/solver.py", line 310, in _solve
result = await self.loop.create_task(solve())
File "/usr/local/lib/python3.6/site-packages/nonocaptcha/audio.py", line 34, in solve_by_audio
self.get_audio_response())
File "/usr/local/lib/python3.6/site-packages/nonocaptcha/audio.py", line 60, in get_audio_response
raise DownloadError("Audio url is not valid, aborting")
nonocaptcha.exceptions.DownloadError: Audio url is not valid, aborting
2018-12-25 17:40:59,875 0 Audio url is not valid, aborting <class 'nonocaptcha.exceptions.DownloadError'>
2018-12-25 17:41:00,358 0 Browser closed
2018-12-25 17:41:00,358 0 Time elapsed: 26.60468864440918`
how to fix that?
Originally posted by @AlessandroSpallina in #42 (comment)
The text was updated successfully, but these errors were encountered: