Test project refused to connect with recorder

TestProject refused to connect with the recorder from some of our servers while recording the test cases.
we have recently added these two key in response headers(which is our client’s requirement), that is causing this issue

servletResponse.addHeader(“Cross-Origin-Embedder-Policy”, “credentialless”);
servletResponse.addHeader(“Cross-Origin-Opener-Policy”, “same-origin”);

It works completely fine while execution.

Please can @alex.ivanov @Tal.Efraim @amit.yahav @Amit.Lacher @marat anyone help me out with this?