Skip to content
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

Open
mikeyy opened this issue Dec 25, 2018 · 10 comments
Open

Error "Audio url is not valid, aborting" #45

mikeyy opened this issue Dec 25, 2018 · 10 comments
Assignees
Labels
bug Something isn't working

Comments

@mikeyy
Copy link
Owner

mikeyy commented Dec 25, 2018

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)

@mikeyy
Copy link
Owner Author

mikeyy commented Dec 25, 2018

@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.

@mikeyy mikeyy self-assigned this Dec 25, 2018
@mikeyy mikeyy added the bug Something isn't working label Dec 25, 2018
@AlessandroSpallina
Copy link

No, i think the issue is related to Amazon and azure api key missing in my config file, my fault.
Both Amazon and azure are mandatory, right?

@mikeyy
Copy link
Owner Author

mikeyy commented Dec 25, 2018

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 model_dir line. Personally, I use pocketsphinx/model for Pocketsphinx and deepspeech/models for Deepspeech. Both Deepspeech and Pocketsphinx run locally.

pocketsphinx:
        model_dir:

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.

@AlessandroSpallina
Copy link

thanks for the support.
i cloned the pocketsphinx in /example directory, i removed the proxy settings (but nothing change if i use a free proxy found online) in demo.py and try to run the script with python3.6. It seemed to work.. instead to have the #42 issue displayed in chromium and at the same time in my terminal <Error "Audio url is not valid, aborting"> i get the menu of the audio, but the script end without downloading anything...
After some tests, for no reason, now i have again the #42 issue in the browser and the error audio url

@AlessandroSpallina
Copy link

the output now is longer
`$ python3.6 demo.py
2018-12-25 23:50:21,080 0 Starting solver with proxy http://171.100.2.154:8080
2018-12-25 23:50:21,965 Exception in callback EventEmitter.emit.._callback(<Task finishe...y handled.',)>) at /usr/local/lib/python3.6/site-packages/pyee/init.py:163
handle: <Handle EventEmitter.emit.._callback(<Task finishe...y handled.',)>) at /usr/local/lib/python3.6/site-packages/pyee/init.py:163>
Traceback (most recent call last):
File "/usr/local/lib/python3.6/asyncio/events.py", line 145, in _run
self._callback(*self._args)
File "/usr/local/lib/python3.6/site-packages/pyee/init.py", line 167, in _callback
self.emit('error', exc)
File "/usr/local/lib/python3.6/site-packages/pyee/init.py", line 178, in emit
raise args[0]
File "/usr/local/lib/python3.6/site-packages/nonocaptcha/solver.py", line 108, in handle_request
'body': source
File "/usr/local/lib/python3.6/site-packages/pyppeteer/network_manager.py", line 513, in respond
raise NetworkError('Request is already handled.')
pyppeteer.errors.NetworkError: Request is already handled.
2018-12-25 23:50:23,712 Exception in callback EventEmitter.emit.._callback(<Task finishe...y handled.',)>) at /usr/local/lib/python3.6/site-packages/pyee/init.py:163
handle: <Handle EventEmitter.emit.._callback(<Task finishe...y handled.',)>) at /usr/local/lib/python3.6/site-packages/pyee/init.py:163>
Traceback (most recent call last):
File "/usr/local/lib/python3.6/asyncio/events.py", line 145, in _run
self._callback(*self.args)
File "/usr/local/lib/python3.6/site-packages/pyee/init.py", line 167, in callback
self.emit('error', exc)
File "/usr/local/lib/python3.6/site-packages/pyee/init.py", line 178, in emit
raise args[0]
File "/usr/local/lib/python3.6/site-packages/nonocaptcha/solver.py", line 111, in handle_request
await request.continue
()
File "/usr/local/lib/python3.6/site-packages/pyppeteer/network_manager.py", line 483, in continue

raise NetworkError('Request is already handled.')
pyppeteer.errors.NetworkError: Request is already handled.
2018-12-25 23:50:23,714 Exception in callback EventEmitter.emit.._callback(<Task finishe...y handled.',)>) at /usr/local/lib/python3.6/site-packages/pyee/init.py:163
handle: <Handle EventEmitter.emit.._callback(<Task finishe...y handled.',)>) at /usr/local/lib/python3.6/site-packages/pyee/init.py:163>
Traceback (most recent call last):
File "/usr/local/lib/python3.6/asyncio/events.py", line 145, in _run
self._callback(*self.args)
File "/usr/local/lib/python3.6/site-packages/pyee/init.py", line 167, in callback
self.emit('error', exc)
File "/usr/local/lib/python3.6/site-packages/pyee/init.py", line 178, in emit
raise args[0]
File "/usr/local/lib/python3.6/site-packages/nonocaptcha/solver.py", line 111, in handle_request
await request.continue
()
File "/usr/local/lib/python3.6/site-packages/pyppeteer/network_manager.py", line 483, in continue

raise NetworkError('Request is already handled.')
pyppeteer.errors.NetworkError: Request is already handled.
2018-12-25 23:50:24,128 Exception in callback EventEmitter.emit.._callback(<Task finishe...y handled.',)>) at /usr/local/lib/python3.6/site-packages/pyee/init.py:163
handle: <Handle EventEmitter.emit.._callback(<Task finishe...y handled.',)>) at /usr/local/lib/python3.6/site-packages/pyee/init.py:163>
Traceback (most recent call last):
File "/usr/local/lib/python3.6/asyncio/events.py", line 145, in _run
self._callback(*self.args)
File "/usr/local/lib/python3.6/site-packages/pyee/init.py", line 167, in callback
self.emit('error', exc)
File "/usr/local/lib/python3.6/site-packages/pyee/init.py", line 178, in emit
raise args[0]
File "/usr/local/lib/python3.6/site-packages/nonocaptcha/solver.py", line 111, in handle_request
await request.continue
()
File "/usr/local/lib/python3.6/site-packages/pyppeteer/network_manager.py", line 483, in continue

raise NetworkError('Request is already handled.')
pyppeteer.errors.NetworkError: Request is already handled.
2018-12-25 23:50:25,460 Exception in callback EventEmitter.emit.._callback(<Task finishe...y handled.',)>) at /usr/local/lib/python3.6/site-packages/pyee/init.py:163
handle: <Handle EventEmitter.emit.._callback(<Task finishe...y handled.',)>) at /usr/local/lib/python3.6/site-packages/pyee/init.py:163>
Traceback (most recent call last):
File "/usr/local/lib/python3.6/asyncio/events.py", line 145, in _run
self._callback(*self.args)
File "/usr/local/lib/python3.6/site-packages/pyee/init.py", line 167, in callback
self.emit('error', exc)
File "/usr/local/lib/python3.6/site-packages/pyee/init.py", line 178, in emit
raise args[0]
File "/usr/local/lib/python3.6/site-packages/nonocaptcha/solver.py", line 111, in handle_request
await request.continue
()
File "/usr/local/lib/python3.6/site-packages/pyppeteer/network_manager.py", line 483, in continue

raise NetworkError('Request is already handled.')
pyppeteer.errors.NetworkError: Request is already handled.
2018-12-25 23:50:25,870 Exception in callback EventEmitter.emit.._callback(<Task finishe...y handled.',)>) at /usr/local/lib/python3.6/site-packages/pyee/init.py:163
handle: <Handle EventEmitter.emit.._callback(<Task finishe...y handled.',)>) at /usr/local/lib/python3.6/site-packages/pyee/init.py:163>
Traceback (most recent call last):
File "/usr/local/lib/python3.6/asyncio/events.py", line 145, in _run
self._callback(*self.args)
File "/usr/local/lib/python3.6/site-packages/pyee/init.py", line 167, in callback
self.emit('error', exc)
File "/usr/local/lib/python3.6/site-packages/pyee/init.py", line 178, in emit
raise args[0]
File "/usr/local/lib/python3.6/site-packages/nonocaptcha/solver.py", line 111, in handle_request
await request.continue
()
File "/usr/local/lib/python3.6/site-packages/pyppeteer/network_manager.py", line 483, in continue

raise NetworkError('Request is already handled.')
pyppeteer.errors.NetworkError: Request is already handled.
2018-12-25 23:50:26,247 Exception in callback EventEmitter.emit.._callback(<Task finishe...y handled.',)>) at /usr/local/lib/python3.6/site-packages/pyee/init.py:163
handle: <Handle EventEmitter.emit.._callback(<Task finishe...y handled.',)>) at /usr/local/lib/python3.6/site-packages/pyee/init.py:163>
Traceback (most recent call last):
File "/usr/local/lib/python3.6/asyncio/events.py", line 145, in _run
self._callback(*self.args)
File "/usr/local/lib/python3.6/site-packages/pyee/init.py", line 167, in callback
self.emit('error', exc)
File "/usr/local/lib/python3.6/site-packages/pyee/init.py", line 178, in emit
raise args[0]
File "/usr/local/lib/python3.6/site-packages/nonocaptcha/solver.py", line 111, in handle_request
await request.continue
()
File "/usr/local/lib/python3.6/site-packages/pyppeteer/network_manager.py", line 483, in continue

raise NetworkError('Request is already handled.')
pyppeteer.errors.NetworkError: Request is already handled.
2018-12-25 23:50:26,698 Exception in callback EventEmitter.emit.._callback(<Task finishe...y handled.',)>) at /usr/local/lib/python3.6/site-packages/pyee/init.py:163
handle: <Handle EventEmitter.emit.._callback(<Task finishe...y handled.',)>) at /usr/local/lib/python3.6/site-packages/pyee/init.py:163>
Traceback (most recent call last):
File "/usr/local/lib/python3.6/asyncio/events.py", line 145, in _run
self._callback(*self.args)
File "/usr/local/lib/python3.6/site-packages/pyee/init.py", line 167, in callback
self.emit('error', exc)
File "/usr/local/lib/python3.6/site-packages/pyee/init.py", line 178, in emit
raise args[0]
File "/usr/local/lib/python3.6/site-packages/nonocaptcha/solver.py", line 111, in handle_request
await request.continue
()
File "/usr/local/lib/python3.6/site-packages/pyppeteer/network_manager.py", line 483, in continue

raise NetworkError('Request is already handled.')
pyppeteer.errors.NetworkError: Request is already handled.
2018-12-25 23:50:27,962 Exception in callback EventEmitter.emit.._callback(<Task finishe...y handled.',)>) at /usr/local/lib/python3.6/site-packages/pyee/init.py:163
handle: <Handle EventEmitter.emit.._callback(<Task finishe...y handled.',)>) at /usr/local/lib/python3.6/site-packages/pyee/init.py:163>
Traceback (most recent call last):
File "/usr/local/lib/python3.6/asyncio/events.py", line 145, in _run
self._callback(*self.args)
File "/usr/local/lib/python3.6/site-packages/pyee/init.py", line 167, in callback
self.emit('error', exc)
File "/usr/local/lib/python3.6/site-packages/pyee/init.py", line 178, in emit
raise args[0]
File "/usr/local/lib/python3.6/site-packages/nonocaptcha/solver.py", line 111, in handle_request
await request.continue
()
File "/usr/local/lib/python3.6/site-packages/pyppeteer/network_manager.py", line 483, in continue

raise NetworkError('Request is already handled.')
pyppeteer.errors.NetworkError: Request is already handled.
2018-12-25 23:50:28,018 Exception in callback EventEmitter.emit.._callback(<Task finishe...y handled.',)>) at /usr/local/lib/python3.6/site-packages/pyee/init.py:163
handle: <Handle EventEmitter.emit.._callback(<Task finishe...y handled.',)>) at /usr/local/lib/python3.6/site-packages/pyee/init.py:163>
Traceback (most recent call last):
File "/usr/local/lib/python3.6/asyncio/events.py", line 145, in _run
self._callback(*self.args)
File "/usr/local/lib/python3.6/site-packages/pyee/init.py", line 167, in callback
self.emit('error', exc)
File "/usr/local/lib/python3.6/site-packages/pyee/init.py", line 178, in emit
raise args[0]
File "/usr/local/lib/python3.6/site-packages/nonocaptcha/solver.py", line 111, in handle_request
await request.continue
()
File "/usr/local/lib/python3.6/site-packages/pyppeteer/network_manager.py", line 483, in continue

raise NetworkError('Request is already handled.')
pyppeteer.errors.NetworkError: Request is already handled.
2018-12-25 23:50:28,050 Exception in callback EventEmitter.emit.._callback(<Task finishe...y handled.',)>) at /usr/local/lib/python3.6/site-packages/pyee/init.py:163
handle: <Handle EventEmitter.emit.._callback(<Task finishe...y handled.',)>) at /usr/local/lib/python3.6/site-packages/pyee/init.py:163>
Traceback (most recent call last):
File "/usr/local/lib/python3.6/asyncio/events.py", line 145, in _run
self._callback(*self.args)
File "/usr/local/lib/python3.6/site-packages/pyee/init.py", line 167, in callback
self.emit('error', exc)
File "/usr/local/lib/python3.6/site-packages/pyee/init.py", line 178, in emit
raise args[0]
File "/usr/local/lib/python3.6/site-packages/nonocaptcha/solver.py", line 111, in handle_request
await request.continue
()
File "/usr/local/lib/python3.6/site-packages/pyppeteer/network_manager.py", line 483, in continue

raise NetworkError('Request is already handled.')
pyppeteer.errors.NetworkError: Request is already handled.
2018-12-25 23:50:28,064 Exception in callback EventEmitter.emit.._callback(<Task finishe...y handled.',)>) at /usr/local/lib/python3.6/site-packages/pyee/init.py:163
handle: <Handle EventEmitter.emit.._callback(<Task finishe...y handled.',)>) at /usr/local/lib/python3.6/site-packages/pyee/init.py:163>
Traceback (most recent call last):
File "/usr/local/lib/python3.6/asyncio/events.py", line 145, in _run
self._callback(*self.args)
File "/usr/local/lib/python3.6/site-packages/pyee/init.py", line 167, in callback
self.emit('error', exc)
File "/usr/local/lib/python3.6/site-packages/pyee/init.py", line 178, in emit
raise args[0]
File "/usr/local/lib/python3.6/site-packages/nonocaptcha/solver.py", line 111, in handle_request
await request.continue
()
File "/usr/local/lib/python3.6/site-packages/pyppeteer/network_manager.py", line 483, in continue

raise NetworkError('Request is already handled.')
pyppeteer.errors.NetworkError: Request is already handled.
2018-12-25 23:50:28,587 Exception in callback EventEmitter.emit.._callback(<Task finishe...y handled.',)>) at /usr/local/lib/python3.6/site-packages/pyee/init.py:163
handle: <Handle EventEmitter.emit.._callback(<Task finishe...y handled.',)>) at /usr/local/lib/python3.6/site-packages/pyee/init.py:163>
Traceback (most recent call last):
File "/usr/local/lib/python3.6/asyncio/events.py", line 145, in _run
self._callback(*self.args)
File "/usr/local/lib/python3.6/site-packages/pyee/init.py", line 167, in callback
self.emit('error', exc)
File "/usr/local/lib/python3.6/site-packages/pyee/init.py", line 178, in emit
raise args[0]
File "/usr/local/lib/python3.6/site-packages/nonocaptcha/solver.py", line 111, in handle_request
await request.continue
()
File "/usr/local/lib/python3.6/site-packages/pyppeteer/network_manager.py", line 483, in continue

raise NetworkError('Request is already handled.')
pyppeteer.errors.NetworkError: Request is already handled.
2018-12-25 23:50:29,007 Exception in callback EventEmitter.emit.._callback(<Task finishe...y handled.',)>) at /usr/local/lib/python3.6/site-packages/pyee/init.py:163
handle: <Handle EventEmitter.emit.._callback(<Task finishe...y handled.',)>) at /usr/local/lib/python3.6/site-packages/pyee/init.py:163>
Traceback (most recent call last):
File "/usr/local/lib/python3.6/asyncio/events.py", line 145, in _run
self._callback(*self.args)
File "/usr/local/lib/python3.6/site-packages/pyee/init.py", line 167, in callback
self.emit('error', exc)
File "/usr/local/lib/python3.6/site-packages/pyee/init.py", line 178, in emit
raise args[0]
File "/usr/local/lib/python3.6/site-packages/nonocaptcha/solver.py", line 111, in handle_request
await request.continue
()
File "/usr/local/lib/python3.6/site-packages/pyppeteer/network_manager.py", line 483, in continue

raise NetworkError('Request is already handled.')
pyppeteer.errors.NetworkError: Request is already handled.
2018-12-25 23:50:29,330 Exception in callback EventEmitter.emit.._callback(<Task finishe...y handled.',)>) at /usr/local/lib/python3.6/site-packages/pyee/init.py:163
handle: <Handle EventEmitter.emit.._callback(<Task finishe...y handled.',)>) at /usr/local/lib/python3.6/site-packages/pyee/init.py:163>
Traceback (most recent call last):
File "/usr/local/lib/python3.6/asyncio/events.py", line 145, in _run
self._callback(*self.args)
File "/usr/local/lib/python3.6/site-packages/pyee/init.py", line 167, in callback
self.emit('error', exc)
File "/usr/local/lib/python3.6/site-packages/pyee/init.py", line 178, in emit
raise args[0]
File "/usr/local/lib/python3.6/site-packages/nonocaptcha/solver.py", line 111, in handle_request
await request.continue
()
File "/usr/local/lib/python3.6/site-packages/pyppeteer/network_manager.py", line 483, in continue

raise NetworkError('Request is already handled.')
pyppeteer.errors.NetworkError: Request is already handled.
2018-12-25 23:50:29,358 0 Clicking checkbox
2018-12-25 23:50:30,786 Exception in callback EventEmitter.emit.._callback(<Task finishe...y handled.',)>) at /usr/local/lib/python3.6/site-packages/pyee/init.py:163
handle: <Handle EventEmitter.emit.._callback(<Task finishe...y handled.',)>) at /usr/local/lib/python3.6/site-packages/pyee/init.py:163>
Traceback (most recent call last):
File "/usr/local/lib/python3.6/asyncio/events.py", line 145, in _run
self._callback(*self.args)
File "/usr/local/lib/python3.6/site-packages/pyee/init.py", line 167, in callback
self.emit('error', exc)
File "/usr/local/lib/python3.6/site-packages/pyee/init.py", line 178, in emit
raise args[0]
File "/usr/local/lib/python3.6/site-packages/nonocaptcha/solver.py", line 111, in handle_request
await request.continue
()
File "/usr/local/lib/python3.6/site-packages/pyppeteer/network_manager.py", line 483, in continue

raise NetworkError('Request is already handled.')
pyppeteer.errors.NetworkError: Request is already handled.
2018-12-25 23:50:31,614 Exception in callback EventEmitter.emit.._callback(<Task finishe...y handled.',)>) at /usr/local/lib/python3.6/site-packages/pyee/init.py:163
handle: <Handle EventEmitter.emit.._callback(<Task finishe...y handled.',)>) at /usr/local/lib/python3.6/site-packages/pyee/init.py:163>
Traceback (most recent call last):
File "/usr/local/lib/python3.6/asyncio/events.py", line 145, in _run
self._callback(*self.args)
File "/usr/local/lib/python3.6/site-packages/pyee/init.py", line 167, in callback
self.emit('error', exc)
File "/usr/local/lib/python3.6/site-packages/pyee/init.py", line 178, in emit
raise args[0]
File "/usr/local/lib/python3.6/site-packages/nonocaptcha/solver.py", line 111, in handle_request
await request.continue
()
File "/usr/local/lib/python3.6/site-packages/pyppeteer/network_manager.py", line 483, in continue

raise NetworkError('Request is already handled.')
pyppeteer.errors.NetworkError: Request is already handled.
2018-12-25 23:50:31,616 Exception in callback EventEmitter.emit.._callback(<Task finishe...y handled.',)>) at /usr/local/lib/python3.6/site-packages/pyee/init.py:163
handle: <Handle EventEmitter.emit.._callback(<Task finishe...y handled.',)>) at /usr/local/lib/python3.6/site-packages/pyee/init.py:163>
Traceback (most recent call last):
File "/usr/local/lib/python3.6/asyncio/events.py", line 145, in _run
self._callback(*self.args)
File "/usr/local/lib/python3.6/site-packages/pyee/init.py", line 167, in callback
self.emit('error', exc)
File "/usr/local/lib/python3.6/site-packages/pyee/init.py", line 178, in emit
raise args[0]
File "/usr/local/lib/python3.6/site-packages/nonocaptcha/solver.py", line 111, in handle_request
await request.continue
()
File "/usr/local/lib/python3.6/site-packages/pyppeteer/network_manager.py", line 483, in continue

raise NetworkError('Request is already handled.')
pyppeteer.errors.NetworkError: Request is already handled.
2018-12-25 23:50:31,619 Exception in callback EventEmitter.emit.._callback(<Task finishe...y handled.',)>) at /usr/local/lib/python3.6/site-packages/pyee/init.py:163
handle: <Handle EventEmitter.emit.._callback(<Task finishe...y handled.',)>) at /usr/local/lib/python3.6/site-packages/pyee/init.py:163>
Traceback (most recent call last):
File "/usr/local/lib/python3.6/asyncio/events.py", line 145, in _run
self._callback(*self.args)
File "/usr/local/lib/python3.6/site-packages/pyee/init.py", line 167, in callback
self.emit('error', exc)
File "/usr/local/lib/python3.6/site-packages/pyee/init.py", line 178, in emit
raise args[0]
File "/usr/local/lib/python3.6/site-packages/nonocaptcha/solver.py", line 111, in handle_request
await request.continue
()
File "/usr/local/lib/python3.6/site-packages/pyppeteer/network_manager.py", line 483, in continue

raise NetworkError('Request is already handled.')
pyppeteer.errors.NetworkError: Request is already handled.
2018-12-25 23:50:31,621 Exception in callback EventEmitter.emit.._callback(<Task finishe...y handled.',)>) at /usr/local/lib/python3.6/site-packages/pyee/init.py:163
handle: <Handle EventEmitter.emit.._callback(<Task finishe...y handled.',)>) at /usr/local/lib/python3.6/site-packages/pyee/init.py:163>
Traceback (most recent call last):
File "/usr/local/lib/python3.6/asyncio/events.py", line 145, in _run
self._callback(*self.args)
File "/usr/local/lib/python3.6/site-packages/pyee/init.py", line 167, in callback
self.emit('error', exc)
File "/usr/local/lib/python3.6/site-packages/pyee/init.py", line 178, in emit
raise args[0]
File "/usr/local/lib/python3.6/site-packages/nonocaptcha/solver.py", line 111, in handle_request
await request.continue
()
File "/usr/local/lib/python3.6/site-packages/pyppeteer/network_manager.py", line 483, in continue

raise NetworkError('Request is already handled.')
pyppeteer.errors.NetworkError: Request is already handled.
2018-12-25 23:50:31,632 Exception in callback EventEmitter.emit.._callback(<Task finishe...y handled.',)>) at /usr/local/lib/python3.6/site-packages/pyee/init.py:163
handle: <Handle EventEmitter.emit.._callback(<Task finishe...y handled.',)>) at /usr/local/lib/python3.6/site-packages/pyee/init.py:163>
Traceback (most recent call last):
File "/usr/local/lib/python3.6/asyncio/events.py", line 145, in _run
self._callback(*self.args)
File "/usr/local/lib/python3.6/site-packages/pyee/init.py", line 167, in callback
self.emit('error', exc)
File "/usr/local/lib/python3.6/site-packages/pyee/init.py", line 178, in emit
raise args[0]
File "/usr/local/lib/python3.6/site-packages/nonocaptcha/solver.py", line 111, in handle_request
await request.continue
()
File "/usr/local/lib/python3.6/site-packages/pyppeteer/network_manager.py", line 483, in continue

raise NetworkError('Request is already handled.')
pyppeteer.errors.NetworkError: Request is already handled.
2018-12-25 23:50:31,661 Exception in callback EventEmitter.emit.._callback(<Task finishe...y handled.',)>) at /usr/local/lib/python3.6/site-packages/pyee/init.py:163
handle: <Handle EventEmitter.emit.._callback(<Task finishe...y handled.',)>) at /usr/local/lib/python3.6/site-packages/pyee/init.py:163>
Traceback (most recent call last):
File "/usr/local/lib/python3.6/asyncio/events.py", line 145, in _run
self._callback(*self.args)
File "/usr/local/lib/python3.6/site-packages/pyee/init.py", line 167, in callback
self.emit('error', exc)
File "/usr/local/lib/python3.6/site-packages/pyee/init.py", line 178, in emit
raise args[0]
File "/usr/local/lib/python3.6/site-packages/nonocaptcha/solver.py", line 111, in handle_request
await request.continue
()
File "/usr/local/lib/python3.6/site-packages/pyppeteer/network_manager.py", line 483, in continue

raise NetworkError('Request is already handled.')
pyppeteer.errors.NetworkError: Request is already handled.
2018-12-25 23:50:31,675 Exception in callback EventEmitter.emit.._callback(<Task finishe...y handled.',)>) at /usr/local/lib/python3.6/site-packages/pyee/init.py:163
handle: <Handle EventEmitter.emit.._callback(<Task finishe...y handled.',)>) at /usr/local/lib/python3.6/site-packages/pyee/init.py:163>
Traceback (most recent call last):
File "/usr/local/lib/python3.6/asyncio/events.py", line 145, in _run
self._callback(*self.args)
File "/usr/local/lib/python3.6/site-packages/pyee/init.py", line 167, in callback
self.emit('error', exc)
File "/usr/local/lib/python3.6/site-packages/pyee/init.py", line 178, in emit
raise args[0]
File "/usr/local/lib/python3.6/site-packages/nonocaptcha/solver.py", line 111, in handle_request
await request.continue
()
File "/usr/local/lib/python3.6/site-packages/pyppeteer/network_manager.py", line 483, in continue

raise NetworkError('Request is already handled.')
pyppeteer.errors.NetworkError: Request is already handled.
2018-12-25 23:50:31,766 Exception in callback EventEmitter.emit.._callback(<Task finishe...y handled.',)>) at /usr/local/lib/python3.6/site-packages/pyee/init.py:163
handle: <Handle EventEmitter.emit.._callback(<Task finishe...y handled.',)>) at /usr/local/lib/python3.6/site-packages/pyee/init.py:163>
Traceback (most recent call last):
File "/usr/local/lib/python3.6/asyncio/events.py", line 145, in _run
self._callback(*self.args)
File "/usr/local/lib/python3.6/site-packages/pyee/init.py", line 167, in callback
self.emit('error', exc)
File "/usr/local/lib/python3.6/site-packages/pyee/init.py", line 178, in emit
raise args[0]
File "/usr/local/lib/python3.6/site-packages/nonocaptcha/solver.py", line 111, in handle_request
await request.continue
()
File "/usr/local/lib/python3.6/site-packages/pyppeteer/network_manager.py", line 483, in continue

raise NetworkError('Request is already handled.')
pyppeteer.errors.NetworkError: Request is already handled.
2018-12-25 23:50:31,821 Exception in callback EventEmitter.emit.._callback(<Task finishe...y handled.',)>) at /usr/local/lib/python3.6/site-packages/pyee/init.py:163
handle: <Handle EventEmitter.emit.._callback(<Task finishe...y handled.',)>) at /usr/local/lib/python3.6/site-packages/pyee/init.py:163>
Traceback (most recent call last):
File "/usr/local/lib/python3.6/asyncio/events.py", line 145, in _run
self._callback(*self.args)
File "/usr/local/lib/python3.6/site-packages/pyee/init.py", line 167, in callback
self.emit('error', exc)
File "/usr/local/lib/python3.6/site-packages/pyee/init.py", line 178, in emit
raise args[0]
File "/usr/local/lib/python3.6/site-packages/nonocaptcha/solver.py", line 111, in handle_request
await request.continue
()
File "/usr/local/lib/python3.6/site-packages/pyppeteer/network_manager.py", line 483, in continue

raise NetworkError('Request is already handled.')
pyppeteer.errors.NetworkError: Request is already handled.
2018-12-25 23:50:34,492 0 Clicking audio button
2018-12-25 23:50:34,953 Exception in callback EventEmitter.emit.._callback(<Task finishe...y handled.',)>) at /usr/local/lib/python3.6/site-packages/pyee/init.py:163
handle: <Handle EventEmitter.emit.._callback(<Task finishe...y handled.',)>) at /usr/local/lib/python3.6/site-packages/pyee/init.py:163>
Traceback (most recent call last):
File "/usr/local/lib/python3.6/asyncio/events.py", line 145, in _run
self._callback(*self.args)
File "/usr/local/lib/python3.6/site-packages/pyee/init.py", line 167, in callback
self.emit('error', exc)
File "/usr/local/lib/python3.6/site-packages/pyee/init.py", line 178, in emit
raise args[0]
File "/usr/local/lib/python3.6/site-packages/nonocaptcha/solver.py", line 111, in handle_request
await request.continue
()
File "/usr/local/lib/python3.6/site-packages/pyppeteer/network_manager.py", line 483, in continue

raise NetworkError('Request is already handled.')
pyppeteer.errors.NetworkError: Request is already handled.
2018-12-25 23:50:36,261 Exception in callback EventEmitter.emit.._callback(<Task finishe...y handled.',)>) at /usr/local/lib/python3.6/site-packages/pyee/init.py:163
handle: <Handle EventEmitter.emit.._callback(<Task finishe...y handled.',)>) at /usr/local/lib/python3.6/site-packages/pyee/init.py:163>
Traceback (most recent call last):
File "/usr/local/lib/python3.6/asyncio/events.py", line 145, in _run
self._callback(*self.args)
File "/usr/local/lib/python3.6/site-packages/pyee/init.py", line 167, in callback
self.emit('error', exc)
File "/usr/local/lib/python3.6/site-packages/pyee/init.py", line 178, in emit
raise args[0]
File "/usr/local/lib/python3.6/site-packages/nonocaptcha/solver.py", line 111, in handle_request
await request.continue
()
File "/usr/local/lib/python3.6/site-packages/pyppeteer/network_manager.py", line 483, in continue

raise NetworkError('Request is already handled.')
pyppeteer.errors.NetworkError: Request is already handled.
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 23:50:39,973 0 Audio url is not valid, aborting <class 'nonocaptcha.exceptions.DownloadError'>
2018-12-25 23:50:40,482 0 Browser closed
2018-12-25 23:50:40,483 0 Time elapsed: 20.937331914901733
`

@mikeyy
Copy link
Owner Author

mikeyy commented Dec 26, 2018

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 python3 test_speech.py from the same directory as your config file and also audio_files.

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 puppeteer==0.0.25. One of those being keyboard traverse.

@AlessandroSpallina
Copy link

so, test_speech.py located in the root directory of the project not produce any output.
I use ubuntu 18.04 with python3, all my dependecies are in the right version.
Now, i run the script in example/demo.py with this config in example/nonocaptcha.yaml, i run demo.py without proxy, here the code.
I get different behavior if i run the script many times, i get 3 different behaviour:

  1. Google Chrome Error: "Automated Queries" #42 issue and nothing to do, sometimes this is fixed if i change animation timeout in config file, but after 1 or 2 change this "fix" doesn't work anymore.
  2. this output, very fast opening chromium and closing without any real action
  3. a lock situation "audio url invalid", follow a screen of my browser
    schermata del 2018-12-26 16-03-39
    and this is the output in my terminal

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"

mikeyy added a commit that referenced this issue Jan 4, 2019
@mikeyy
Copy link
Owner Author

mikeyy commented Jan 4, 2019

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

@soultobleed
Copy link

I'm having the same issue, not sure why, yet.
It seems to be failing when it tries to download a couple of payloads.
image

@mikeyy
Copy link
Owner Author

mikeyy commented Feb 17, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants