View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
5665 | Composr non-bundled addons | General / Uncategorised | public | 2024-04-03 23:57 | 2024-09-13 03:23 |
Reporter | PDStig | Assigned To | PDStig | ||
Priority | normal | Severity | minor | ||
Status | resolved | Resolution | fixed | ||
Summary | 5665: Hybridauth: maximum execution time on session_start | ||||
Description | Sometimes PHP times out (10 seconds) when calling session_start . IMO it is unreasonable to extend the time limit for this. We should analyze why it is taking so long. | ||||
Tags | Roadmap: v11 | ||||
Attach Tags | |||||
Time estimation (hours) | |||||
Sponsorship open | |||||
|
This is a locking problem. Something else (or the same thing in parallel) is calling session_start and not closing the session quickly. |
|
It was becoming a big issue for me. Temporarily, I changed the code so that a Hybridauth session doesn't initialize except when Hybridauth itself is initialized... instead of doing it in the startup hook on each and every page load. That seemed to do the trick at least so I can get through testing without a bunch of timeouts, but I'm assuming we can't leave it like that? I looked everywhere on Hybridauth's docs and found nothing mentioning use of sessions, so do we really need that? |
|
Hybridauth uses sessions to track oAuth/etc key exchanges through hops. So, yes, it's needed, unless we replaced with a DB backend. Your fix sounds correct. |
|
Marking as resolved... the temporary fix is working well. Will keep as permanent. |
Date Modified | Username | Field | Change |
---|---|---|---|
2024-04-03 23:57 | PDStig | New Issue | |
2024-04-03 23:57 | PDStig | Status | Not Assigned => Assigned |
2024-04-03 23:57 | PDStig | Assigned To | => user4172 |
2024-07-25 22:53 | Chris Graham | Note Added: 0008966 | |
2024-07-25 22:54 | Chris Graham | Tag Attached: Roadmap: v11 | |
2024-07-25 23:25 | PDStig | Note Added: 0008971 | |
2024-07-26 01:15 | Chris Graham | Note Added: 0008973 | |
2024-09-13 03:23 | PDStig | Status | Assigned => Resolved |
2024-09-13 03:23 | PDStig | Resolution | open => fixed |
2024-09-13 03:23 | PDStig | Note Added: 0009369 |