-
Notifications
You must be signed in to change notification settings - Fork 236
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
401 [reason phrase] RETS-Session-ID is invalid #111
Comments
You may be required to set the User Agent in your session configuration (something like |
If the previous comment doesn't solve your issue, please re-open this. Otherwise, I'll assume (because my guess is, based on experience) this fixed it. |
@troydavisson I have the same problem reported by @dhanya-dev but even I'm setting the User Agent in the middle of getting data I'm getting the error, and also the client is ussing Rapattoni, then what can be causing me the error?
|
@troydavisson - I am having the same issue, connecting to "Lexington-Bluegrass Association of REALTORS". I can log in fine, but get the error when trying to get system metadata. RETS-MD has no problem with this MLS, just the PHRETS library (1.7.2). Maybe the fact that the user agent in this case is just someones name ( "first last" )? |
hi,
Recently I have installed PHRETS 2.2 for downloading data but it is not working as I expected. For some servers i am facing the following issue while trying to download the data. Am I missing something here?
Uncaught GuzzleHttp\Exception\ClientException: Client error response [url] http://rets172lax.raprets.com:6123/Northtahoe/STAR/search.asp?SearchType=Property&Class=RES&Query=%28.........&QueryType=DMQL2&Count=1&Format=COMPACT-DECODED&Limit=99999999&StandardNames=0&Select=MLNumber [status code] 401 [reason phrase] RETS-Session-ID is invalid. in /var/www/factory/mls-project/php/SiFrameworks/phrets2.2/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:68
Stack trace:
#0 /var/www/factory/mls-project/php/SiFrameworks/phrets2.2/vendor/guzzlehttp/guzzle/src/Subscriber/HttpError.php(31): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Message\Request), Object(GuzzleHttp\Message\Response))
#1 /var/www/factory/mls-project/php/SiFrameworks/phrets2.2/vendor/guzzlehttp/guzzle/src/Event/Emitter.php(105): GuzzleHttp\Subscriber\HttpE in /var/www/factory/mls-project/php/SiFrameworks/phrets2.2/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php on line 68
The text was updated successfully, but these errors were encountered: