Ask Your Question

Revision history [back]

Having issues pulling data from GACAR MLS

I have been having issues since our client's renewal lapsed. They got it renewed and now the data is not pulling. It continues to give us errors. We have verified with the local board that everything is set properly - RETS is turned on, agent and office records are Active and the security levels are correct. I also verified the login credentials.

I also checked restmd.com and am able to login there as well.

Here's the raw request and response I'm getting

php test.php Username: Forrester8769 Password: Login URL: https://gacarmls-rets.paragonrels.com/rets/fnisrets.aspx/gacarmls/login?rets-version=rets/1.7.2 [2020-07-06 22:23:28] PHRETS.DEBUG: Loading Monolog\Logger logger [] [] [2020-07-06 22:23:28] PHRETS.DEBUG: Sending HTTP Request for https://gacarmls-rets.paragonrels.com/rets/fnisrets.aspx/gacarmls/login?rets-version=rets/1.7.2 (Login) {"auth":["Forrester8769","4ZL?eGv6xT","digest"],"headers":{"User-Agent":"RETSMD/1.0","RETS-Version":"RETS/1.7.2","Accept-Encoding":"gzip","Accept":"/"},"curl":{"10031":"/private/tmp/phretsl59hzb"}} [] [2020-07-06 22:23:29] PHRETS.DEBUG: ClientException: 401: Client error: GET https://gacarmls-rets.paragonrels.com/rets/fnisrets.aspx/gacarmls/login?rets-version=rets/1.7.2 resulted in a 401 Unauthorized response [] [] PHP Fatal error: Uncaught GuzzleHttp\Exception\ClientException: Client error: GET https://gacarmls-rets.paragonrels.com/rets/fnisrets.aspx/gacarmls/login?rets-version=rets/1.7.2 resulted in a 401 Unauthorized response in /Users/thinkery/Code/PHRETS/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113

In speaking with local MLS support they asked this morning if we had tried again and yes we continue to try but nothing. There are properties still showing that have been sold and properties with prices that have changed that are not updating. I even tried changing the last pull date setting back to 4-01-20 to get all the info that has changed since then but still no updates / changes.

The local response is that they read that with PHRETS sometimes the initial login will give that response: The 401 response following the initial GET is natural and required in digest authentication. This gives the server the first opportunity to send back it's digest values which the client needs to calculate the password to pass back in the 2nd GET. The next response should either be a 401 or 200 response.

The Cron job ran again this morning at 6:00 am. And still it's not pulling the data.

Please help.

Having issues pulling data from GACAR MLS

I have been having issues since our client's renewal lapsed. They got it renewed and now the data is not pulling. It continues to give us errors. We have verified with the local board that everything is set properly - RETS is turned on, agent and office records are Active and the security levels are correct. I also verified the login credentials.

I also checked restmd.com and am able to login there as well.

Here's the raw request and response I'm getting

php test.php Username: Forrester8769 Password: Login URL: https://gacarmls-rets.paragonrels.com/rets/fnisrets.aspx/gacarmls/login?rets-version=rets/1.7.2 [2020-07-06 22:23:28] PHRETS.DEBUG: Loading Monolog\Logger logger [] [] [2020-07-06 22:23:28] PHRETS.DEBUG: Sending HTTP Request for https://gacarmls-rets.paragonrels.com/rets/fnisrets.aspx/gacarmls/login?rets-version=rets/1.7.2 (Login) {"auth":["Forrester8769","4ZL?eGv6xT","digest"],"headers":{"User-Agent":"RETSMD/1.0","RETS-Version":"RETS/1.7.2","Accept-Encoding":"gzip","Accept":"{"auth":["Forrester8769","/*"},"curl":{"10031":"/private/tmp/phretsl59hzb"}} ","digest"],"headers":{"User-Agent":"RETSMD/1.0","RETS-Version":"RETS/1.7.2","Accept-Encoding":"gzip","Accept":"/*"},"curl":{"10031":"/private/tmp/phretsl59hzb"}} [] [2020-07-06 22:23:29] PHRETS.DEBUG: ClientException: 401: Client error: GET https://gacarmls-rets.paragonrels.com/rets/fnisrets.aspx/gacarmls/login?rets-version=rets/1.7.2 resulted in a 401 Unauthorized response [] [] PHP Fatal error: Uncaught GuzzleHttp\Exception\ClientException: Client error: GET https://gacarmls-rets.paragonrels.com/rets/fnisrets.aspx/gacarmls/login?rets-version=rets/1.7.2 resulted in a 401 Unauthorized response in /Users/thinkery/Code/PHRETS/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113

In speaking with local MLS support they asked this morning if we had tried again and yes we continue to try but nothing. There are properties still showing that have been sold and properties with prices that have changed that are not updating. I even tried changing the last pull date setting back to 4-01-20 to get all the info that has changed since then but still no updates / changes.

The local response is that they read that with PHRETS sometimes the initial login will give that response: The 401 response following the initial GET is natural and required in digest authentication. This gives the server the first opportunity to send back it's digest values which the client needs to calculate the password to pass back in the 2nd GET. The next response should either be a 401 or 200 response.

The Cron job ran again this morning at 6:00 am. And still it's not pulling the data.

Please help.