Announcement

Collapse
No announcement yet.

Very Slow Performance

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Mike Hughes
    replied
    If you'd like I can email you some network settings for a test domain I have set up on 1and1 so you can see if it's sellerdeck or your server.

    All you'd have to do is export your network settings to keep a copy and then import the network settings file I'll send you.

    Leave a comment:


  • Mike Hughes
    replied
    The scripts seem to be the same speed on the test site using the swift template.

    If you have another domain name you can always point that to the clook server and upload to that as a test. Or register a new domain name as they're pretty cheap and the DNS tends to propagate pretty quickly these days.

    Leave a comment:


  • Golf Tee Warehouse
    replied
    Originally posted by Mike Hughes View Post
    It seems to be working again. Pretty quickly for the static urls but fairly slowly for the perl scripts.

    That's a good starting point to investigate what might be causing the delay to the perl scripts.

    Edit: PS. I'd get it all working nice and smoothly first and then focus a bit on the htaccess file after that. It's quite easy for the htaccess script to mess things up so it's much easier to diagnose other problems without it.
    Host-It asked about uploading a default site to see if I still get the slow perl scripts, but was only able to import the swift design snapshop but still has my products, etc so not sure that will show much
    I did upload it in Test Mode but not sure it's any better (https://www.golfteewarehouse.co.uk/a...test/acatalog/)

    Any ideas how I can easily upload a full default site


    I do still have a hosting package with a previous hosts (Clook Internet) can I upload to that host while still having the DNS pointing at my current Web Host Host-It?


    Leave a comment:


  • Golf Tee Warehouse
    replied
    Thanks Mike

    Trying to get Post Code lookup and Sellerdeck payments now, then get back to the slow scripts

    for Post Codes I get "This license key cannot be used from this web site, the security settings for the license key may not include this domain"

    And for Sellerdeck Payments get

    Invalid POST form field value for: ekashu_hash_code
    Invalid POST form field value for: ekashu_hash_code_type
    Invalid POST form field value for: ekashu_hash_code_version

    Leave a comment:


  • Mike Hughes
    replied
    It seems to be working again. Pretty quickly for the static urls but fairly slowly for the perl scripts.

    That's a good starting point to investigate what might be causing the delay to the perl scripts.

    Edit: PS. I'd get it all working nice and smoothly first and then focus a bit on the htaccess file after that. It's quite easy for the htaccess script to mess things up so it's much easier to diagnose other problems without it.

    Leave a comment:


  • Golf Tee Warehouse
    replied
    Despite not changing anything server access is working again, strange, although still very slow

    Leave a comment:


  • Golf Tee Warehouse
    replied
    Network test just gives "The web server returned error code 502 - Bad Gateway"

    I've contacted Host-It support again for any info

    Leave a comment:


  • Golf Tee Warehouse
    replied
    Originally posted by Mike Hughes View Post
    Personally I would use www. on both the website url and the cgi-bin.

    At the moment you've got www. on neither and yet you sound as if you're doing a redirect to www. on the url which is a bit back to front and convoluted.
    Thanks I've changed that in three places in the network settings but can't upload to the server

    It was working previously but despite no making any changes (Network setting test fails and uploads also fail)

    Leave a comment:


  • Mike Hughes
    replied
    Personally I would use www. on both the website url and the cgi-bin.

    At the moment you've got www. on neither and yet you sound as if you're doing a redirect to www. on the url which is a bit back to front and convoluted.

    Leave a comment:


  • Golf Tee Warehouse
    replied
    Network Settings

    Code:
    HTTPPROXYMODE 0
    HTTPPROXYADDRESS
    HTTPPROXYPORT 80
    HTTPPROXYUSER
    HTTPPROXYPASSWORD
    FTPPROXYMODE 0
    FTPPROXYADDRESS
    FTPPROXYPORT 21
    FTPPROXYUSER
    FTPPROXYPASSWORD
    SCRIPTID 42
    SCRIPTEXT .pl
    SMTPHOST localhost
    WEBSITEURL https://golfteewarehouse.co.uk/
    IGNOREPASSIVEERRORS true
    USERELATIVECGIURLS false
    PATHTOPERL /usr/bin/perl
    FTPBUFFERSIZE 4
    FTPCLIENTTIMEOUT 55000
    FTPRETRYDELAY 3000
    FTPKEEPALIVEINTERVAL 30000
    FTPSILENT false
    FTPMAXRETRIES 3
    FTPCONNECTTIMEOUT 60000
    ONLINESTOREFOLDERNAME acatalog
    SMTPAUTHREQUIRED false
    SECURESMTPREQUIRED false
    SMTPUSERNAME
    SMTPPASSWORD
    SMTPPORT 25
    SMTPTIMEOUT 15
    COMPRESSIONPACKETSIZE 1024
    COMPRESSEDUPLOAD true
    SSLCATALOGURL https://golfteewarehouse.co.uk/acatalog/
    SSLCGIBINURL https://golfteewarehouse.co.uk/cgi-bin/
    SSLPATHFROMCGITOCATALOG ../acatalog/
    SSLFTPHOST secure8.host-it.co.uk
    SSLFTPUSERNAME ********
    SSLFTPPASSWORD ********
    SSLPATHTOCGIBIN /httpdocs/cgi-bin/
    SSLUSEPASSIVEFTP true
    SSLFTPPORT 21
    SSLFTPSECUREFTP true
    SSLFTPENCRYPTDATA false
    CATALOGURL
    CGIBINURL
    PATHFROMCGITOCATALOG
    FTPHOST
    FTPUSERNAME
    FTPPASSWORD
    PATHTOCGIBIN
    USEPASSIVEFTP false
    FTPPATHFROMCGITOCATALOG
    FTPPORT 21
    FTPSECUREFTP true
    FTPENCRYPTDATA false

    Leave a comment:


  • Golf Tee Warehouse
    replied
    The Network test now fails as does a site publish

    Network test

    Code:
    The web server returned error code 502 - Bad Gateway. The web server returned a bad response. Contact Sellerdeck support

    Upload
    Code:
    The web server returned an unknown response.
    
    Possible Cause:
    You are attempting to download orders
    before uploading to the web site
    Incorrect CGI-BIN URL in the web site details
    Incorrect permissions on the CGI script on
    the server (UNIX servers only)
    Script corruption - Could be caused by:
    Binary ftp transfer during manual installation
    Incomplete transfer
    Garbled transfer
    etc.
    Old or bad version of Perl running on server
    Http server error
    Wrong Path to Perl specified in the
    web site details
    Unknown
    Recommendation:
    Abort
    Resolution:
    Check cgi-bin script permissions
    Compare cgi-bin script against local script to
    check for corruption
    Upgrade Perl on server (needs at least 5.002)
    Run the Web | Configure Web Site Details command to verify your setup
    Re-install the web site
    Review server response for hints
    
    The response was:
    <HTML>
    <HEAD><TITLE>Script Error!</TITLE></HEAD>
    <BODY>
    <BLINK><B><FONT COLOR="#FF0000">
    Script Error</FONT></B></BLINK>
    </BODY>
    </HTML>
    
    
    
    Command: Filename:

    Leave a comment:


  • Golf Tee Warehouse
    replied
    This is the response from Host-It



    Hi,

    Just looking at the site and a few things I have note is that some content is not loading or missing,

    When navigating to a random page I found the below,
    https://golfteewarehouse.co.uk/acata...ed.html#SID=13


    Code:
    DevTools failed to load source map: Could not load content for https://golfteewarehouse.co.uk/acatalog/bootstrap.min.css.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
    DevTools failed to load source map: Could not load content for https://golfteewarehouse.co.uk/acatalog/bootstrap.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
    DevTools failed to load source map: Could not load content for https://golfteewarehouse.co.uk/acatalog/popper.min.js.map: HTTP error: status code 404,

    when looking in the browser developer tools this is showing the slow loading resources always seem to be coming from "actinicextras.js?DAYNO=VIWC" this may not be the cause but something I noticed when looking at pages, I also noticed during the page load a few of the slowest loading urls/links are as below, not sure if this is just something that needs cleaning up in the software due to the upgrade or not but this does seem a little odd as we don't have any other users reporting this. I also see in the performance insights it's highlighting "Issue Stylesheet blocking rendering" which may be something to investigate.

    Code:
    https://golfteewarehouse.co.uk/cgi-bin/aj000042.pl?ACTIONS=GetBreadcrumbTrail&REF=106&SID=12&ROOTCLASS=ajs-bc-home&PRODCLASS=ajs-bc-prod&timestamp=1670241067555
    
    https://golfteewarehouse.co.uk/cgi-bin/st000042.pl?ACTION=GETSTOCK&REF=106&SID=12&timestamp=1670241067715
    
    https://golfteewarehouse.co.uk/cgi-bin/dx000042.pl?ACTION=GETALLPRICES&SID=12&v_106_3=on&v_106_1=&v_106_2=&timestamp=1670241070107

    Leave a comment:


  • Buzby
    replied
    I’m with Host-it and very occasionally the website gets a little sticky on internal links and hangs for a while.

    I normally just email support quick asking them to give the server a kick or reboot and it usually does the trick.

    however it is most likely to be another issue mentioned above.

    Leave a comment:


  • Golf Tee Warehouse
    replied
    This was the content of my old htaccess file some of which is probably no longer needed or bad practice can you advise which if any I should include


    Code:
    Options +FollowSymLinks
    
    RewriteEngine on
    # RewriteCond %{HTTP_HOST} ^golfteewarehouse.co.uk [NC]
    # RewriteRule ^(.*)$ https://www.golfteewarehouse.co.uk/$1 [L,R=301]
    
    
    # Redirect non-www urls to https://www
    RewriteCond %{HTTP_HOST} !^www\.golfteewarehouse\.co.uk
    RewriteRule (.*) https://www.golfteewarehouse.co.uk/$1 [R=301,L]
    
    #Redirect anything else non http to https
    RewriteCond %{HTTPS} off
    RewriteRule ^(.*)$ https://www.golfteewarehouse.co.uk/$1 [R=301,L]
    
    ErrorDocument 404 /acatalog/404_Page.html
    
    #Gzip
    
    <IfModule mod_deflate.c>
    # DEFLATE by type - html, text, css, xml
    AddOutputFilterByType DEFLATE text/html text/plain text/css text/xml
    # DEFLATE by type - javascript
    AddOutputFilterByType DEFLATE application/x-javascript application/javascript text/javascript text/x-js text/x-javascript
    </ifmodule>
    
    #End Gzip
    
    # BEGIN EXPIRES
    
    <IfModule mod_expires.c>
    ExpiresActive On
    ExpiresDefault "access plus 30 minutes"
    ExpiresByType text/html "access plus 30 minutes"
    ExpiresByType image/gif "access plus 1 week"
    ExpiresByType image/jpeg "access plus 1 week"
    ExpiresByType image/jpg "access plus 1 week"
    ExpiresByType image/png "access plus 1 week"
    ExpiresByType image/ico "access plus 6 months"
    ExpiresByType text/css "access plus 1 week"
    ExpiresByType text/javascript "access plus 1 week"
    ExpiresByType text/js "access plus 1 week"
    ExpiresByType text/x-js "access plus 25 days"
    ExpiresByType text/xml "access plus 1 week"
    ExpiresByType application/javascript "access plus 1 week"
    ExpiresByType application/x-javascript "access plus 1 week"
    </IfModule>
    
    # END EXPIRES
    
    
    RewriteCond %{HTTP_HOST} ^golfteewarehouse\.com$ [OR]
    RewriteCond %{HTTP_HOST} ^www\.golfteewarehouse\.com$
    RewriteRule ^(.*)$ "https\:\/\/www\.golfteewarehouse\.co\.uk\/$1" [R=301,L]
    
    RewriteCond %{HTTP_HOST} ^wholesalegolftees\.co\.uk$ [OR]
    RewriteCond %{HTTP_HOST} ^www\.wholesalegolftees\.co\.uk$
    RewriteRule ^(.*)$ "https\:\/\/www\.golfteewarehouse\.co\.uk\/$1" [R=301,L]
    
    RewriteCond %{HTTP_HOST} ^rhinogolf\.co\.uk$ [OR]
    RewriteCond %{HTTP_HOST} ^www\.rhinogolf\.co\.uk$
    RewriteRule ^/?$ "https\:\/\/www\.golfteewarehouse\.co\.uk\/" [R=301,L]
    
    RewriteCond %{HTTP_HOST} ^rhinogolf\.uk$ [OR]
    RewriteCond %{HTTP_HOST} ^www\.rhinogolf\.uk$
    RewriteRule ^/?$ "https\:\/\/www\.golfteewarehouse\.co\.uk\/" [R=301,L]
    
    # php -- BEGIN cPanel-generated handler, do not edit
    # Set the “ea-php53” package as the default “PHP” programming language.
    <IfModule mime_module>
    AddHandler application/x-httpd-ea-php53 .php .php5 .phtml
    </IfModule>
    # php -- END cPanel-generated handler, do not edit

    This is the new one


    HTML Code:
    #SSL Redirect
    RewriteEngine On
    RewriteCond %{HTTPS} off
    RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
    
    #Block Access to specific sellerdeck files
    <FilesMatch "\.(htaccess|htpasswd|fil|session|authorise|mail)$">
    Order Allow,Deny
    Deny from all
    </FilesMatch>

    Leave a comment:


  • Golf Tee Warehouse
    replied
    Originally posted by NormanRouxel View Post
    Your site is https://www.golfteewarehouse.co.uk but your section links go to e.g.https://golfteewarehouse.co.uk/cgi-b...&amp;NOLOGIN=1

    So two problems. Missing www. from the cgi-bin URL which could cause problems with the Cart display and cookies.
    The section links operate via Perl and it could be running slowly on your server causing the delays you see.
    Originally I had an htaccess file redirecting non-www to www address but Host-It support reset it to a default one when we had problems updoading

    Will adding that redirect back help in any way to fix one issue

    Leave a comment:

Working...
X