First time here? Check out the FAQ!
0

Login Error all of the sudden

  • retag add tags

We're getting a log-in error all of the sudden. Nothing has changed on our end that I know of. Did I miss a notification about changes required?

PHRETS - PHP library for RETS url: https://neren.rets.paragonrels.com/re... account: bia0617

I'm able to log-in with the browser using the username and password.

cbscre's avatar
cbscre
asked 2018-12-09 13:20:11 -0500
edit flag offensive 0 remove flag close merge delete

Comments

Is it the actual login request that is failing?

bwolven's avatar bwolven (2018-12-10 09:33:59 -0500) edit
add a comment see more comments

2 Answers

0

If this is occurring during search it could be this problem:
http://vendorsupport.paragonrels.com/...

bwolven's avatar
bwolven
answered 2018-12-10 14:24:58 -0500, updated 2018-12-10 14:25:11 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments
0

The connection is being refused. Is there some firewall block on your end? Our server IP is: 72.34.59.139.

From the phrets.php class, the debug shows:

*   Trying 208.93.242.167...
* TCP_NODELAY set
* connect to 208.93.242.167 port 80 failed: Connection refused
* Failed to connect to neren.rets.paragonrels.com port 80: Connection refused
* Closing connection 0

I tried directly from curl and the response is (password blanked out):

# curl -k -u bia0617:################### https://neren.rets.paragonrels.com/rets/fnisrets.aspx/NEREN/login?rets-version=rets/1.5
curl: (7) couldn't connect to host

I tried curl from my local machine and it seems to work fine:

$ curl -k -u bia0617:################### https://neren.rets.paragonrels.com/rets/fnisrets.aspx/NEREN/login?rets-version=rets/1.5

<RETS ReplyCode="0" ReplyText="Login Request" >
<RETS-RESPONSE>
MemberName=Ski Cntry RE IDX RETS User
User=bia0617,1,21,279113
Broker=4838,4838
MetadataVersion=18.12.8208
MinMetadataVersion=18.12.8208
TimeoutSeconds=7200
GetMetadata=/rets/fnisrets.aspx/NEREN/getmetadata
GetObject=/rets/fnisrets.aspx/NEREN/getobject
Login=/rets/fnisrets.aspx/NEREN/login
Logout=/rets/fnisrets.aspx/NEREN/logout
Search=/rets/fnisrets.aspx/NEREN/search
</RETS-RESPONSE>
</RETS>

BTW: without the -k option, curl complains that the SSL certificate is not valid. And so does Google Chrome, when I try to connect directly from a browser. Probably because the certificate is a wildcard cert *.paragonrels.com.

cbscre's avatar
cbscre
answered 2018-12-16 11:35:50 -0500
edit flag offensive 0 remove flag delete link

Comments

For SSL try: "https://neren-rets.paragonrels.com/rets/fnisrets.aspx/NEREN/login?rets-version=rets/1.7.2"

bwolven's avatar bwolven (2018-12-16 21:01:00 -0500) edit

Still get couldn't connect to host from 72.34.59.139.

curl -k -u bia0617:################### https://neren-rets.paragonrels.com/rets/fnisrets.aspx/NEREN/login?rets-version=rets/1.7.2
curl: (7) couldn't connect to host

But from local machine, different IP it does work.

cbscre's avatar cbscre (2018-12-16 21:12:28 -0500) edit

Problem solved. Our ISP's server blocked the connection and they finally got back to me too.

cbscre's avatar cbscre (2018-12-16 21:44:30 -0500) edit
add a comment see more comments

Your Answer

Login/Signup to Answer