I cannot figure out how to solve this. I all the steps in 5.4. seem to be successful but at the end petclinic-react does not show up on Elastic APM. Chrome DevTools suggests that RUM event traffic is blocked by CORS policy:
are you accessing Petclinic through HTTP? If you are using HTTPS there might be an issue between the connection of the agent running in the browser and the APM server running on your lab environment.
the hyperlink is provided in LABs document. It is http, as browser complains that it is not secure. I tried different browsers, different internet connections, different PCs. Same error.
for config.js ELASTIC_APM_SERVER_JS_URL I would obviously copy the current IP given on the terminal Machine Info. But overall the file content as follows:
ok, so though I spent over 3 hours trying to make it work, never thought about adding http. And now it works! It was that simple. Thank you for support
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.