Adding DRD Core - Error immediately upon adding domain

Created on 22 July 2025, 16 days ago

Problem/Motivation

Cannot Add new core record. This is happening on multiple sites with different hosts. The target sites all have DRD Agent 4.1.4 installed. Our DRD Dashboard is on Drupal Core 10.5.1. We have a patch installed for Issue 3512046 merge request 29.

When adding a new core - we enter the domain in URL Field the following message appears
The remote site has DRD Agent installed but does not support any encryption methods matching those of the dashboard.

A DB Log message is created showing the following message.

drd_action_info [drd_domain/123]: Remote instance does not support DRD.
null
null

Debug mode is on for the DRD Agent on the target site; however, no messages appear in the log on the target site.

Steps to reproduce

See Problem summary above.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

4.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States bsnodgrass

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • 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.

Production build 0.71.5 2024