How to configure puppet run on Foreman console?

I am uising Foreman 2.1 with Puppetserver 6.12. After I enabled puppet run on Foreman console, when I click “run puppet” , I received error:

failed to execute puppetrun: ERF12-4252 [ProxyAPI::ProxyException]: Unable to execute Puppet run ([RestClient::InternalServerError]: 500 Internal Server Error) for proxy https://machine01:8443/puppet

Expected outcome:
Successfully executed, check log files for more details.

Foreman and Proxy versions:
Foreman Version 2.1.0-rc2

Foreman and Proxy plugin versions:

Distribution and version:

Other relevant data:

Out of the box this may no longer work. Puppet 4 dropped the puppet kick / puppet run implementation (after it was deprecated in Puppet 3). In our proxy we still have code to use SSH but that’s being deprecated in favor of Remote Execution.

Hi, thank you for the information. When I was using Foreman 1.7 with Puppetserver 5, I was able to do it with mcollective installed. But now mcollective is removed in puppetserver 6 and I will switch to Bolt. As for Remote Execution, can you provide me more information or document? Is it available in Foreman 2.1? Thanks!

I found this: