Comments (6)
@r00tSe7en @AdrianVollmer @austinbentlee I've created a debug Dockerfile that will print errors to the console so we can figure out the source of the problem.
Please try it and copy the error details here.
Create image:
docker build -f dockerfile-debug . -t bloodhound-debug
Add local user to DISPLAY (if necessary):
xhost +local:$(id -nu)
Run container:
docker run -it \
-p 7474:7474 \
-e DISPLAY=unix$DISPLAY \
-v /tmp/.X11-unix:/tmp/.X11-unix \
--device=/dev/dri:/dev/dri \
-v $(pwd)/bh-data:/data \
--name bloodhound-debug bloodhound-debug
If you get error messages about shared memory, try the shm-size
argument.
docker run -it --shm-size=1g \
-p 7474:7474 \
-e DISPLAY=unix$DISPLAY \
-v /tmp/.X11-unix:/tmp/.X11-unix \
--device=/dev/dri:/dev/dri \
-v $(pwd)/bh-data:/data \
--name bloodhound-debug bloodhound-debug
from docker-bloodhound.
FWIW I got a blank screen right after the login almost always, but not quite. Once in 20 attempts or so it would work. (Note that I was using podman instead of Docker.)
I set the environment variable ELECTRON_ENABLE_LOGGING=true
(I recommend setting this by default in run.sh
) and got this:
[863:0404/074158.514056:WARNING:discardable_shared_memory_manager.cc(194)] Less than 64MB of free space in temporary directory for shared memory files: 62
[863:0404/074158.576556:ERROR:bus.cc(393)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[863:0404/074158.600654:ERROR:bus.cc(393)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[863:0404/074158.630999:ERROR:bus.cc(393)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
(node:863) electron: The default of contextIsolation is deprecated and will be changing from false to true in a future release of Electron. See https://github.com/electron/electron/issues/23506 for more information
[926:0404/074158.697044:ERROR:command_buffer_proxy_impl.cc(122)] ContextResult::kTransientFailure: Failed to send GpuChannelMsg_CreateCommandBuffer.
[863:0404/074158.752921:INFO:CONSOLE(1656)] "to use the xlx plugin, you have to include the XLSX library", source: file:///opt/BloodHound-linux-x64/resources/app/node_modules/linkurious/dist/plugins.js (1656)
[863:0404/074158.752950:INFO:CONSOLE(2283)] "to use the dagre plugin, you have to include dagre and dagre.graphlib", source: file:///opt/BloodHound-linux-x64/resources/app/node_modules/linkurious/dist/plugins.js (2283)
[863:0404/074158.753289:INFO:CONSOLE(14738)] "Include leaflet to use the leaflet plugin for sigma.", source: file:///opt/BloodHound-linux-x64/resources/app/node_modules/linkurious/dist/plugins.js (14738)
(node:926) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
[892:0404/074202.145526:ERROR:broker_posix.cc(46)] Received unexpected number of handles
Renderer process crashed - see https://www.electronjs.org/docs/tutorial/application-debugging for potential debugging information.
This explains and solves it: https://stackoverflow.com/questions/56218242/headless-chromium-on-docker-fails
Option 1:
Runchromebloodhound with --disable-dev-shm-usage
Option 2:
Set /dev/shm size to a reasonable amountdocker run -it --shm-size=1g
replacing1g
with whatever amount you want.
from docker-bloodhound.
I'm not sure what caused the blank
from docker-bloodhound.
Not sure what caused it, but it seems a BloodHound problem as they have some issues about this;
- BloodHoundAD/BloodHound#490
- BloodHoundAD/BloodHound#598
- BloodHoundAD/BloodHound#584
- BloodHoundAD/BloodHound#221
Does it show any error log?
from docker-bloodhound.
EDIT: A workaround fix appears to be running BloodHound in a small window. I have a 2K monitor and it crashes pretty much right away. If you put it in a juuuuust usable enough window, you don't get any crashing.
@belane Please reconsider opening this issue as this is still occurring. See @AdrianVollmer's above comment.
from docker-bloodhound.
Related Issues (7)
- belane/bloodhound under unRAID HOT 8
- Package names mismatch based on upstream image changes
- Error when building HOT 2
- Issues with DISPLAY and DEVICE HOT 2
- /opt/run.sh: line 6: 161 Aborted (core dumped) /opt/BloodHound-linux-x64/BloodHound --no-sandbox 2> /dev/null HOT 2
- OpenJDK Docker Image Deprecated HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-bloodhound.