Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search navigation results in error message when navigating between individual search result pages #156

Open
servilla opened this issue Dec 3, 2024 · 1 comment
Assignees
Labels
bug Bug medium priority Medium priority

Comments

@servilla
Copy link
Collaborator

servilla commented Dec 3, 2024

A user reported that when viewing the search results on the production Data Portal when navigating between search result pages, the Data Portal responds with an error message:

image

I’m doing a quick EDI search to help fill in my estimate of how many lake-years of data we know to be out there. Here’s the query URL. The query returns many pages of results, but every time I try to navigate from one page to the next it throws an error:

An error has occurred in the Data Portal:

For further assistance, please contact the Environmental Data Initiative. Please copy the error message shown above into your email message, along with any other information that might help us to assist you more promptly.

So far, with a lot of browser refreshing and such, I’ve been able to get it to render at least the second page of the results, but haven’t yet had success with the third or any after that. I’m in Firefox on a Windows machine, FWIW.

This issue is reproducible only on the production Data Portal: to reproduce it, you must (1) search for a phrase that returns a large number of results and (2) wait for approximately 1-2 minutes. For this reason, we suspect there is an issue with a "public" user session timeout.

@servilla
Copy link
Collaborator Author

servilla commented Dec 3, 2024

I have found on production portal where the tomcat9 web.xml (/etc/tomcat9/web.xml) file had the default session changed from 30 minutes to 1 minute. I believe this change was in response to the large number of public sessions that were causing OOMs in portal.

root@ozzy:/etc/tomcat9# diff web.xml.original web.xml
634c634
<         <session-timeout>30</session-timeout>
---
>         <session-timeout>1</session-timeout>

@servilla servilla moved this to In progress in Consolidated Issues Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug medium priority Medium priority
Projects
Status: In progress
Development

No branches or pull requests

2 participants