- Issue created by @notanumber6789
Thank you for making this available for Drupal 9, have been using the module for Drupal 7 with great success!
I am unable to enable drealty connection with valid URL and credentials, received an error upon saving the connection: "Connection with MLS failed to be established."
Drupal's recent log messages includes the following:
GuzzleHttp\Exception\ClientException: Client error: `GET https://example.com/rets/login.ashx` resulted in a `401 Access Denied` response: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xml (truncated...) in GuzzleHttp\Exception\RequestException::create() (line 113 of /var/www/drupal/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php).
Installed and configured Drupal 9 and php8.0 using composer.
Installed prets library with composer.
composer require troydavisson/phrets
I did not move anything to libraries folder, have no missing library errors, but am otherwise unable to confirm phrets library is recognised.
Installed drealty with composer
composer require 'drupal/drealty:^4.0'
Configured drealty with valid URL and credentials identical to working D7 installation, however when enabling and saving the connection, received the above connection error.
Debug mode is enabled for the connection, but no log file is created in the private folder as expected.
It is unclear whether there is an issue with the code or with my installation, or both.
It would be helpful to have a verification of the phrets in the GUI status page as with Drupal 7.
Similarly having the drealty debug log available could help, it is not written to the private files folder as expected.
Assuming my installation isn't to blame, this seems like a bug as the connection settings are proven and working on an existing D7 installation.
Any help would be appreciated, I'm available to test further as may be needed.
Active
4.0
Code