To post a new support question, click the Post New Topic button below.
Current Version: 4.8.5 | Sytist Manual | Common  Issues | Feature Requests

Please log in or Create an account to post or reply to topics.
You will still receive notifications of replies to topics you are part of even if you do not subscribe to new topic emails.

Order Form Hangs At Billing Address Portion

137 posts
Sun May 12, 19 5:29 AM CST
Hi Tim-

My order form is hanging after the initial info is entered and the form tries to proceed after the billing information. It just hangs with no visible error.

Checked mod_sec and there is no violation.

Any thoughts?

https://clients.shutterspeak.net/index.php?view=checkout

Joe
Edited Sun May 12, 19 6:53 AM by ShutterSpeak
16,148 posts (admin)
Mon May 13, 19 4:58 AM CST
Mod security is being trigger for some reason. See the attached screenshots. Those 403 errors are most likely mod security. No idea why it would trigger it.
Attached Photos

Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
137 posts
Tue May 14, 19 7:00 PM CST
It is not mod_sec but this is what I am seeing in the server error logs -

[Tue May 14 19:59:03.234043 2019] [:error] [pid 31722] [client 74.101.40.16:52768] client denied by server configuration: /home/shutter/public_html/clients/sy-inc/store/store_cart_actions.php, referer: https://clients.shutterspeak.net/index.php?view=checkout

The reason why I think it isn't mod_sec is there are no log entries for it. Also I have shut it off and tested with the same results.
Edited Tue May 14, 19 7:35 PM by ShutterSpeak
16,148 posts (admin)
Wed May 15, 19 5:06 AM CST
It is still something on the sever though.

client denied by server configuration:

But I have no clue as to what it would be.
Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
137 posts
Wed May 15, 19 7:45 AM CST
Tim,

I have a dozen sites on that server - none of which have this issue. I have the server operating according to the recommended settings for Sytist - I need something more to go on.

Joe
16,148 posts (admin)
Wed May 15, 19 11:01 AM CST
I assume it has been working fine the last several years?

Like I said, I have no clue what would be causing it. And a 403 error usually is mod security. Maybe there are some other logs on the server that would indicate what would be causing it.

And now after I accessed this URL directly which is in the network console creating the 403 error:
https://clients.shutterspeak.net/sy-inc/store/store_cart_actions.php?action=totalitemscheckout

I can't access your site at all
https://clients.shutterspeak.net

All though you don't see anything in mod security, it is acting like it. If it is not that, maybe a firewall.

Since I have been blocked, maybe you or your host can check the logs for my IP address: 24.94.228.67


Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
137 posts
Wed May 15, 19 11:29 AM CST
Searching for 24.94.228.67...


Table Chain num pkts bytes target prot opt in out source destination
No matches found for 24.94.228.67 in iptables


ip6tables:

Table Chain num pkts bytes target prot opt in out source destination
No matches found for 24.94.228.67 in ip6tables
16,148 posts (admin)
Wed May 15, 19 11:32 AM CST
Can you have your host look into it? I am still blocked.
Attached Photos

Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
137 posts
Wed May 15, 19 1:35 PM CST
If you were blocked you would not get a 403.

You would just get nothing. It is part of the problem. And I am the host, btw.

Joe
Edited Wed May 15, 19 2:25 PM by ShutterSpeak
16,148 posts (admin)
Wed May 15, 19 2:38 PM CST
So what do you think it is then?

Isn't this something new and it was working fine before?

Any changes to Sytist or the hosting configuration when this started happening?

How was I blocked? Sytist would not block anyone or generate a 403 error.
Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
16,148 posts (admin)
Wed May 15, 19 2:41 PM CST
.
Attached Photos

Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
137 posts
Wed May 15, 19 2:43 PM CST
Tim - I have no idea -- there have been no changes other than normal cPanel updates. I also flushed the ip block chain just to be sure. I think you are seeing the 403 on my home page as a cached error. A refresh would probably resolve it. But why the server will not allow access to that page is still a mystery.

I tried shutting off the firewall -still the same. I shut off mod_sec -- still the same. Error logs give no clue. A 403 would imply bad authorization to access the file but permissions and user are correct.

I am at a loss at the moment.

Joe
137 posts
Wed May 15, 19 2:45 PM CST
It does not seem possible to access that file directly.

But can you go to https://clients.shutterspeak.net ? If you can you are not blocked by the server.

The only change was a new ssl certificate, btw as the old one expired.
16,148 posts (admin)
Thu May 16, 19 5:01 AM CST
No, I could not access https://clients.shutterspeak.net/ after triggering the 403 on the server. My screenshot before my last one shows that.

The function that is triggering this i when it is checking for the total items in cart, every second, i case someone changes their cart in another tab or window. That was added Jan 29 in version 3.3. So it has been there for a few months. It looks like the first few requests are OK but then it starts getting a 403.

I have changed it to check every 10 seconds in the next update instead of 1 second. If you want to try to change that on your site, you can edit the file: sy-inc/store/store_checkout.php

Around lines 320, you will see this function. Change the part in red to 10000

if($("body").attr("data-checkout-timer") == "0") {
$.get(tempfolder+'/sy-inc/store/store_cart_actions.php?action=totalitemscheckout', function(data) {
data = $.trim(data);

if(data !== $("#total-items-checkout").val()) {
$("#buybackground").show();
$("body").append('Updating Cart');
setTimeout(function() {
location.reload();
}, 500);
}
// $("#log").show().append(data+" = "+$("#total-items-checkout").val()+" | ");
});
}
}, 10000);

Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
137 posts
Thu May 16, 19 7:49 AM CST
Seems like that fixes the issue - it may have been too many requests being triggered via php-fpm restrictions. php-fpm by default restricts to 20 max requests in cPanel. It can be changed but mine was at the default.
Edited Thu May 16, 19 7:51 AM by ShutterSpeak
15 total messages
Please log in or Create an account to post or reply to topics.
This post has been viewed 942 times
Category: Error
 
Loading more pages
Loading more pages

Sign up for email promotions.

Your information is safe with us and won't be shared.

Thank you for signing up!

 
©2003 - 2021 Grissett, LLC. All Rights Reserved.

By continuing to browse or by clicking Accept Cookies, you agree to the storing of cookies on your device necessary to provide you with the services available through our website.

    Accept   Privacy & Cookie Policy
Loading More Photos
Scroll To Top
Close Window
Loading
Close