<div dir="ltr"><div dir="ltr">Hi Sergey,<br><br>Thank you for the prompt reply!<br><br><div>On Wed, May 14, 2025 at 2:31 AM Sergey A. Osokin <<a href="mailto:osa@freebsd.org.ru">osa@freebsd.org.ru</a>> wrote:</div></div><div class="gmail_quote gmail_quote_container"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
[...]<br>
<br>
Is there a chance to build nginx with a debugging log as described on<br>
the following page, <a href="https://nginx.org/en/docs/debugging_log.html" rel="noreferrer" target="_blank">https://nginx.org/en/docs/debugging_log.html</a><br>
and tracing fcgi requests. Please expect a lot of messages in<br>
the nginx error.log file.<br></blockquote><div><br></div>I'm sharing the requested logs as attachments:<br>- restconf_nginx_error.log<div>- restconf_nginx_access.log<br>- terminal.log</div><div>- restconf-test.sh (a test script for reproducing the issue)</div><div><br>I would also like to share the steps to reproduce the issue:<br><br>Steps to reproduce:<br><br></div><div>1. I created a simple script with an infinite loop, see attached <b>restconf-test.sh</b> </div><div><br></div><div>2. in the previously attached <b>NGINX-restconf</b> conf file , update <b>line 33</b> to specify the full path to the restconf-test.sh</div><div>fastcgi_param SCRIPT_FILENAME <span style="background-color:rgb(255,255,0)">/YOUR_REAL_PATH_TO/restconf-test.sh;</span></div></div><div><br>3. Restart nginx and run this in the first terminal: <b>curl -v <a href="http://localhost/restconf/streams">http://localhost/restconf/streams</a><br></b><br>4. Then run the same command in a second terminal: <b>curl -v <a href="http://localhost/restconf/streams">http://localhost/restconf/streams</a></b> <br><br>At this point, the second connection hangs until the first one is closed.<br><br>Let me know if you need anything else to help with debugging.<br><br>Thank you,<br>-Rostyslav<br><br><br></div></div>