Project

General

Profile

Lighttpd with SSL is not dropping error connection properly

Added by sominaltv about 4 years ago

Issue appears to be due to following error :

connections.c.840: (error) we are in (CON_STATE_ERROR), but still get a FDEVENT_OUT, removing event from fd = 80, 001c for (/videos/video.mp4)
connections.c.840: (error) we are in (CON_STATE_ERROR), but still get a FDEVENT_OUT, removing event from fd = 60, 001c for (/videos/video.mp4)

I had to completely stop lighttpd and restart the service. But the issue is re-occurring again from other IPs. I believe the issue is happening when users are trying to seek forward the video player. I am not seeing any abnormal load issues or IP connections currently in the server. This seems like an issue with the lighttpd not dropping connections properly.

Can anyone help out if you have any solution for this issue?


Replies (4)

RE: Lighttpd with SSL is not dropping error connection properly - Added by gstrauss about 4 years ago

You appear to be running a modified version of lighttpd source code, as there are no such error messages produced by the official released version of lighttpd.

From where did you obtain the source code or package? Who built it? How was it modified? On what official version of lighttpd was it originally based? Are you running third-party modules, and do the problems originate there? (If so, perhaps you should ask those third parties for support.)

The current released version of lighttpd is lighttpd 1.4.55.

RE: Lighttpd with SSL is not dropping error connection properly - Added by sominaltv about 4 years ago

gstrauss wrote in RE: Lighttpd with SSL is not dropping error connection pr...:

You appear to be running a modified version of lighttpd source code, as there are no such error messages produced by the official released version of lighttpd.

From where did you obtain the source code or package? Who built it? How was it modified? On what official version of lighttpd was it originally based? Are you running third-party modules, and do the problems originate there? (If so, perhaps you should ask those third parties for support.)

The current released version of lighttpd is lighttpd 1.4.55.

Hi,

It shows I have 1.5.0 version from http://h264.code-shop.com/trac/wiki/Mod-H264-Streaming-Download

If i update latest version from released in Jan 2020, will it still support mp4 file streaming?

Thanks for the help!

RE: Lighttpd with SSL is not dropping error connection properly - Added by gstrauss about 4 years ago

mod_h264_streaming was created by a third-party and its license (requiring a license for commercial use) is incompatible with lighttpd's 3-clause BSD open source license. There is very little support for third-party modules here, and absolutely, non-negotiable zero support for mod_h264_streaming due to licensing issues.

lighttpd 1.5.0 has never been released, and never will be released as such. If you search this site, you'll find numerous references to lighttpd 1.5.0 as:

version 1.5.0 (note: abandoned; never released)

The last commit in the lighttpd-1.5.x branch of code was in 2013 and the branch has long ago been deleted from the official git.lighttpd.net repository.

The mod_h264_streaming has apparently been sloppy in that it forked the lighttpd development code and has not maintained it, as opposed to what would be more responsible behavior of providing patches to integrate with specific versions of official lighttpd releases.

If i update latest version from released in Jan 2020, will it still support mp4 file streaming?

After having been explicitly asked to go to the third-party for third-party module support, you are out-of-line asking for support on a third-party module from a site which distributes an unmaintained fork of lighttpd development code that was never officially released, never will be released, and has long ago been documented as abandoned and fully deleted from the official source tree.

x-ref: https://redmine.lighttpd.net/boards/2/topics/8736
If you had searched this forum for mod_h264_streaming, you'd have found a similar response in https://redmine.lighttpd.net/boards/2/topics/8736

    (1-4/4)