[Icecast] EROR util/util_http_select_best Input string does not parse as KVA. Selecting first option.

Christopher Cantwell christopher.cantwell at gmail.com
Tue Jun 25 02:59:38 UTC 2019


Greetings,

I use Icecast for the live airing of my open phones podcast, and we've
recently had some trouble with malicious actors attempting to disrupt the
production in various ways, most of which are beyond the scope of this
inquiry.

Today the Icecast feed kept disconnecting and resetting the listener count.
This happens on rare occasions, and I usually accept this as a noisy
neighbor problem on my inexpensive VPS. Today it was probably more than a
dozen times during a two hour show. On the prior episode, my peak listener
count exceeded recent records, and I thought perhaps it was the hostiles
trying to flood me with requests.

After the show, I attempted to check the error log to see if I could
determine what caused the trouble, but the log is being flooded with what I
presume is an unrelated error multiple times per second. I've never checked
the log before, so it is entirely possible this has been happening the
entire time the server has been up.

Other than today's disconnects, everything seems to be working fine, so the
error doesn't seem to be causing any disruptions on its own, but it is
preventing me from troubleshooting other issues.

root at radio:/var/log/icecast2# tail error.log
[2019-06-24  22:31:21] EROR util/util_http_select_best Input string does
not parse as KVA. Selecting first option.
[2019-06-24  22:31:22] EROR util/util_http_select_best Input string does
not parse as KVA. Selecting first option.
[2019-06-24  22:31:22] EROR util/util_http_select_best Input string does
not parse as KVA. Selecting first option.
[2019-06-24  22:31:22] EROR util/util_http_select_best Input string does
not parse as KVA. Selecting first option.
[2019-06-24  22:31:22] EROR util/util_http_select_best Input string does
not parse as KVA. Selecting first option.
[2019-06-24  22:31:22] EROR util/util_http_select_best Input string does
not parse as KVA. Selecting first option.
[2019-06-24  22:31:23] EROR util/util_http_select_best Input string does
not parse as KVA. Selecting first option.
[2019-06-24  22:31:23] EROR util/util_http_select_best Input string does
not parse as KVA. Selecting first option.
[2019-06-24  22:31:23] EROR util/util_http_select_best Input string does
not parse as KVA. Selecting first option.
[2019-06-24  22:31:23] EROR util/util_http_select_best Input string does
not parse as KVA. Selecting first option.
root at radio:/var/log/icecast2# tail error.log
[2019-06-24  22:31:23] EROR util/util_http_select_best Input string does
not parse as KVA. Selecting first option.
[2019-06-24  22:31:23] EROR util/util_http_select_best Input string does
not parse as KVA. Selecting first option.
[2019-06-24  22:31:24] EROR util/util_http_select_best Input string does
not parse as KVA. Selecting first option.
[2019-06-24  22:31:24] EROR util/util_http_select_best Input string does
not parse as KVA. Selecting first option.
[2019-06-24  22:31:24] EROR util/util_http_select_best Input string does
not parse as KVA. Selecting first option.
[2019-06-24  22:31:24] EROR util/util_http_select_best Input string does
not parse as KVA. Selecting first option.
[2019-06-24  22:31:24] EROR util/util_http_select_best Input string does
not parse as KVA. Selecting first option.
[2019-06-24  22:31:24] EROR util/util_http_select_best Input string does
not parse as KVA. Selecting first option.
[2019-06-24  22:31:25] EROR util/util_http_select_best Input string does
not parse as KVA. Selecting first option.
[2019-06-24  22:31:25] EROR util/util_http_select_best Input string does
not parse as KVA. Selecting first option.
root at radio:/var/log/icecast2#

Searching didn't turn up much. A search for Icecast util_http_select_best
turned up this Github page
https://github.com/xiph/Icecast-Server/blob/master/src/util.h

Searching icecast.xml for header, I find what I think is a default setting,
and seems to be working just fine...

    <!-- Global header settings
         Headers defined here will be returned for every HTTP request to
Icecast.

         The ACAO header makes Icecast public content/API by default
         This will make streams easier embeddable (some HTML5 functionality
needs it).
         Also it allows direct access to e.g. /status-json.xsl from other
sites.
         If you don't want this, comment out the following line or read up
on CORS.
    -->
    <http-headers>
        <header name="Access-Control-Allow-Origin" value="*" />
    </http-headers>

Server status can be seen here
https://radio.radicalagenda.com:8443/status.xsl

Thanks for your consideration.


-- 
Regards,
Christopher Cantwell
Blogger at ChristopherCantwell.com
Host of Radical Agenda <http://radicalagenda.com>
631-791-5842
Skype: Radical Agenda
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xiph.org/pipermail/icecast/attachments/20190624/15d708f3/attachment.htm>


More information about the Icecast mailing list