Dear All,
- Can we use the CORS even the webserver instrumented?
- Can we use the Cluster ActiveGate publically available URL for the CORS?
Regards,
Babar
Dear All,
Regards,
Babar
Yes, you can use CORS requests to connect to Dynatrace even with instrumented webservers. That being said, if you are using automatic injection, CORS will not be involved as the requests are going back to the injected webserver.
Cluster ActiveGate URLs should return a 200-ok response for CORS requests.
For more info, take a look at our doc Agentless Monitoring
Hello @Andrew K.
Thank you for your comments.
How am I going to verify the “Cluster ActiveGate URLs should return a 200-ok response for CORS requests.”?
Regards,
Babar
Hello @Andrew K.
I made the changes to use the CORS instead of the instrumented web servers, but it did not work.
When I discussed the same subject with the Dynatrace support, and they said CORS supports only the Agentless monitoring.
Did you implement personally, the CORS with the auto instrumented web servers?
Regards,
Babar
Hi @Babar Q.
If you have automatic injection turned on, CORS will not apply as the HTTP requests are handled by the same servers that handle the HTML/dynamic requests.
If you want to set-up an application to make requests that would involve CORS, then you will need to use agentless injection on your application.
Hello @Andrew K.
Right. Itis the main challenge to use the agentless solution, whereas the automatic injection can be done easily.
If there was a way to simply stop the automatic JavaScript injection, and without manual configuration, the CORS could work.
Regards,
Babar
If you are already using Automatic Injection, I don’t understand where CORS would be causing an issue. The requests should be sent back to the same servers that are handling the other HTTP requests.
Hello @Andrew K.
I guess I could not explain my concerns in the last comments. Let me reiterate once again.
Regards,
Babar
Hi @Babar Q.
That makes sense. That may be the best configuration for this environment.
I still believe that using Automatic Injection should be preferred here, but I don’t know what the specific requirement you have around CORS would be.
Hello @Andrew K.
The only objective is to remove the load of beacon data from the webserver.
Regards,
Babar
I have to admit, this completely slipped my mind!
I seek your help gurus, and may be this thread is relevant, I am having issues to use BizOps is this still working system and is it supported
BizOpsConfigurator (dynatrace.github.io)
I get the following error even though I enter correctly the URL cloud instance and my token I created according to the pre requisite:
Browser blocked XHR call, check Browser Console (F12). Possible CORS failure on https (my cluster URL)
Any feedback is much appreciated.