<html><head></head><body><div>Dear Maintainers,</div><div><br></div><div>Sorry for my first incomplete mail. I first wanted to see how reportbug works and didn't realize that it will send out mails without adding a smtp server. So here comes a more detailed description.</div><div><br></div><div>After upgrading Debian from Buster to Bullseye (nginx 1.14 => 1.18, php 7.3 => 7.4) I am facing a problem with nginx.</div><div><br></div><div>First of all the needed system information:</div><div>OS: Debian Bullseye (11)</div><div>Kernel: 5.10.0-9</div><div>Architecture: amd64</div><div>Package: nginx</div><div>Version: 1.18.0-6.1</div><div><br></div><div>A server is set up for rtmp streaming only. Therefor it has a TLD with frontend using SSL / https for upstreaming and showing the stream and a second TLD using http without SSL for authentification.</div><div><br></div><div>In nginx.conf I use this line for authentification:</div><div>on_publish <a href="http://auth.sanktnimmerlein.de/rtmp.php">http://password.domain.de/secret.php</a>;</div><div><br></div><div>This URL can be opened in a browser at any time. The streaming key in the streaming device contains the credentials which are to find in this file. </div><div><br></div><div>Starting up the server everything works fine. A reboot takes some seconds (~ 5). I can upstream when I use the right credentials. If they are wrong the stream will not work. When I stop nginx and start it again or when I reload it nginx will first need about 20s for starting. The website of the stream will be available also secret.php will be available, but upstream will not work anymore. /var/log/nginx/error.log tells me "[error] 17337#17337: recv() failed (111: Connection refused)". When I do "nginx -t" it will also take 20s, but then tells me that everything is fine.</div><div><br></div><div>Usually I'm pretty shy to do a bug report as you might see in my missing knowledge about "reportbug". In this case I'd like to report it, because things seems to change after restarting nginx and this is not as expected. </div><div><br></div><div>Thanks for your time and your work</div><div>Martin</div><div><span></span></div></body></html>