[prev in list] [next in list] [prev in thread] [next in thread] 

List:       stunnel-users
Subject:    [stunnel-users] stunnel + mjpeg_streamer issue
From:       Akos Schneemaier <akos.schneemaier () gmail ! com>
Date:       2018-01-23 23:55:03
Message-ID: CADGzBJ-YQGw8dn5O0pntnCuOakJS7xF_MWx=9Df8N+0j2u3jUg () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


HI stunnel users,

i hope somebody have an idea what is going wrong in my config:
I am runnung debian on an arm box with kernel 4.4.89 and stunnel 5.44. I
use mjpeg_streamer to stream webcam images. mjpeg streamer is attaches to
port 8080 for http, but for external access connection goes through stunnel
on port 2970.
The problem is when i connect to mjpeg streamer to get a snapshot via
stunnel i receive a broken image 8 time out of 10:
https:/ipaddress:2970/?action=snapshot. When i do this via
http:/ipaddress:8080/?action=snapshot everything works fine. it seems when
image size is below ~11k then it works fine with stunnel, when the size
goes above then the chance to receive a broken image increases with
stunnel, normal image size is around 22k.

Futuremore when i connect to the mjpeg stream of mjpeg stream then
everything works fine even over
stunnel  https:/ipaddress:2970/?action=stream

Here is the service config file:


pid=/tmp/cam.pid
;foreground=yes
;debug=7
[cam0]
cert = /etc/letsencrypt/live/..../fullchain.pem
key = /etc/letsencrypt/live/..../privkey.pem
sslVersion = all
client = no
accept = 2970
connect = 8080
[cam1]
cert = /etc/letsencrypt/live/..../fullchain.pem
key = /etc/letsencrypt/live/..../privkey.pem
sslVersion = all
client = no
accept = 2971
connect = 8081
[cam2]
cert = /etc/letsencrypt/live/..../fullchain.pem
key = /etc/letsencrypt/live/..../privkey.pem
sslVersion = all
client = no
accept = 2972
connect = 8082

Any ideas welcome!

Thanks

[Attachment #5 (text/html)]

<div dir="ltr">HI stunnel users,<div><br></div><div>i hope somebody have an idea what \
is going wrong in my config:</div><div>I am runnung debian on an arm box with kernel  \
4.4.89 and stunnel  5.44. I use mjpeg_streamer to stream webcam images. mjpeg \
streamer is attaches to port 8080 for http, but for external access connection goes \
through stunnel on port 2970.</div><div>The problem is when i connect to mjpeg \
streamer to get a snapshot via stunnel i receive a broken image 8 time out of 10: \
https:/ipaddress:2970/?action=snapshot. When i do this via \
http:/ipaddress:8080/?action=snapshot everything works fine. it seems when image size \
is below ~11k then it works fine with stunnel, when the size goes above then the \
chance to receive a broken image increases with stunnel, normal image size is around \
22k.</div><div><br></div><div>Futuremore when i connect to the mjpeg stream of mjpeg \
stream then everything works fine even over stunnel    \
https:/ipaddress:2970/?action=stream</div><div><br></div><div>Here is the service \
config file:</div><div><br></div><div><br></div><div><div>pid=/tmp/cam.pid</div><div>;foreground=yes</div><div>;debug=7</div><div>[cam0]</div><div>cert \
= /etc/letsencrypt/live/..../fullchain.pem</div><div>key = \
/etc/letsencrypt/live/..../privkey.pem</div><div>sslVersion = all</div><div>client = \
no</div><div>accept = 2970</div><div>connect = 8080</div><div>[cam1]</div><div>cert = \
/etc/letsencrypt/live/..../fullchain.pem</div><div>key = \
/etc/letsencrypt/live/..../privkey.pem</div><div>sslVersion = all</div><div>client = \
no</div><div>accept = 2971</div><div>connect = 8081</div><div>[cam2]</div><div>cert = \
/etc/letsencrypt/live/..../fullchain.pem</div><div>key = \
/etc/letsencrypt/live/..../privkey.pem</div><div>sslVersion = all</div><div>client = \
no</div><div>accept = 2972</div><div>connect = \
8082</div></div><div><br></div><div>Any ideas \
welcome!</div><div><br></div><div>Thanks</div><div><br></div><div><br></div></div>


[Attachment #6 (text/plain)]

_______________________________________________
stunnel-users mailing list
stunnel-users@stunnel.org
https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic