Internal Server Errors with "large" bookbags in TPAC
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
High
|
Unassigned | ||
2.2 |
Fix Released
|
High
|
Unassigned | ||
2.3 |
Fix Released
|
High
|
Unassigned |
Bug Description
We have been getting reports of frequent internal server errors with TPAC both with and without the staff client.
Here's an example of what I got this morning:
[Wed Oct 03 09:23:57 2012] [error] [client 134.241.121.11] egweb: Context Loader
error: Exception: OpenSRF:
And we found this in the logs
[Tue Oct 02 10:19:01 2012] [error] [client 71.174.57.242] egweb: Context Loader error: uri_escape: Unmatched [ in regex; marked by <-- HERE in m/([ <-- HERE ])/ at (eval 1710470) line 1.\n at /usr/local/
for last night.
So, looks like different things causing it in different contexts.
Changed in evergreen: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
summary: |
- Random Internal Server Errors with TPAC + Internal Server Errors with "large" bookbags in TPAC |
Changed in evergreen: | |
milestone: | none → 2.4.0-alpha |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
This may or may not be pertinent, but it looks suspicious at least that the code referred to in the two error messages is installed at two different paths.
If that should prove not to be pertinent, could uri_escape() dying leave a cstore session in such a state as to cause the EGWeb error later (despite the fact that in this example, the EGWeb error comes first). Would a bigger sample of log messages actually show the EGWeb errors following the uri_escape() errors later in general?
And if uri_escape() chokes for some input, we should determine what and protect against that.