How do we upgrade
We have been told we need to upgrade to https - our login URL is http://maui.rets.paragonrels.com/rets...
We have also used https://retsmd.com/index.php to find new fields
How do we get an updated login - I just spoke with RAM Maui and they said we were still going to be getting data from maui.rets.paragonrels.com
Comments
Change your URL to:
Change your authentication to use Basic instead of the current Digest.
You can test the URL in a browser to see if your login credentials are working.
Make sure that you include the rets-version parameter when you enter it in the browser.
Make sure you use the exact character case for your password.
When I add the https to the feed script it comes back with: Fatal error: Uncaught exception 'GuzzleHttp\Exception\ClientException' with message 'Client error:
GET https://maui-rets.paragonrels.com/rets/fnisrets.aspx/MAUI/login?rets-version=rets/1.7.2
resulted in a401 Unauthorized
But it works fine with http in the $config->setLoginUrl field
Did you change the Authorization to Basic?
$config->setHttpAuthenticationMethod('basic')
$config->setHttpAuthenticationMethod('basic')
I get: Fatal error: Uncaught exception 'GuzzleHttp\Exception\RequestException' with message 'cURL error 60: SSL: no alternative certificate subject name matches target host name 'maui.rets.paragonrels.com'
what happens if you attempt to add a -k into your request? If that doesn't work, could you give a bit more of the request you're currently using? (not displaying any username or passwords)
The full error message:
Fatal error: Uncaught exception 'GuzzleHttp\Exception\RequestException' with message 'cURL error 60: SSL: no alternative certificate subject name matches target host name 'maui.rets.paragonrels.com' (see http://curl.haxx.se/libcurl/c/libcurl... in RAM/PHRETS/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:187 Stack trace: #0 RAM/PHRETS/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php(150): GuzzleHttp\Handler\CurlFactory::createRejection(Object(GuzzleHttp\Handler\EasyHandle), Array) #1 RAM/PHRETS/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php(103): GuzzleHttp\Handler\CurlFactory::finishError(Object(GuzzleHttp\Handler\CurlHandler), Object(GuzzleHttp\Handler\EasyHandle), Object(GuzzleHttp\Handler\CurlFactory)) #2 RAM/PHRETS/vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php(43): GuzzleHttp\Handler\CurlFactory::finish(Object(GuzzleHttp\Handler\CurlHandler), Obj in RAM/PHRETS/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php on line 187
From the error message above, it looks like you didn't change your URL domain.
The domain name needs to be "maui-rets.paragonrels.com" to match certificate.
You should use that regardless of whether you are using HTTP or HTTPS.
I changed the domain to: maui-rets.paragonrels.com
I now get: Fatal error: Uncaught exception 'GuzzleHttp\Exception\ClientException' with message 'Client error:
GET https://maui-rets.paragonrels.com/rets/fnisrets.aspx/MAUI/login?rets-version=rets/1.7.2
resulted in a401 Unauthorized
response: <html xml="" '="" in="" ram="" phrets="" vendor="" guzzlehttp="" guzzle="" src="" exception="" requestexception.php:111="" stack="" trace:="" #0="" ram="" phrets="" vendor="" guzzlehttp="" guzzle="" src="" middleware.php(65):="" guzzlehttp\exception\requestexception::create(object(guzzlehttp\psr7\request),="" object(guzzlehttp\psr7\response))="" #1="" ram="" phrets="" vendor="" guzzlehttp="" promises="" src="" promise.php(203):="" guzzlehttp\middleware::guzzlehttp{closure}(object(guzzlehttp\psr7\response))="" #2="" ram="" phrets="" vendor="" guzzlehttp="" promises="" src="" promise.php(156):="" guzzlehttp\promise\promise::callhandler(1,="" object(guzzlehttp\psr7\r="" in="" ram="" phrets="" vendor="" guzzlehttp="" guzzle="" src="" exception="" requestexception.php="" on="" line="" 111<="" p="">