Skip to content

Commit dd98d31

Browse files
committed
add note in CI overview about how to disable dbus
1 parent e264503 commit dd98d31

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/app/continuous-integration/overview.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -709,6 +709,14 @@ colors are not properly formatted in your CI.
709709
NO_COLOR=1 cypress run
710710
```
711711

712+
### `Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket`
713+
714+
This error message indicates that Electron is attempting to connect to `dbus`, a desktop environment service, when there is no `dbus` present.
715+
716+
Cypress does its best to detect non-interactive shells and disable `dbus` by setting the `DBUS_SESSION_BUS_ADDRESS` environment variable to `disabled:`.
717+
718+
If you see these error messages, setting the `DBUS_SESSION_BUS_ADDRESS` environment variable to `disabled:` should resolve them.
719+
712720
## See also
713721

714722
- [Cypress Real World App](https://github.com/cypress-io/cypress-realworld-app)

0 commit comments

Comments
 (0)