<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>