theforeman / foreman_cockpit

:rocket: Display console and journal of Cockpit-enabled hosts in Foreman - now replaced by Remote Execution's cockpit integration
GNU General Public License v3.0
18 stars 13 forks source link

Doesn't work with Cockpit version 172-1 #16

Open geoffjay opened 6 years ago

geoffjay commented 6 years ago

Foreman host OS: Debian 9.5 Cockpit host OS: Debian 9.5 Foreman: 1.18 Cockpit: 172-1 foreman_cockpit: 2.03

I assume that this is because the new versions of Cockpit redirect HTTP requests to HTTPS. Cockpit on my target host is working fine and the Foreman host has access to 9090, but when I curl the address that the docs say needs to be available I get:

<html><head><title>Moved</title></head><body>Please use TLS</body></html>

geoffjay commented 6 years ago

Maybe this is just an issue with documentation. It looks like it can use HTTPS as the protocol, but I can't seem to find the documentation to support that.

dgoetz commented 5 years ago

Is it just the button not showing up? If yes, try to apply the patch from #15 which is not included in a release but fixed it for me.