Ask Your Question
0

cURL error 7

asked 2022-02-17 07:46:44 -0600

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.

edit retag flag offensive close merge delete

Comments

It seems a little funny because the URL is HTTPS but your error message says port 80 timed out?

bwolven gravatar imagebwolven ( 2022-02-17 08:55:30 -0600 )edit

I'm sorry. That was a typo on my part it is just http.

ailchuk gravatar imageailchuk ( 2022-02-17 09:22:27 -0600 )edit

What are you using for a client app or library?

bwolven gravatar imagebwolven ( 2022-02-17 09:44:56 -0600 )edit

PHRETS

ailchuk gravatar imageailchuk ( 2022-02-17 09:46:46 -0600 )edit

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);

bwolven gravatar imagebwolven ( 2022-02-17 09:51:55 -0600 )edit

I already had the default socket timeout. When I added the max execution it had no effect.

ailchuk gravatar imageailchuk ( 2022-02-17 10:29:27 -0600 )edit

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...

bwolven gravatar imagebwolven ( 2022-02-17 11:32:39 -0600 )edit

Were you able to connect using a browser?

bwolven gravatar imagebwolven ( 2022-02-17 16:32:28 -0600 )edit

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>

ailchuk gravatar imageailchuk ( 2022-02-18 07:26:14 -0600 )edit

Is it possible they could be blocking my connection?

ailchuk gravatar imageailchuk ( 2022-02-18 07:28:24 -0600 )edit

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?

bwolven gravatar imagebwolven ( 2022-02-18 07:46:43 -0600 )edit

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

ailchuk gravatar imageailchuk ( 2022-02-18 07:58:04 -0600 )edit

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?

bwolven gravatar imagebwolven ( 2022-02-18 08:20:24 -0600 )edit

Correct. The server's browser times out while my pc's browser works. The IP of the server is 50.62.6.178

ailchuk gravatar imageailchuk ( 2022-02-18 08:22:07 -0600 )edit

Is this the only feed not working?
I see from history that you have a few others too.

bwolven gravatar imagebwolven ( 2022-02-18 15:17:18 -0600 )edit

We are checking to see if maybe your IP address has been blocked,

bwolven gravatar imagebwolven ( 2022-02-18 16:15:30 -0600 )edit

Thank you very much for your help. Was it anything we did on our side that caused the IP to get blocked?

ailchuk gravatar imageailchuk ( 2022-02-21 12:15:58 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2022-02-21 10:55:45 -0600

updated 2022-02-22 12:59:01 -0600

Looks like your IP address was blocked.
It should be unblocked sometime tomorrow morning.

edit flag offensive delete link more

Comments

Are you able to connect again today?

bwolven gravatar imagebwolven ( 2022-02-22 11:26:24 -0600 )edit

Yes. It's working great. Thank you again for your help.

ailchuk gravatar imageailchuk ( 2022-02-22 12:02:51 -0600 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2022-02-17 07:46:44 -0600

Seen: 443 times

Last updated: Feb 22