cockpit-project / console.dot

Webconsole Cloud Service
2 stars 3 forks source link

Connector: check cockpit-bridge version #67

Closed tiran closed 2 years ago

tiran commented 2 years ago

cockpit-bridge-websocket-connector now checks for presence and version of the cockpit-bridge program. If the command is missing or too old, the connector script fails with an error message right at the start. Before an outdated Cockpit version resulted in an incomprehensible error on the browser side of the connection.

tiran commented 2 years ago

I have ~wasted~ spent way too much time with debugging my setup until I figured out that cockpit-bridge on my RHEL 9 VM was slightly too old. This PR adds a check that verifies cockpit-bridge presence and version.

tiran commented 2 years ago

Sorry for your troubles @tiran! The README mentions it, but this is much better indeed!

No hard feelings! The information in the README eventually pointed me in the right direction. At first it didn't occur to me that the problem was caused by an outdated cockpit version.