[ZendTo] Odd 'pause' on random page load

Jules Field Jules at Zend.To
Sun Aug 25 11:37:11 BST 2019


Matt,

Try disabling the automatic http->https redirection.
Then try accessing the pages as http only. Does that change the behaviour at all?

The https security headers are sent by a little function called something like sendHTTPsecurityheaders which is most likely defined in /opt/zendto/lib/NSSUtils.php. Look for “send” in that file and you’ll probably find it. 
Edit that function and just add a line saying “return;” as the first line of the function. 
Let us know if that helps. 

-- 
Jules

> On 25 Aug 2019, at 5:29 am, Matt Broughton via ZendTo <zendto at zend.to> wrote:
> 
> I’ve already tried all of the above, static page doesn’t exhibit the same symptoms. It always loads. I’m still using SQLite, that process shows no signs of increased load during the times the page hangs.
> 
> The closest I’ve been able to see in the Apache debug logs is during the header debug info, the pause comes between the last header load and the first mod_ssl load message.
> 
> When it loads normally they all display together, when there’s a pause that’s where the gap is. But there are no errors generated.
>  
> I’m honestly baffled, I’ve tried with SSL stapling and without, the issue is the same so I don’t think it’s there.
> 
> Is it possible to disable the headers?
> 
> Matt Broughton
> Enterprise Systems Engineer
> Texas A&M - San Antonio
> matt.broughton at tamusa.edu
> 
> 
> Sent from a mobile device, please excuse any mistakes.
> From: Jules Field <Jules at Zend.To>
> Sent: Saturday, August 24, 2019 4:32:13 AM
> To: ZendTo Users <zendto at zend.to>
> Cc: Matt Broughton <Matt.Broughton at tamusa.edu>
> Subject: Re: [ZendTo] Odd 'pause' on random page load
>  
> My tried and trusted answer to ones like this is “it’s always a DNS problem”.
> 
> Use your browser performance tools to watch what’s happening and when as it starts to load a page. That may give some clues. 
> 
> Also, try creating a static page that just says “Hello,world!” In the /opt/zendto/www directory. Does that page suffer the same symptoms?
> 
> Are you using MySQL rather than SQLite as the DB back-end? If so, it might be a DB server problem. 
> 
> Let us know how you get on. 
> 
> -- 
> Jules
> 
> On 23 Aug 2019, at 9:07 pm, Matt Broughton via ZendTo <zendto at zend.to> wrote:
> 
>> Nothing, I’ve enabled debug logging. There are no warnings or errors, only info.
>>  
>> Matt Broughton
>> Enterprise Systems Engineer
>> Texas A&M University - San Antonio
>> Matt.Broughton at tamusa.edu
>> One University Way, San Antonio, TX
>>  
>>  
>>  
>> From: ZendTo <zendto-bounces at zend.to> on behalf of Neil via ZendTo <zendto at zend.to>
>> Reply-To: ZendTo Users <zendto at zend.to>
>> Date: Friday, August 23, 2019 at 3:01 PM
>> To: ZendTo Users <zendto at zend.to>
>> Cc: "zend.to at neilzone.co.uk" <zend.to at neilzone.co.uk>
>> Subject: Re: [ZendTo] Odd 'pause' on random page load
>>  
>>  
>> 
>> 
>> On 23 Aug 2019, at 20:39, Matt Broughton via ZendTo <zendto at zend.to> wrote:
>>  
>>  I’m not getting any error messages in the browser or logs.
>>  
>> Not something I’ve seen before — and there’s nothing in the php or apache error logs?
>> 
>> Neil
>> 
>> 
>> 
>> 
>> _______________________________________________
>> ZendTo mailing list
>> ZendTo at zend.to
>> http://jul.es/mailman/listinfo/zendto
> _______________________________________________
> ZendTo mailing list
> ZendTo at zend.to
> http://jul.es/mailman/listinfo/zendto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jul.es/pipermail/zendto/attachments/20190825/594decc8/attachment.html>


More information about the ZendTo mailing list