No VMRC after 1.24.2 Upgrade

OS: CentOS 7.7.1908
vCenter: 6.7

I ran an upgrade yesterday to 1.24.2 from 1.23.1 following the steps from Foreman :: Manual. The upgrade process completed without any issues, however, now I am unable to use the VMRC console link for hosts. Clicking the button just greys it out and there doesn’t seem to be any further requests made to the web server. The correct vmrc:// link is displayed in the browser status bar, and I can browse directly to it using another tab. This occurs in Chrome, Firefox, and Edge. I’ve enabled debug logging, and only see this in production.log when browsing to the hosts console page and clicking the ‘Launch Console’ button:

2020-01-29T10:24:24 [I|app|834248eb] Started GET “/hosts/host.local.domain/console” for 1.2.3.4 at 2020-01-29 10:24:24 +1100
2020-01-29T10:24:24 [I|app|834248eb] Processing by HostsController#console as HTML
2020-01-29T10:24:24 [I|app|834248eb] Parameters: {“id”=>“host.local.domain”}
2020-01-29T10:24:24 [D|tax|834248eb] Current location set to none
2020-01-29T10:24:24 [D|tax|834248eb] Current organization set to none
2020-01-29T10:24:25 [I|app|834248eb] Rendering hosts/console/vmrc.html.erb within layouts/application
2020-01-29T10:24:25 [I|app|834248eb] Rendered hosts/console/vmrc.html.erb within layouts/application (4.2ms)
2020-01-29T10:24:25 [I|app|834248eb] Rendered layouts/_application_content.html.erb (3.4ms)
2020-01-29T10:24:25 [I|app|834248eb] Rendering layouts/base.html.erb
2020-01-29T10:24:25 [I|app|834248eb] Rendered layouts/base.html.erb (30.8ms)
2020-01-29T10:24:25 [I|app|834248eb] Completed 200 OK in 211ms (Views: 44.2ms | ActiveRecord: 5.3ms)
2020-01-29T10:24:25 [I|app|115a4d03] Started GET “/hosts/host.local.domain/console” for 1.2.3.4 at 2020-01-29 10:24:25 +1100
2020-01-29T10:24:25 [I|app|115a4d03] Processing by HostsController#console as HTML
2020-01-29T10:24:25 [I|app|115a4d03] Parameters: {“id”=>“host.local.domain”}
2020-01-29T10:24:25 [D|tax|115a4d03] Current location set to none
2020-01-29T10:24:25 [D|tax|115a4d03] Current organization set to none
2020-01-29T10:24:25 [I|app|115a4d03] Rendering hosts/console/vmrc.html.erb within layouts/application
2020-01-29T10:24:25 [I|app|115a4d03] Rendered hosts/console/vmrc.html.erb within layouts/application (1.5ms)
2020-01-29T10:24:25 [I|app|115a4d03] Rendered layouts/_application_content.html.erb (0.8ms)
2020-01-29T10:24:25 [I|app|115a4d03] Rendering layouts/base.html.erb
2020-01-29T10:24:25 [I|app|115a4d03] Rendered layouts/base.html.erb (27.9ms)
2020-01-29T10:24:25 [I|app|115a4d03] Completed 200 OK in 160ms (Views: 30.2ms | ActiveRecord: 5.7ms)
2020-01-29T10:24:25 [I|app|e383bd5c] Started GET “/notification_recipients” for 1.2.3.4 at 2020-01-29 10:24:25 +1100
2020-01-29T10:24:25 [I|app|e383bd5c] Processing by NotificationRecipientsController#index as JSON
2020-01-29T10:24:25 [D|tax|e383bd5c] Current location set to none
2020-01-29T10:24:25 [D|tax|e383bd5c] Current organization set to none
2020-01-29T10:24:25 [D|not|e383bd5c] Cache Hit: notification, reading cache for notification-8
2020-01-29T10:24:25 [D|app|e383bd5c] Body: {“notifications”:}
2020-01-29T10:24:25 [I|app|e383bd5c] Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 2.1ms)

And from httpd logs:

1.2.3.4 - - [29/Jan/2020:10:24:24 +1100] “GET /hosts/host.local.domain/console HTTP/1.1” 200 3488 “https://foreman.local.domain/hosts/host.local.domain” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36”
1.2.3.4 - - [29/Jan/2020:10:24:25 +1100] “GET /hosts/host.local.domain/console HTTP/1.1” 200 3491 “https://foreman.local.domain/hosts/host.local.domain” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36”
1.2.3.4 - - [29/Jan/2020:10:24:25 +1100] “GET /webpack/foreman-vendor.bundle-v1.7.0-production-2f1c23e6737dd6104e35.css HTTP/1.1” 200 18572 “https://foreman.local.domain/hosts/host.local.domain/console” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36”
1.2.3.4 - - [29/Jan/2020:10:24:25 +1100] “GET /webpack/bundle-c7d205465db06bb7a5b2.css HTTP/1.1” 200 6389 “https://foreman.local.domain/hosts/host.local.domain/console” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36”
1.2.3.4 - - [29/Jan/2020:10:24:25 +1100] “GET /assets/application-71382ea2dfabc7cac48d042b96e502d294c7ee273cd4ed330825c8ff073d7571.css HTTP/1.1” 200 76368 “https://foreman.local.domain/hosts/host.local.domain/console” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36”
1.2.3.4 - - [29/Jan/2020:10:24:25 +1100] “GET /webpack/react-intl/locale/en-184748ca4140db88d0f5.js HTTP/1.1” 200 1522 “https://foreman.local.domain/hosts/host.local.domain/console” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36”
1.2.3.4 - - [29/Jan/2020:10:24:25 +1100] “GET /assets/favicon-3c4b227479d0b22ade7a9ad5483b48b6f14ed265befe5e29ffcc4fbb63cbcc1a.ico HTTP/1.1” 200 1150 “https://foreman.local.domain/hosts/host.local.domain/console” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36”
1.2.3.4 - - [29/Jan/2020:10:24:25 +1100] “GET /notification_recipients HTTP/1.1” 200 20 “https://foreman.local.domain/hosts/host.local.domain/console” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36”

And a screenshot of the request/response from Firefox:

I’ve also tried re-running foreman-installer with the --enable-foreman-compute-vmware option. At this point, I’m really not sure where else to look. Any help is appreciated. Thanks!

I can confirm this, it hits also my and @laugmanuel

Are there any JS errors in the browser console?

For me there doesn’t appear to be any that are related:

Same problem here after update to 1.24.2 (from 1.22)

Is there a redmine/bz issue?

I am also having issues with VMRC on the 1.24.2 release.

Sorry, I’m not seeing any obvious errors elsewhere, but I’m not sure how to check for those issues.

See PR: https://github.com/theforeman/foreman/pull/7551