Lissy93 / web-check

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

Screenshot broken #136

Open CrazyWolf13 opened 5 months ago

CrazyWolf13 commented 5 months ago

Hi @Lissy93 Awesome tool you created!

Deployed my own, but sadly the screenshot tool is not working correctly?

I'm running the latest docker and getting the following error:

Failed to load resource: the server responded with a status of 500 (Internal Server Error)
instrument.ts:132 Fetch Error - screenshot[13:40:32] The screenshot job failed after 582ms, with the following error:Failed to launch the browser process![108:108:0419/114031.894572:ERROR:ozone_platform_x11.cc(239)] Missing X server or $DISPLAY[108:108:0419/114031.894782:ERROR:env.cc(257)] The platform failed to initialize.  Exiting.[108:132:0419/114031.896153:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directoryTROUBLESHOOTING: https://pptr.dev/troubleshooting
qdii commented 4 months ago

In Docker, it looks like the web-check app may not be able talk with Chromium for the following reasons:

I think the solution would be to modify the Dockerfile to first start xvfb and dbus.