Results 1 to 5 of 5

Thread: Mediacache cache lookup error

  1. #1

    Default Mediacache cache lookup error

    Hi,
    I am getting the following on one my Wowza servers.

    MediaCacheItemBase.init: Error: Length is zero[-1]:

    The same request works other wowza severs.

    What could be causing this error?

    Thanks.

  2. #2
    Join Date
    Dec 2007
    Posts
    22,013

    Default

    Hi,

    Based on that info, it is probably a network issue affecting that one.

    Richard

  3. #3

    Default

    Hi Richard - Response back to the JWPlayer once I click play is pretty much instantaneous. It is not a network latency issue. What other kinds of network issues? Source server is not reachable from media cache? (In this test the mediacache and source are on the same server)

    Thanks.

  4. #4
    Join Date
    Dec 2007
    Posts
    22,013

    Default

    Roger thought it might be the server cached a partial file, that it was still being uploaded to the storage when the server started to cache it.

    Richard

  5. #5

    Default

    Hi,

    I've stepped through the Media Cache processes and that error is due to the source not returning a Content Length. (-1 means that it hasn't been set)

    This would happen if the HEAD request to the storage server didn't include a Content-Length header in the response.

    I think you are getting a valid response from the HEAD request, otherwise, you would have received a MediaCacheItemBase.init: Item does not exist error instead.

    Roger.

Similar Threads

  1. 2 layers cache directory of MediaCache
    By Guttso in forum Other Extensions
    Replies: 2
    Last Post: 06-12-2014, 09:48 AM
  2. Disable cache at MediaCache
    By solidx in forum General Forum
    Replies: 5
    Last Post: 05-02-2014, 05:02 AM
  3. MediaCache cache full - what's next?
    By romild0 in forum AddOn: Other AddOns
    Replies: 2
    Last Post: 09-27-2012, 08:08 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •