Remote Execution Pull Client not Working

Problem:
When I attempt to run any remote execution job using the pull client, the job throws the error message: Error loading data from proxy: NoMethodError - undefined method `each_with_index' for nil:NilClass
Expected outcome:
The remote execution job completes successfully.
Foreman and Proxy versions:
Foreman 3.10.0
Foreman and Proxy plugin versions:
foreman-tasks 9.1.1
foreman_bootdisk 21.2.2
foreman_discovery 24.0.1
foreman_remote_execution 13.0.0
katello 4.12.0
Distribution and version:
AlmaLinux 9.4
Other relevant data:
The error as seen in /var/log/foreman-proxy/proxy.log:

2024-05-24T15:06:39 b15a023e [E] <ArgumentError> wrong number of arguments (given 2, expected 1)
        /usr/share/gems/gems/smart_proxy_remote_execution_ssh-0.10.4/lib/smart_proxy_remote_execution_ssh/actions/pull_script.rb:23:in `plan'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/action.rb:532:in `block (3 levels) in execute_plan'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/middleware/stack.rb:27:in `pass'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/middleware.rb:19:in `pass'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/middleware.rb:36:in `plan'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/middleware/stack.rb:23:in `call'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/middleware/stack.rb:27:in `pass'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/middleware.rb:19:in `pass'
        /usr/share/gems/gems/smart_proxy_dynflow-0.9.2/lib/smart_proxy_dynflow/middleware/keep_current_request_id.rb:12:in `block in plan'
        /usr/share/gems/gems/smart_proxy_dynflow-0.9.2/lib/smart_proxy_dynflow/middleware/keep_current_request_id.rb:33:in `with_current_request_id'
        /usr/share/gems/gems/smart_proxy_dynflow-0.9.2/lib/smart_proxy_dynflow/middleware/keep_current_request_id.rb:11:in `plan'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/middleware/stack.rb:23:in `call'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/middleware/stack.rb:27:in `pass'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/middleware.rb:19:in `pass'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/middleware.rb:36:in `plan'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/middleware/stack.rb:23:in `call'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/middleware/world.rb:31:in `execute'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/action.rb:531:in `block (2 levels) in execute_plan'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/execution_plan.rb:387:in `switch_flow'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/action.rb:435:in `concurrence'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/action.rb:530:in `block in execute_plan'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/action.rb:490:in `block in with_error_handling'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/action.rb:490:in `catch'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/action.rb:490:in `with_error_handling'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/action.rb:529:in `execute_plan'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/action.rb:303:in `execute'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/execution_plan/steps/plan_step.rb:55:in `block in execute'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/execution_plan/steps/abstract.rb:167:in `with_meta_calculation'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/execution_plan/steps/plan_step.rb:54:in `execute'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/action.rb:463:in `plan_action'
        /usr/share/gems/gems/smart_proxy_remote_execution_ssh-0.10.4/lib/smart_proxy_remote_execution_ssh/actions/run_script.rb:13:in `plan'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/action.rb:532:in `block (3 levels) in execute_plan'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/middleware/stack.rb:27:in `pass'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/middleware.rb:19:in `pass'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/middleware.rb:36:in `plan'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/middleware/stack.rb:23:in `call'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/middleware/stack.rb:27:in `pass'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/middleware.rb:19:in `pass'
        /usr/share/gems/gems/smart_proxy_dynflow-0.9.2/lib/smart_proxy_dynflow/middleware/keep_current_request_id.rb:12:in `block in plan'
        /usr/share/gems/gems/smart_proxy_dynflow-0.9.2/lib/smart_proxy_dynflow/middleware/keep_current_request_id.rb:33:in `with_current_request_id'
        /usr/share/gems/gems/smart_proxy_dynflow-0.9.2/lib/smart_proxy_dynflow/middleware/keep_current_request_id.rb:11:in `plan'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/middleware/stack.rb:23:in `call'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/middleware/stack.rb:27:in `pass'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/middleware.rb:19:in `pass'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/middleware.rb:36:in `plan'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/middleware/stack.rb:23:in `call'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/middleware/world.rb:31:in `execute'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/action.rb:531:in `block (2 levels) in execute_plan'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/execution_plan.rb:387:in `switch_flow'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/action.rb:435:in `concurrence'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/action.rb:530:in `block in execute_plan'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/action.rb:490:in `block in with_error_handling'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/action.rb:490:in `catch'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/action.rb:490:in `with_error_handling'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/action.rb:529:in `execute_plan'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/action.rb:303:in `execute'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/execution_plan/steps/plan_step.rb:55:in `block in execute'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/execution_plan/steps/abstract.rb:167:in `with_meta_calculation'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/execution_plan/steps/plan_step.rb:54:in `execute'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/execution_plan.rb:289:in `block (2 levels) in plan'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/execution_plan.rb:387:in `switch_flow'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/execution_plan.rb:377:in `with_planning_scope'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/execution_plan.rb:288:in `block in plan'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/middleware/stack.rb:27:in `pass'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/middleware.rb:19:in `pass'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/middleware.rb:44:in `plan_phase'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/middleware/stack.rb:23:in `call'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/middleware/stack.rb:27:in `pass'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/middleware.rb:19:in `pass'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/middleware.rb:44:in `plan_phase'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/middleware/stack.rb:23:in `call'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/middleware/stack.rb:27:in `pass'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/middleware.rb:19:in `pass'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/middleware/common/transaction.rb:17:in `block in rollback_on_error'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/transaction_adapters/none.rb:6:in `transaction'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/middleware/common/transaction.rb:16:in `rollback_on_error'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/middleware/common/transaction.rb:6:in `plan_phase'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/middleware/stack.rb:23:in `call'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/middleware/world.rb:31:in `execute'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/execution_plan.rb:287:in `plan'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/world.rb:219:in `block (2 levels) in plan_with_options'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/coordinator.rb:326:in `acquire'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/world.rb:217:in `block in plan_with_options'
        <internal:kernel>:90:in `tap'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/world.rb:216:in `plan_with_options'
        /usr/share/gems/gems/smart_proxy_dynflow-0.9.2/lib/smart_proxy_dynflow/task_launcher/abstract.rb:50:in `block in trigger'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/world.rb:178:in `trigger'
        /usr/share/gems/gems/smart_proxy_dynflow-0.9.2/lib/smart_proxy_dynflow/task_launcher/abstract.rb:49:in `trigger'
        /usr/share/gems/gems/smart_proxy_dynflow-0.9.2/lib/smart_proxy_dynflow/task_launcher/single.rb:11:in `launch!'
        /usr/share/gems/gems/smart_proxy_dynflow-0.9.2/lib/smart_proxy_dynflow/task_launcher/batch.rb:14:in `block in launch_children'
        /usr/share/gems/gems/smart_proxy_dynflow-0.9.2/lib/smart_proxy_dynflow/task_launcher/batch.rb:12:in `each'
        /usr/share/gems/gems/smart_proxy_dynflow-0.9.2/lib/smart_proxy_dynflow/task_launcher/batch.rb:12:in `map'
        /usr/share/gems/gems/smart_proxy_dynflow-0.9.2/lib/smart_proxy_dynflow/task_launcher/batch.rb:12:in `launch_children'
        /usr/share/gems/gems/smart_proxy_dynflow-0.9.2/lib/smart_proxy_dynflow/action/batch.rb:16:in `create_sub_plans'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/action/with_sub_plans.rb:47:in `spawn_plans'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/action/with_sub_plans.rb:43:in `initiate'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/action/with_sub_plans.rb:23:in `block in run'
        /usr/share/gems/gems/algebrick-0.7.5/lib/algebrick/matchers/abstract.rb:74:in `assigns'
        /usr/share/gems/gems/algebrick-0.7.5/lib/algebrick/matching.rb:56:in `match_value'
        /usr/share/gems/gems/algebrick-0.7.5/lib/algebrick/matching.rb:36:in `block in match?'
        /usr/share/gems/gems/algebrick-0.7.5/lib/algebrick/matching.rb:35:in `each'
        /usr/share/gems/gems/algebrick-0.7.5/lib/algebrick/matching.rb:35:in `match?'
        /usr/share/gems/gems/algebrick-0.7.5/lib/algebrick/matching.rb:23:in `match'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/action/with_sub_plans.rb:18:in `run'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/action.rb:589:in `block (3 levels) in execute_run'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/middleware/stack.rb:27:in `pass'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/middleware.rb:19:in `pass'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/action/progress.rb:31:in `with_progress_calculation'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/action/progress.rb:17:in `run'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/middleware/stack.rb:23:in `call'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/middleware/stack.rb:27:in `pass'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/middleware.rb:19:in `pass'
        /usr/share/gems/gems/smart_proxy_dynflow-0.9.2/lib/smart_proxy_dynflow/middleware/keep_current_request_id.rb:17:in `block in run'
        /usr/share/gems/gems/smart_proxy_dynflow-0.9.2/lib/smart_proxy_dynflow/middleware/keep_current_request_id.rb:51:in `restore_current_request_id'
        /usr/share/gems/gems/smart_proxy_dynflow-0.9.2/lib/smart_proxy_dynflow/middleware/keep_current_request_id.rb:17:in `run'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/middleware/stack.rb:23:in `call'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/middleware/stack.rb:27:in `pass'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/middleware.rb:19:in `pass'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/middleware.rb:32:in `run'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/middleware/stack.rb:23:in `call'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/middleware/world.rb:31:in `execute'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/action.rb:588:in `block (2 levels) in execute_run'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/action.rb:587:in `catch'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/action.rb:587:in `block in execute_run'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/action.rb:490:in `block in with_error_handling'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/action.rb:490:in `catch'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/action.rb:490:in `with_error_handling'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/action.rb:582:in `execute_run'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/action.rb:303:in `execute'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:18:in `block (2 levels) in execute'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/execution_plan/steps/abstract.rb:167:in `with_meta_calculation'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:17:in `block in execute'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:32:in `open_action'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:16:in `execute'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/director.rb:69:in `execute'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/executors/parallel/worker.rb:15:in `block in on_message'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/executors.rb:18:in `run_user_code'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/executors/parallel/worker.rb:14:in `on_message'
        /usr/share/gems/gems/concurrent-ruby-edge-0.6.0/lib/concurrent-ruby-edge/concurrent/actor/context.rb:46:in `on_envelope'
        /usr/share/gems/gems/concurrent-ruby-edge-0.6.0/lib/concurrent-ruby-edge/concurrent/actor/behaviour/executes_context.rb:7:in `on_envelope'
        /usr/share/gems/gems/concurrent-ruby-edge-0.6.0/lib/concurrent-ruby-edge/concurrent/actor/behaviour/abstract.rb:25:in `pass'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/actor.rb:122:in `on_envelope'
        /usr/share/gems/gems/concurrent-ruby-edge-0.6.0/lib/concurrent-ruby-edge/concurrent/actor/behaviour/abstract.rb:25:in `pass'
        /usr/share/gems/gems/concurrent-ruby-edge-0.6.0/lib/concurrent-ruby-edge/concurrent/actor/behaviour/awaits.rb:15:in `on_envelope'
        /usr/share/gems/gems/concurrent-ruby-edge-0.6.0/lib/concurrent-ruby-edge/concurrent/actor/behaviour/abstract.rb:25:in `pass'
        /usr/share/gems/gems/concurrent-ruby-edge-0.6.0/lib/concurrent-ruby-edge/concurrent/actor/behaviour/sets_results.rb:14:in `on_envelope'
        /usr/share/gems/gems/dynflow-1.8.2/lib/dynflow/actor.rb:56:in `on_envelope'
        /usr/share/gems/gems/concurrent-ruby-edge-0.6.0/lib/concurrent-ruby-edge/concurrent/actor/behaviour/abstract.rb:25:in `pass'
        /usr/share/gems/gems/concurrent-ruby-edge-0.6.0/lib/concurrent-ruby-edge/concurrent/actor/behaviour/buffer.rb:38:in `process_envelope'
        /usr/share/gems/gems/concurrent-ruby-edge-0.6.0/lib/concurrent-ruby-edge/concurrent/actor/behaviour/buffer.rb:31:in `process_envelopes?'
        /usr/share/gems/gems/concurrent-ruby-edge-0.6.0/lib/concurrent-ruby-edge/concurrent/actor/behaviour/buffer.rb:20:in `on_envelope'
        /usr/share/gems/gems/concurrent-ruby-edge-0.6.0/lib/concurrent-ruby-edge/concurrent/actor/behaviour/abstract.rb:25:in `pass'
        /usr/share/gems/gems/concurrent-ruby-edge-0.6.0/lib/concurrent-ruby-edge/concurrent/actor/behaviour/termination.rb:55:in `on_envelope'
        /usr/share/gems/gems/concurrent-ruby-edge-0.6.0/lib/concurrent-ruby-edge/concurrent/actor/behaviour/abstract.rb:25:in `pass'
        /usr/share/gems/gems/concurrent-ruby-edge-0.6.0/lib/concurrent-ruby-edge/concurrent/actor/behaviour/removes_child.rb:10:in `on_envelope'
        /usr/share/gems/gems/concurrent-ruby-edge-0.6.0/lib/concurrent-ruby-edge/concurrent/actor/behaviour/abstract.rb:25:in `pass'
        /usr/share/gems/gems/concurrent-ruby-edge-0.6.0/lib/concurrent-ruby-edge/concurrent/actor/behaviour/sets_results.rb:14:in `on_envelope'
        /usr/share/gems/gems/concurrent-ruby-edge-0.6.0/lib/concurrent-ruby-edge/concurrent/actor/core.rb:162:in `process_envelope'
        /usr/share/gems/gems/concurrent-ruby-edge-0.6.0/lib/concurrent-ruby-edge/concurrent/actor/core.rb:96:in `block in on_envelope'
        /usr/share/gems/gems/concurrent-ruby-edge-0.6.0/lib/concurrent-ruby-edge/concurrent/actor/core.rb:119:in `block (2 levels) in schedule_execution'
        /usr/share/gems/gems/concurrent-ruby-1.1.10/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:47:in `block in synchronize'
        /usr/share/gems/gems/concurrent-ruby-1.1.10/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:47:in `synchronize'
        /usr/share/gems/gems/concurrent-ruby-1.1.10/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:47:in `synchronize'
        /usr/share/gems/gems/concurrent-ruby-edge-0.6.0/lib/concurrent-ruby-edge/concurrent/actor/core.rb:116:in `block in schedule_execution'
        /usr/share/gems/gems/concurrent-ruby-1.1.10/lib/concurrent-ruby/concurrent/executor/serialized_execution.rb:18:in `call'
        /usr/share/gems/gems/concurrent-ruby-1.1.10/lib/concurrent-ruby/concurrent/executor/serialized_execution.rb:96:in `work'
        /usr/share/gems/gems/concurrent-ruby-1.1.10/lib/concurrent-ruby/concurrent/executor/serialized_execution.rb:77:in `block in call_job'
        /usr/share/gems/gems/concurrent-ruby-1.1.10/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:352:in `run_task'
        /usr/share/gems/gems/concurrent-ruby-1.1.10/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:343:in `block (3 levels) in create_worker'
        /usr/share/gems/gems/concurrent-ruby-1.1.10/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:334:in `loop'
        /usr/share/gems/gems/concurrent-ruby-1.1.10/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:334:in `block (2 levels) in create_worker'
        /usr/share/gems/gems/concurrent-ruby-1.1.10/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:333:in `catch'
        /usr/share/gems/gems/concurrent-ruby-1.1.10/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:333:in `block in create_worker'
        /usr/share/gems/gems/logging-2.3.1/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'

The host I am trying to run a job on is able to successfully communicate back and forth with my Foreman instance (I’ve checked with tcpdump).
The yggdrasild service is enabled and running on the target host (installed from the katello-pull-transport-migrate package).
I’ve enabled pull-based transport on my smart proxy using the --foreman-proxy-plugin-remote-execution-script-mode pull-mqtt option and I have enabled the remote execution plugin with the --enable-foreman-proxy-plugin-remote-execution-script option.

That’s a thing that started happening with el9 (and ruby 3). We have a wip fix here Fixes #37475 - Avoid kwargs in action methods by adamruzicka · Pull Request #113 · theforeman/smart_proxy_remote_execution_ssh · GitHub , but it is not merged. I’ll let you know once it gets in and released.

Thanks, I appreciate it!