I just configured Dynatrace on Magento server (PHP), everything looked fine, however we noticed that when a request goes from Magento app server to Solr server (search support) Dynatrace add some header and then Solr does not recognize it. When we disable solr search work fine.
Error:
"400" Status: [unsupported encoding]: java.io.UnsupportedEncodingException: UTF-8X-dynaTrace: FW1;0;-1;273;328;-1;273;2
Answer by Krzysztof K. ·
Hi again,
seems it is much simpler. Looks like we did not add \r\n after the end of the encoding tag in the http header. That's a known issue. Can you tell me what version you are running? Knowing the version I can point you to a fixpack.
Best regards,
kk
Answer by Krzysztof K. ·
Hi,
this additional http header tag is added by our agent in order to connect purepaths. That way if the Solr server would also have an agent then the purepath from magento should be connected with the Solr purepath.
Can you put some more light on the UnsupportedEncodingException. Is the Solr server expecting something different then UTF-8?
You don't need to disable the full agent. You can disable the "PHP Web Request" sensor but please have in mind that that way you will lose the feature of connecting paths for outgoing requests to the PHP purepath.
Brest regards,
Krzysztof Kreja
JANUARY 15, 3:00 PM GMT / 10:00 AM ET