- Issue created by @bsnodgrass
- π©πͺGermany jurgenhaas Gottmadingen
Not sure this can be moved forward without more details that you can only get from debugging you DRD and your remote sites during the initial check when you get the message "The remote site has DRD Agent installed but does not support any encryption methods matching those of the dashboard.".
You need to somehow figure out
- which encryption methods the remote site finds
- which encryption methods DRD has
- if there's really no overlap
This requires you injecting some debugging code into the modules at both ends and write the information somewhere to collect it afterwards.
Such debugging could probably be added generally to DRD and DRD Agent, but I currently don't have the bandwidth to do that. So, if you or someone else has a chance to do that, MRs would be welcome to add this to the modules here as well.
- πΊπΈUnited States tommyk
I have just encountered this issue too. I am a brand new user to DRD today. I wanted to test it out, but I've hit this wall immediately.
I've tried setting up a Drupal 11 *DRD Site* with DDEV locally and using a local Drupal 10 DDEV *Remote Site*, but that didn't work well.
I then tried adding the DRD Agent to a production Drupal 10 *Remote Site* for use with my local DDEV Drupal 11 *DRD Site*. I get the message reported above:
The remote site has DRD Agent installed but does not support any encryption methods matching those of the dashboard.
I then tried setting up a new production *DRD Site* on a server with a certificate. I got the same message when trying to add a Core for my production Drupal 10 *Remote Site*.
I set up Real AES with the instructions in https://www.drupal.org/project/drd/issues/3063491#comment-13159100 β and the instructions on the Encrypt module page. Nothing there seemed to raise any questions to me. It would be nice to have detailed step-by-step instructions to go from zero to Dashboard, though.
How would we begin debugging? I'm willing to put a few lines of code in the modules on my sites in order to see what we get.
- π¨π¦Canada bibliophileaxe
So, ran into this issue too. It's happening because of how authentication methods are being set.
In DRD Agent, getLabel() returns OpenSsl: https://git.drupalcode.org/project/drd_agent/-/blob/4.1.x/src/Crypt/Meth...
In DRD (the tagged 4.1.7 release), getLabel() returns OpenSSL: https://git.drupalcode.org/project/drd/-/blob/4.1.7/src/Crypt/Method/Ope...
The array comparison for authMethods fails because of the case mismatch.
This has been fixed in the underlying branch here: https://git.drupalcode.org/project/drd/-/commit/d6232f774f2eea31565c5673...
but there is no new tagged release with the fix. - πΊπΈUnited States tommyk
I appreciate the clue! I'll test out the dev version for now. That's working.
- πΊπΈUnited States adrianm6254
I also installed the dev version and everything is working.