View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
5662 | Composr | setupwizard | public | 2024-04-03 05:07 | 2024-04-11 00:00 |
Reporter | Master Rat | Assigned To | PDStig | ||
Priority | normal | Severity | minor | ||
Status | resolved | Resolution | fixed | ||
Product Version | 11.alpha1 | ||||
Summary | 5662: Failure on Setup Wizard step 3 when downloading non-bundled addons | ||||
Description | Entered all information for site and connections and when I got to configuration after install it stalled at step 3 | ||||
Steps To Reproduce | Enter normal file installation, input data for user, maintenance and database stuff. All installs the files and structure without any errors after completion hit go to site to configure the site. Got to the screen where you step 3 and entered all data as needed and hit save. Immediately threw an error. No moving forward. | ||||
Additional Information | File '/homepages/22/*** HIDING INFO***/htdocs/rats-world.com/sources/failure.php' Line 544 Function 'get_html_trace' Args File '/homepages/22/*** HIDING INFO***/htdocs/rats-world.com/sources/failure.php' Line 395 Function '_generic_exit' Args Tempcode -> ... 'FATAL_SCREEN' false true 500 File '/homepages/22/*** HIDING INFO***/htdocs/rats-world.com/sources/global2.php' Line 1,581 Function '_generic_exit' Args Tempcode -> ... 'WARN_SCREEN' false true 500 NULL NULL File '/homepages/22/*** HIDING INFO***/htdocs/rats-world.com/sources/http.php' Line 1,118 Function 'warn_exit' Args Tempcode -> ... false true File '/homepages/22/*** HIDING INFO***/htdocs/rats-world.com/sources/http.php' Line 598 Function '_run' Class 'HttpDownloaderCurl' Object {"data":null,"download_mime_type":null,"download_size":null,"download_url":"https:\/\/composr.app\/site\/dload.php?id=290","download_mtime":null,"message":null,"message_b":null,"new_cookies":[],"filename":null,"charset":null,"headers":[],"generation_time":0,"implementation_used":"HttpDownloaderCurl"} Type '->' Args 'https://composr.app/site/dload.php?id=290' File '/homepages/22/*** HIDING INFO***/htdocs/rats-world.com/sources/http.php' Line 282 Function 'run' Class 'HttpDownloader' Object {"data":null,"download_mime_type":null,"download_size":null,"download_url":"https:\/\/composr.app\/site\/dload.php?id=290","download_mtime":null,"message":null,"message_b":null,"new_cookies":[],"filename":null,"charset":null,"headers":[],"generation_time":0,"implementation_used":"HttpDownloaderCurl"} Type '->' Args 'https://composr.app/site/dload.php?id=290' File '/homepages/22/*** HIDING INFO***/htdocs/rats-world.com/sources/global3.php' Line 500 Function '_cms_http_request' Args 'https://composr.app/site/dload.php?id=290' File '/homepages/*** HIDING INFO***/htdocs/rats-world.com/sources/uploads.php' Line 505 Function 'cms_http_request' Args 'https://composr.app/site/dload.php?id=290' File '/homepages/22/*** HIDING INFO***/htdocs/rats-world.com/adminzone/pages/modules/admin_setupwizard.php' Line 617 Function 'get_url' Args 'url' 'file' 'imports/addons' 0 15 false '' '' true File '/homepages/22/*** HIDING INFO***/htdocs/rats-world.com/adminzone/pages/modules/admin_setupwizard.php' Line 144 Function 'step4' Class 'Module_admin_setupwizard' Object {"title":{"code_to_preexecute":{"tcpfunc_660cdfe1243d50.36724845_1":"$tpl_funcs['tcpfunc_660cdfe1243d50.36724845_1']=$KEEP_TPL_FUNCS['tcpfunc_660cdfe1243d50.36724845_1']=recall_named_function('660cdfe1243e52.45715379','$parameters,$cl',\"extract(\\$parameters,EXTR_PREFIX_ALL,'bound'); echo \\\"<h1 class=\\\\\\\"screen-title\\\",\\n\t(isset(\\$bound_CLASS)?(\\\" \\\".(empty(\\$bound_CLASS->pure_lang)?@htmlspecialchars(otp(isset(\\$bound_CLASS)?\\$bound_CLASS:null,\\\"SCREEN_TITLE:CLASS\\\"),ENT_QUOTES | ENT_SUBSTITUTE,get_charset()):otp(isset(\\$bound_CLASS)?\\$bound_CLASS:null,\\\"SCREEN_TITLE:CLASS\\\"))):''),\\n\t\\\"\\\\\\\"\\\",\\n\t((ecv_NOT(\\$cl,[],[ecv_GET(\\$cl,[],[\\\"name_set_elsewhere\\\"])])==\\\"1\\\")?(\\\" itemprop=\\\\\\\"name\\\\\\\"\\\"):''),\\n\t\\\">\\\\n\t\\\",\\n\t(isset(\\$bound_ID)?(\\\"\\\\n\t\t<a id=\\\\\\\"title--\\\".(empty(\\$bound_ID->pure_lang)?@htmlspecialchars(otp(isset(\\$bound_ID)?\\$bound_ID:null,\\\"SCREEN_TITLE:ID\\\"),ENT_QUOTES | ENT_SUBSTITUTE,get_charset()):otp(isset(\\$bound_ID)?\\$bound_ID:null,\\\"SCREEN_TITLE:ID\\\")).\\\"\\\\\\\"><\/a>\\\\n\t\\\"):''),\\n\t\\\"\\\\n\\\\n\t\\\",\\n\totp(isset(\\$bound_TITLE)?\\$bound_TITLE:null,\\\"SCREEN_TITLE:TITLE\\\"),\\n\t\\\"\\\\n\\\\n\t\\\",\\n\t(isset(\\$bound_AWARDS)?(\\\"\\\\n\t\t\\\".((otp(isset(\\$bound_AWARDS)?\\$bound_AWARDS:null,\\\"SCREEN_TITLE:AWARDS\\\")!='')?(\\\"\\\\n\t\t\t\\\".ecv(\\$cl,[],4,\\\"SET\\\",[\\\"AWARDS_TEXT\\\",\\\"\\\\n\t\t\t\t<h2>Award winner<\/h2>\\\\n\t\t\t\t<p class=\\\\\\\"lonely-label\\\\\\\">\\\".ecv(\\$cl,[],2,\\\"AWARDS_WON\\\",[otp(isset(\\$bound_AWARDS)?\\$bound_AWARDS:null,\\\"SCREEN_TITLE:AWARDS\\\")]).\\\"<\/p>\\\\n\t\t\t\t
| ||||
Tags | Roadmap: v11 | ||||
Attach Tags | |||||
Attached Files | |||||
Time estimation (hours) | |||||
Sponsorship open | |||||
|
This is a known issue. I cut you some slack because you probably don't know what's happening here. The setup wizard was attempting to download the Facebook Support non-bundled addon from the new composr.app server. Unfortunately, I've been experiencing many issues with connections prematurely closing when trying to download non-bundled addons. I have not yet been able to identify the issue, but I do know it's server-end on composr.app, not Composr itself. The provider of the server, OVH, recently announced they're doing maintenance later this month in response to unwanted premature connection closures on the same data center which uses composr.app. I'm hoping their fix on April 24 will resolve this issue. |
|
(side note) Good news is you confirmed telemetry works outside of my own server. When you encountered that error, because you had send errors to developers enabled, composr.app received your stack trace. So I know the new API and encryption system for that works. |
|
See https://gitlab.com/composr-foundation/composr/-/commit/e66ec19b3ee1f8bdd4869bcf430ced6750074154 Do not have time to push a proper bugfix as I have a strict work cutoff of 12 AM EDT. This will be included in alpha2. |
|
Here is context into what was fixed: - composr.app's PHP-FPM was not spawning enough child processes to handle someone updating or downloading non-bundled addons. This was causing frequent timeouts and premature connection drops. I increased the pm.max_children setting for composr.app on the server. - In Composr, a "partial file" status code in CURL was being treated as an error and resulting in failure. Instead of erroring immediately, it will now retry a couple of times fetching the remaining bytes before considering it an error / failure if it still doesn't have the full file. - The downloads script (site/dload.php) was sometimes not returning the correct content length and range headers especially when CURL passes in a range (it uses 1TB instead of blank for the "to"... had to account for that; content length was also being set to the end range even if file size was not that big, which caused HTTP/2 stream errors). |
Date Modified | Username | Field | Change |
---|---|---|---|
2024-04-03 05:07 | Master Rat | New Issue | |
2024-04-03 05:07 | Master Rat | Tag Attached: Roadmap: v11 | |
2024-04-03 05:07 | Master Rat | File Added: step3.png | |
2024-04-03 05:07 | Master Rat | File Added: Error.png | |
2024-04-03 14:58 | PDStig | Note Added: 0008510 | |
2024-04-03 15:04 | PDStig | Assigned To | => user4172 |
2024-04-03 15:04 | PDStig | Status | Not Assigned => Assigned |
2024-04-03 15:04 | PDStig | Category | core => setupwizard |
2024-04-03 15:04 | PDStig | Product Version | => 11 alpha1 |
2024-04-03 15:04 | PDStig | Summary | V11 Fresh Install Failure => Failure on Setup Wizard step 3 |
2024-04-03 15:10 | PDStig | Note Added: 0008511 | |
2024-04-03 15:22 | PDStig | Summary | Failure on Setup Wizard step 3 => Failure on Setup Wizard step 3 when downloading non-bundled addons |
2024-04-04 03:56 | PDStig | Status | Assigned => Resolved |
2024-04-04 03:56 | PDStig | Resolution | open => fixed |
2024-04-04 03:56 | PDStig | Note Added: 0008516 | |
2024-04-04 15:44 | PDStig | Note Added: 0008517 | |
2024-04-11 00:00 | PDStig | Product Version | 11 alpha1 => 11.alpha1 |