Web IDE is not working after updating gitlab to 16.8.3

:hugs: Please help fill in this template with all the details to help others help you more efficiently. Use formatting blocks for code, config, logs and ensure to remove sensitive data.

Problem to solve

I have updated my GitLab environment to new version 16.8.3 and after the successful update Web IDE is not working and throwing error refused to connect.

Steps to reproduce

  1. Select any project.
  2. Click on file which we want to edit.
  3. Click on Edit, Open with Web IDE option.
  4. Throws error refused to connect.