Session Persistence

Morgan Kisienya morgan at
Wed Mar 2 15:45:15 UTC 2022


We are running nginx opensource with modsecuity. Nginnx is a proxy server.

We are also running an application, (which we proxy using nginx) that
creates reports and downloads images.

We are facing an issue with nginx session persistence.

During report creation, not all images are downloaded to the report. When
the page is refreshed, other images different from the initial ones are

Nginx access.log shows the following

GET /prod/reportImage?rnd=1661411659&image=img_0_0_5 HTTP/1.1" 500 1692

Modscurity log shows the following

!doctype html><html lang="en"><head><title>HTTP Status 500 \xe2\x80\x93
Internal Server Error</title><style type="text/css">h1
{font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} b
a {color:black;} {color:black;} .line
Status 500 \xe2\x80\x93 Internal Server Error</h1><hr class="line"
/><p><b>Type</b> Exception Report</p><p><b>Message</b> No JasperPrint
documents found on the HTTP session.</p><p><b>Description</b> The server
encountered an unexpected condition that prevented it from fulfilling the
request.</p><p><b>Exception</b></p><pre>javax.servlet.ServletException: *No
JasperPrint documents found on the HTTP
The full stack trace of the root cause is available in the server
logs.</p><hr class="line" /><h3>Apache Tomcat/8.5.41</h3></body></html>

Appreciate your help

*Morgan Kisienya*
*Managed Security Services*

*PO Box 139 Wahroonga NSW 2076*
*Mobile: +254 733 698 394*

*Web    : <>Email : **morgan at
<morgan at>*

The content of this email is confidential and intended for the recipient
specified in message only. It is strictly forbidden to share any part of
this message with any third party without a written consent of the sender.
If you received this message by mistake, please reply to this message and
follow with its deletion, so that we can ensure such a mistake does not
occur in the future.

Doveria puts the security of the client at a high priority. Therefore, we
have put efforts into ensuring that the message is error and virus-free.
Unfortunately, full security of the email cannot be ensured as, despite our
efforts, the data included in emails could be infected, intercepted, or
corrupted. Therefore, the recipient should check the email for threats with
proper software, as the sender does not accept liability for any damage
inflicted by viewing the content of this email.

Please do not print this email unless it is necessary. Every un-printed
email helps the environment.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list