APM Browser instrumentation not working - getting 404 errors
In the js file it issues a post to the origin web server and requests a file called empty.txt. You need to put empty.txt, a 0 byte text file, in the root directory of the web server so it can be returned. This will stop your 404s and send a 0 byte response.
Web servers can be configured to disallow certain methods. Likely your web server is not be configured to allow POST. APM's instrumentation uses the POST method. The POST body contains all the instrumentation data.
Make sure that your web server has a file named empty.txt, a 0 byte text file, in the root directory of the web server. And if it's not there, please have have your network team or web team team create it
Also have them make sure that the server allows POSTs to that file (Web servers can be configured to disallow certain methods, such as the POST method)
needed to install a windows feature (that was missing).