Jenkins UI Issue After Clicking on Build throwing error

Hi Team,

We are currently experiencing an issue with the Jenkins UI when accessed via a reverse proxy over HTTPS. Everything was working fine until a few months ago. However, for the past four months, when we click on a build, we are being redirected to an error page.

We’ve been actively investigating this issue but haven’t found a resolution yet. We are using Jenkins version 2.492.3

Could you please let us know if there is a known fix or any guidance available to resolve this issue?

Your support would be greatly appreciated.

Hi Team,

any update on this?

What you mean with when we click on a build. Do you mean clicking the Build Now button?
Could be a problem with your reverse proxy setup

Hi Markus,

Yeah so when we click on build now instead going to the Job home page it will show an error page with an error URL like :- https://<domain-name>.com:8080/job/<job-name>
where it should be ideally going to https://<domain-name>.com/job/<job-name>

That is strange as clicking the button for a job without parameters should run some javascript in the background that will trigger the build. For a build with parameters it should direct you to the page to enter the parameters.
Do you see any errors in the script console of the browser?

Even for build with parameters it will direct us to the page to enter the parameters successfully but once we enter the parameters and then click on build at last it will lead to the same error page which is mentioned above.

Do you have the proper url set in the global config?

Yes, we have the correct URL set in the global config.