What does “Client failed to connect to the D-BUS daemon” mean?

前端 未结 3 600
遇见更好的自我
遇见更好的自我 2020-12-31 06:28

I am using a very complex setup to test various non-public webpages. I use jenkins to run the python-selenium tests within a dockerima

3条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-31 07:01

    What does this message mean?

    DBus is a message bus system for interprocess commutation. There is an open geckodriver issue on a similar if not the same subject:

    • request to geckodriver fails with no meaningful log entry when there is no access to $HOME/.mozilla or $HOME/.cache

    Could that be an indication of the reason why sometimes the tests are failing?

    The warning should not really affect the tests but it's difficult to speculate about your intermittent test failures without seeing what is actually happening in your tests.

    If so, how to fix it?

    Here are some things to try:

    • upgrade geckodriver to the latest stable version (currently 0.19.1)
    • update Firefox to the latest nightly version (currently 58)
    • try this answer
    • try this answer

提交回复
热议问题