Jump to content

cart.php makes unsolicited connect request to some external ip at port 80, timeouts and delays


Nagaloap

Recommended Posts

I have encountered a strange problem: every time there is some operation involving cart.php, for example starting an order, or ajax-call for updating the cart when user changes product details, that request to cart.php has become very slow, always taking at least 30 seconds.

After the further examination, the extra 30second delay seems of course to be originating in it waiting for some external connection, and hitting a timeout when it can't reach an address.

And apparently yes, this is case: every time a user request like that is waiting, during those 30 seconds, netstat on the web server is showing a strange outgoing connection:

tcp        0      1 <redacted>:34250   178.32.53.76:80         SYN_SENT    14103/apache2

 

What is this? Why does WHMCS try to connect to some external address?

 

I have tried to check if this is because of some modules, but even with all the custom modules deactivated, this problem still persists.

How can one debug this, if all of WHMCS's code is hidden behind ioncube?

Link to comment
Share on other sites

Just to confirm are you also testing with a stock WHMCS client area and cart template?

 

Yes, stock order forms, and stock clientarea theme ('six').

Now tested even with a stock payment gateway (offline credit card), the same thing happens.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated