What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags

View all Tags

HTTP XML/REST Value sensor shows protocol violation. What can I do?



I'm trying to monitor an XML file via HTTP using the HTTP XML/REST Value sensor, but the sensor returns an error

The server committed a protocol violation. Section=ResponseStatusLine

What can I do?

error help http protocol prtg xml-rest

Created on Oct 21, 2011 12:13:01 PM by  Daniel Zobel [Product Manager]

Last change on Dec 10, 2020 10:02:58 AM by  Brandy Greger [Paessler Support]

3 Replies

Accepted Answer



The webserver's response is invalid. However, you can configure the sensor to use a more tolerant behavior. To do so, please create a new text file, containing

<?xml version="1.0"?>
        <httpWebRequest useUnsafeHeaderParsing="true" />

Save it as XMLValue.exe.config and copy it to the Sensor System sub-folder of your PRTG program directory.

Then the sensor should work as expected.

Created on Oct 21, 2011 12:16:57 PM by  Daniel Zobel [Product Manager]

Last change on Oct 21, 2011 12:18:35 PM by  Daniel Zobel [Product Manager]



As of PRTG version (Nov 15th, 2011) this work around is not necessary any more.

Created on Nov 15, 2011 3:09:50 PM by  Daniel Zobel [Product Manager]




We're on the latest version and are experiencing this issue. The workaround appears to not work either. When I load the page in a browser I get what looks like a valid XML file. It works fine on other XML applications but this is an internally developed service so is probably badly coded. Any other workarounds possible? (e.g. some way to get HTML advanced to just pick up words etc.)

<?xml version="1.0" encoding="UTF-8" ?>
    <responsedata xmlns:system1="http://schemas.system1.com/aci/">


Thanks, James

Created on May 2, 2012 4:19:53 PM

Last change on May 3, 2012 8:04:28 AM by  Daniel Zobel [Product Manager]

Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.