cURL error 7
Classid RETS (I believe)
https://gbhar-rets.paragonrels.com/re...
ailchuk
Version: 1.7.2
We just recently started receiving the following error.
Login failed Error: cURL error 7: Failed to connect to gbhar-rets.paragonrels.com port 80: Timed out
Any help would be greatly appreciated.
Comments
It seems a little funny because the URL is HTTPS but your error message says port 80 timed out?
I'm sorry. That was a typo on my part it is just http.
What are you using for a client app or library?
PHRETS
You can try these settings that I use with PHRETS to see if it helps:
ini_set("default_socket_timeout", 6000); // seconds
ini_set("max_execution_time", 300);
I already had the default socket timeout. When I added the max execution it had no effect.
Can you try connecting using a browser on the same computer to see if you get the same behavior?
Also try on a different one and see if it works there?
http://gbhar-rets.paragonrels.com/ret...
Were you able to connect using a browser?
The link seems to work. I get the following XML
<rets replycode="0" replytext="Login Request"> <rets-response> MemberName=Ilchuk Enterprises Vendor User=ailchuk,1,13,1756 Broker=3,3 MetadataVersion=21.6.17352 MetadataTimestamp=2021-06-12T01:12:13.5Z MinMetadataTimestamp=2021-06-12T01:12:13.5Z TimeoutSeconds=3600 GetMetadata=/rets/fnisrets.aspx/GBHAR/getmetadata GetObject=/rets/fnisrets.aspx/GBHAR/getobject Login=http://gbhar-rets.paragonrels.com/rets/fnisrets.aspx/GBHAR/login Logout=/rets/fnisrets.aspx/GBHAR/logout Search=/rets/fnisrets.aspx/GBHAR/search </rets-response> </rets>
Is it possible they could be blocking my connection?
That reply means the login request succeeded so it connected to the RETS server.
Did you do this in a browser on the same box that your PHRETS code is running on?
And you configured PHRETS to use Digest authentication?
Sorry, I misunderstood initially on testing the link. I just tested it and I'm getting the site cannot be reached. ERR_CONNECTION_TIMED_OUT
So when you test URL in browser it on your PHRETS box it times out?
But when you test it in a browser on another box it works?
If so, what is the external IP for the box that times out?
Correct. The server's browser times out while my pc's browser works. The IP of the server is 50.62.6.178
Is this the only feed not working?
I see from history that you have a few others too.
We are checking to see if maybe your IP address has been blocked,
Thank you very much for your help. Was it anything we did on our side that caused the IP to get blocked?