Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Http looping on 416
23-11-2016, 01:52 PM (This post was last modified: 23-11-2016 01:52 PM by simonc.)
Post: #2
RE: Http looping on 416
(23-11-2016 07:47 AM)medoc92 Wrote:  I am currently developping a gateway between a streaming service and ohPlayer.

The server does not support range requests. So it just serves the data without giving any indication that it supports ranges (no Accept-Ranges, no Content-Range headers). I see and ignore the initial range spec: 0-

After serving the data, the server gets a range request anyway (for range currentdatasize-), to which it answers with a 416 and no data.

At this point, ohPlayer loops on this same request. I have tried other response codes with the same result.

What HTTP headers does your server return? I'm particularly interested in the HTTP version it uses (1.0 or 1.1) and whether it reports a content length, uses chunked transfer encoding or just writes unspecified amounts of data then closes the connection.

If your server does report a length, are that many bytes transferred?

(23-11-2016 07:47 AM)medoc92 Wrote:  Is the binary code up to date from the current ohPipeline git code ? And if yes, what can I do to make it accept that this request is indeed done finished EOF please desist ?

The ohPlayer binaries are a couple of months behind ohPipeline code. This shouldn't affect your issue however - ProtocolHttp hasn't had any interesting changes in that time.

(23-11-2016 07:47 AM)medoc92 Wrote:  I tried to build ohpipipeline from git, with no success.

Have you followed the instructions in the README ? If you had errors during dependency fetching, try fetching dependencies one at a time. E.g.
Code:
./go fetch ohWafHelpers
./go fetch ohNet
./go fetch openssl
Find all posts by this user


Messages In This Thread
Http looping on 416 - medoc92 - 23-11-2016, 07:47 AM
RE: Http looping on 416 - simonc - 23-11-2016 01:52 PM
RE: Http looping on 416 - medoc92 - 23-11-2016, 03:14 PM
RE: Http looping on 416 - simonc - 23-11-2016, 03:28 PM
RE: Http looping on 416 - simoncn - 23-11-2016, 03:47 PM
RE: Http looping on 416 - simonc - 23-11-2016, 03:52 PM
RE: Http looping on 416 - medoc92 - 23-11-2016, 04:13 PM
RE: Http looping on 416 - simonc - 23-11-2016, 03:30 PM
RE: Http looping on 416 - medoc92 - 24-11-2016, 05:31 PM
RE: Http looping on 416 - simoncn - 24-11-2016, 06:21 PM

Forum Jump: