Lissy93 / web-check

🕵️‍♂️ All-in-one OSINT tool for analysing any website
https://web-check.xyz
MIT License
21.97k stars 1.67k forks source link

Chromium could not be found in Docker and on the demo page #95

Closed geek-at closed 7 months ago

geek-at commented 7 months ago

Hello! Thanks for this amazing repo, it comes in handy for me 😁

Sadly tech-stack and screenshot jobs are failing because they can't start the browser.

I have seen that in the past ( #43 ) this was an issue but should have been mitigated.

For some reason it still doesn't work for me and seemingly also not for the demo site https://web-check.xyz/

The error is the same in both:

my docker container: image

and on web-check.xyz: image

I have checked the Dockerfile and chromium is installed at the correct location so I'm wondering where this bug might come from

geek-at commented 7 months ago

I have also seen the branch FIX/chromium-docker but this also causes errors, although different ones

image

stijnos1991 commented 7 months ago

I'm getting the same errors...

Lissy93 commented 7 months ago

Duplicate of #50

The demo is hosted on Vercel, and Chromium isn't availible to the Vercel lambda functions.

You'll need to run your own instance if you want those checks.

geek-at commented 7 months ago

Sorry for the confusion I tested the local docker container, not on vercel. On my container there's chromium installed. I have tested from the dockerhub image and built it myself.

Can you confirm that if you run it from docker that the chromium related tests work for you @Lissy93

Lissy93 commented 7 months ago

Ah, sorry I misunderstood. Chromium should work in Docker (it does for me on Arch running amd64 img), but I've found it to be temperamental. It might be worth looking into a different base image, one with a proper Chromium baked in.