Problem/Motivation
After upgrading from 3.0.5 to 3.1.6 performing a drush cron shows the following message every single time:
* Trying 0.000.00.000:443...
* Connected to server.name (0.000.00.000) port 443 (#0)
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
* CApath: /etc/ssl/certs
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server accepted to use http/1.1
* Server certificate:
* subject: CN=*.server.name
* start date: Feb 23 00:00:00 2023 GMT
* expire date: Jul 20 23:59:59 2023 GMT
* issuer: C=US; O=Amazon; CN=Amazon RSA 2048 M02
* SSL certificate verify ok.
> GET /solr/server.name/select?omitHeader=true&wt=json&json.nl=flat&q=%2A%3A%2A&start=0&rows=1&fl=%2A%2Cscore&json.facet=%7B%22maxVersion%22%3A%22max%28_version_%29%22%7D&request_id=(random_id) 7 HTTP/1.1
Host: server.name
Cookie: acquia_solr_time=random_time; acquia_solr_nonce=(random_string); acquia_solr_hmac=(random_string);
User-Agent: acquia_search/3.1.6
Content-Type: application/x-www-form-urlencoded; charset=utf-8
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Date: Mon, 20 Mar 2023 14:17:34 GMT
< Content-Type: application/json;charset=utf-8
< Content-Length: 1756
< Connection: keep-alive
< Pragma: hmac_digest=random_string;
< Vary: Origin
<
* Connection #0 to server.name left intactSteps to reproduce
Run drush cron
Proposed resolution
Is this normal? if so, can we disable this? If not, can we be a bit clearer about why this is coming up?
I noticed that there is a message about updating to 3.0.9 before updating to 3.0+ but I only saw that after upgrading. I don't seen any documented reason for this to be necessary, so I am not sure if this is due to the upgrade process.
Please advise.
Issue fork acquia_search-3349146
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3349146-drush-cron-run
compare
- DIT-1201
changes, plain diff MR !23
Comments
Comment #2
pumpkinkid2 commentedComment #3
mglamanIn
src/Client/Solarium/AcquiaGuzzlehas the following:Can you try commenting that out and see if it is the case? We haven't had other reports but that doesn't mean it isn't happening. I won't have time to manually test until next week.
Comment #4
pumpkinkid2 commentedHey mglaman,
Commenting out the debug line definitely stops the output. Not sure what it entails to properly fix if that shouldn't be happening with that line uncommitted, but I'm happy to help troubleshoot further if I can help.
PK2
Comment #5
mglamanThanks for confirming. I think the fix is to remove this. Or leverage an environment variable for it. I'll be OOO and can pick it up next week
Comment #6
pumpkinkid2 commentedSounds great! Thanks!
PK2
Comment #8
mglamanMR opened with proposed fix. We're reviewing and should be merged soon, and part of the upcoming release.
Comment #10
mglamanCrediting amangrover90 who did the work
Comment #12
mglamanFixed! Slated for the next release. Thanks for reporting and testing @pumpkinkid2
Comment #14
pumpkinkid2 commentedThanks to both of you for the fix!