Initialization error: RestClient::NotFound - 404 Not Found

I resolved the key issue but still remote execution is failing. I have pasted the logs above.

Sorry, but I still don’t understand.

The 404 error from this thread was due to

Ssh public key file /var/lib/foreman-proxy/ssh/id_rsa.pub doesn't exist

which you have fixed:

At the same time you have posted this error:

which is the exact same error as in the other thread.

So same error, same solution unless you provide other information showing it’s really a different problem. But again, that belongs into the other thread because that is your thread about that issue with that exact error message…

Yeah I solved the one ```
Ssh public key file /var/lib/foreman-proxy/ssh/id_rsa.pub doesn’t exist

But again after that I got another error which I mentioned in the below thread
https://community.theforeman.org/t/initialization-error-restclient-notfound-404-not-found/29731/8?u=shakunj

So whatever I do my remote execution is not working
So please help me in solving the remote execution problem.

So if you guys need any other logs just let me know

Yes. And as have been pointed multiple times, that is the exact same error as in your thread Remote Execution Fails

This is the error from post 8 above:

and this is the error from Remote Execution Fails:

As you can see it’s the same error message, just without the debug log… So it’s the error from the other thread. And it doesn’t belong into this thread.