Ask Your Question
0

Login Error all of the sudden

asked 2018-12-09 13:20:11 -0600

cbscre gravatar image

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.

edit retag flag offensive close merge delete

Comments

Is it the actual login request that is failing?

bwolven gravatar imagebwolven ( 2018-12-10 09:33:59 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2018-12-16 11:35:50 -0600

cbscre gravatar image

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.

edit flag offensive delete link more

Comments

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

bwolven gravatar imagebwolven ( 2018-12-16 21:01:00 -0600 )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 gravatar imagecbscre ( 2018-12-16 21:12:28 -0600 )edit

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

cbscre gravatar imagecbscre ( 2018-12-16 21:44:30 -0600 )edit
0

answered 2018-12-10 14:24:58 -0600

updated 2018-12-10 14:25:11 -0600

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

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2018-12-09 13:20:11 -0600

Seen: 39 times

Last updated: Dec 16 '18