Ask Your Question

Revision history [back]

I was thinking of the same thing

$config->setLoginUrl('http://maxebrdi-rets.paragonrels.com/rets/fnisrets.aspx/MAXEBRDI/login?rets-version=rets/1.7.2')
       ->setUsername('username')
       ->setPassword('password')
       ->setUserAgent('PHRETS/2.6.1')
      ->setRetsVersion('1.7.2')
      ->setHttpAuthenticationMethod('digest');

but still the same error

[Mon Oct 12 20:46:09.854995 2020] [php7:error] [pid 7028] [client 172.31.87.237:24426] PHP Fatal error:  Uncaught GuzzleHttp\\Exception\\ClientException: Client error: `GET http://maxebrdi-rets.paragonrels.com/rets/fnisrets.aspx/MAXEBRDI/login?rets-version=rets/1.7.2` resulted in a `401 Unauthorized` response in /var/app/current/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113\nStack trace:\n#0 /var/app/current/vendor/guzzlehttp/guzzle/src/Middleware.php(66): GuzzleHttp\\Exception\\RequestException::create(Object(GuzzleHttp\\Psr7\\Request), Object(GuzzleHttp\\Psr7\\Response))\n#1 /var/app/current/vendor/guzzlehttp/promises/src/Promise.php(203): GuzzleHttp\\Middleware::GuzzleHttp\\{closure}(Object(GuzzleHttp\\Psr7\\Response))\n#2 /var/app/current/vendor/guzzlehttp/promises/src/Promise.php(156): GuzzleHttp\\Promise\\Promise::callHandler(1, Object(GuzzleHttp\\Psr7\\Response), Array)\n#3 /var/app/current/vendor/guzzlehttp/promises/src/TaskQueue.php(47): GuzzleHttp\\Promise\\Promise::GuzzleHttp\\Promise\\{closure}()\n#4 /var/app/current/vendor/guzzlehttp/promises/src/Promise.php(246): GuzzleHttp\\Promise\\TaskQueue->run(true)\n#5  in /var/app/current/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php on line 113

This one puzzles me :)