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

Task id 404 Not Found #42

Open
ghost opened this issue Feb 22, 2022 · 0 comments
Open

Task id 404 Not Found #42

ghost opened this issue Feb 22, 2022 · 0 comments

Comments

@ghost
Copy link

ghost commented Feb 22, 2022

Hi, Why if i run in docker witnessme screenshot https://google.com i received task id : 5e685058-8916-4a13-8564-9e928efedbff
but after running wmapi and i want to get results about recenlty received task id, i have error 404 Not Found, it's not same task id or?

$ witnessme screenshot https://google.com
[witnessme.screenshot] INFO - Starting scan 5e685058-8916-4a13-8564-9e928efedbff
[witnessme.headlessbrowser] INFO - Starting headless browser
[witnessme.headlessbrowser] INFO - Using 1 browser tab(s)/thread(s)
[witnessme.screenshot] INFO - Took screenshot of https://google.com:443
[witnessme.headlessbrowser] INFO - Killing headless browser
[witnessme.screenshot] INFO - Saved scan to scan_2022_02_22_234054/
$ ls
scan_2022_02_22_234054 src
$ cd scan_2022_02_22_234054
$ ls
https_google.com_443.png  witnessme.db
$ wmapi 0.0.0.0 8000
INFO:     Started server process [70]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)
INFO:     172.17.0.1:60650 - "GET /docs HTTP/1.1" 200 OK
INFO:     172.17.0.1:60650 - "GET /openapi.json HTTP/1.1" 200 OK
INFO:     172.17.0.1:60652 - "GET /screenshot/ HTTP/1.1" 200 OK
INFO:     172.17.0.1:60654 - "GET /screenshot/5e685058-8916-4a13-8564-9e928efedbff/result HTTP/1.1" 404 Not Found
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants