Loop on Invalid online feed

Issue #459 resolved
Former user created an issue

When a url within a feed is invalid, Serviio will issue a warning as below and recheck every minute.

I have created my own feed at https://sites.google.com/site/jhbrsstest/greek_radio.rss which contained <media:content url="http://s5.onweb.gr:85065" type="audio/mpeg" medium="audio"/> and gernerated the following error message every minute.

The bug is that when I fixed the feed and even when I deleted the feed on the web, the message continues every minute, which implies that you are not retreiving the feed before you check again. {{{ 2011-11-15 10:38:44,344 WARN [FeedUpdaterThread] An error occured while scanning for online item information, will continue java.lang.IllegalArgumentException: port out of range:85065 at java.net.InetSocketAddress.<init>(Unknown Source) at sun.net.NetworkClient.doConnect(Unknown Source) at sun.net.www.http.HttpClient.openServer(Unknown Source) at sun.net.www.http.HttpClient.openServer(Unknown Source) at sun.net.www.http.HttpClient.<init>(Unknown Source) at sun.net.www.http.HttpClient.New(Unknown Source) at sun.net.www.http.HttpClient.New(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(Unknown Source) at java.net.URLConnection.getHeaderFieldInt(Unknown Source) at java.net.URLConnection.getContentLength(Unknown Source) at org.serviio.util.HttpClient.getContentSize(HttpClient.java:103) at org.serviio.library.online.metadata.FeedUpdaterThread.retrieveTechnicalMetadata(FeedUpdaterThread.java:188) at org.serviio.library.online.metadata.FeedUpdaterThread.run(FeedUpdaterThread.java:98)

}}}

Comments (3)

  1. Petr Nejedly repo owner

    I made a change so that it won't show the error message again.

    If you change the feed or delete the item it won't make any difference as the feed is already loaded and cached and the change would be recognized when the feed expires.

  2. Former user Account Deleted

    I'm missing something here..why would you recheck every minute if the change would not be recognized until the feed expires

  3. Petr Nejedly repo owner

    It checks every minute to see if the item has been expired. If yes, it reloads it. If not it still goes through all its items to see if we have technical metadata and if not it tries to get them.

  4. Log in to comment