• Resolved hungpham

    (@hungpham)


    So, I got the site running fast on both desktop and mobile devices. However, after a while, the site is only loaded on desktop. Mobile devices either are showing not loading screen (on Microsoft Edge), or just don’t load anything at all. If the current screen is a new tab, then that new tab is still remained. If the current screen is another site, after entering the site URL, the screen is still showing the current site. Nothing is loaded.

    There is no error in the server log. The only way I could get it back to work is clearing cache.

    Note that it’s not only happening with one website, but with different websites on several servers.

    Anyway to debug and find out the reason, please?
    Thanks.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Support qtwrk

    (@qtwrk)

    Hi,

    Is that OpenLiteSpeed or LiteSpeed Enterprise ?

    Best regards,

    Thread Starter hungpham

    (@hungpham)

    The web server is OpenLiteSpeed

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    OK , please enable debug log , set log level to advance

    then set to all IP

    then when that happens , close the browser on your mobile

    go to log viewer —> clean all log

    new re-open the browser on your mobile , try access it , if it stucks , wait for 30 seconds or so , go back to log view , see if you can find the log about that mobile access, you can check by UA or IP

    once you found the log , please copy all the text , paste it into https://paste.ubuntu.com/

    then post the link it generated for you.

    Best regards,

    Thread Starter hungpham

    (@hungpham)

    Nothing from the front end access. The log recorded some, but it’s from admin area, with links such as admin.php?page=litespeed-toolbox. You can see here https://paste.ubuntu.com/p/TWWhgVnPTK/

    From the server log, checked with Safari and MS Edge:

    <my-ip-address> – – [21/Jul/2020:14:16:43 +0700] “GET / HTTP/2” 200 7833 “-” “Mozilla/5.0 (iPhone; CPU iPhone OS 13_5_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0 EdgiOS/45.6.2 Mobile/15E148 Safari/605.1.15”

    <my-ip-address> – – [21/Jul/2020:14:21:30 +0700] “GET / HTTP/2” 200 7833 “-” “Mozilla/5.0 (iPhone; CPU iPhone OS 13_5_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.1 Mobile/15E148 Safari/604.1”

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    No , I would need the log for access by mobile on your page , the log for access toolbox page with desktop doesn’t help.

    and could you please provide the report number ? you can get it in toolbox –> report –> click “send to LiteSpeed”

    Best regards,

    Thread Starter hungpham

    (@hungpham)

    Hi.

    That’s the log when I access by my iPhone. Anyway, I just noticed that when the mobile problem happens, I also cannot access the site with Safari on my Mac. The error message is NSPOSIXErrordomain:100

    I have sent a report to Litespeed. The number is XAAQWCPY.

    Thanks.

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    for debug log, please go to admin area , left-side bar —> LiteSpeed Cache —> Toolbox —> [6] Debug Settings

    in this page:

    set Debug Log to Admin IP Only

    add your IP into Admin IPs (you will see your IP below.)

    set Debug Level to Advanced

    save changes.

    Now go to [7] Log View, click on admin-bar LiteSpeed Cache —> Purge All

    then click button [D] Clear Log , keep this window open, don’t close it nor navigate away from it.

    Now ,open a new window, access your home page , like https://your_domain.com/?test (please do remember attach ?test to it)

    once page is loaded , go back to Log View window and refresh this page, you should see the debug log is showing up.

    Then please copy all the text , paste it into https://paste.ubuntu.com/

    then post the link it generated for you.

    Best regards,

    Thread Starter hungpham

    (@hungpham)

    Thanks for detailed guide. However, there is not much information recorded.

    1. If I run https://mydomain.com/?test, only a few lines recorded:

    07/28/20 04:14:18.906 [<my-ip-address>:58301 1 ZVb] ?? ------GET HTTP/1.1 /
    07/28/20 04:14:18.906 [<my-ip-address>:58301 1 ZVb] Query String: 
    07/28/20 04:14:18.906 [<my-ip-address>:58301 1 ZVb] User Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 13_5_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0 EdgiOS/45.6.2 Mobile/15E148 Safari/605.1.15
    07/28/20 04:14:18.906 [<my-ip-address>:58301 1 ZVb] Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    07/28/20 04:14:18.906 [<my-ip-address>:58301 1 ZVb] Accept Encoding: gzip, deflate
    07/28/20 04:14:18.906 [<my-ip-address>:58301 1 ZVb] X-LSCACHE: true
    07/28/20 04:14:18.906 [<my-ip-address>:58301 1 ZVb] LSCACHE_VARY_COOKIE: wp-postpass_188aa0e427ebdd608fb310d19a4dab9b

    2. If I continue with one post, then https://mydomain.com/link-to-post/?test, then I got more info:

    07/28/20 04:18:46.390 [<my-ip-address>:58331 1 FnQ] ?? ------POST HTTP/1.1 (HTTPS)  /wp-json/wordpress-popular-posts/v1/popular-posts
    07/28/20 04:18:46.390 [<my-ip-address>:58331 1 FnQ] Query String: 
    07/28/20 04:18:46.390 [<my-ip-address>:58331 1 FnQ] HTTP_REFERER: https://mydomain.com/link-to-post/?test
    07/28/20 04:18:46.390 [<my-ip-address>:58331 1 FnQ] User Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 13_5_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0 EdgiOS/45.6.2 Mobile/15E148 Safari/605.1.15
    07/28/20 04:18:46.390 [<my-ip-address>:58331 1 FnQ] Accept: */*
    07/28/20 04:18:46.390 [<my-ip-address>:58331 1 FnQ] Accept Encoding: gzip, deflate, br
    07/28/20 04:18:46.390 [<my-ip-address>:58331 1 FnQ] X-LSCACHE: true
    07/28/20 04:18:46.390 [<my-ip-address>:58331 1 FnQ] LSCACHE_VARY_COOKIE: wp-postpass_188aa0e427ebdd608fb310d19a4dab9b
    07/28/20 04:18:46.607 [<my-ip-address>:58331 1 FnQ] [Router] get_role: 
    07/28/20 04:18:46.609 [<my-ip-address>:58331 1 FnQ] [Media] init
    07/28/20 04:18:46.611 [<my-ip-address>:58331 1 FnQ] [Placeholder] init
    07/28/20 04:18:46.614 [<my-ip-address>:58331 1 FnQ] [CDN] init
    07/28/20 04:18:46.614 [<my-ip-address>:58331 1 FnQ] ? Task init
    07/28/20 04:18:46.614 [<my-ip-address>:58331 1 FnQ] [Router] LSCWP_CTRL bypassed empty
    07/28/20 04:18:46.616 [<my-ip-address>:58331 1 FnQ] [GUI] init
    07/28/20 04:18:46.645 [<my-ip-address>:58331 1 FnQ] [Ctrl] X Cache_control init on
    07/28/20 04:18:46.647 [<my-ip-address>:58331 1 FnQ] [Vary] Rest API init disabled vary change
    07/28/20 04:18:46.652 [<my-ip-address>:58331 1 FnQ] [REST] ? Internal REST ON [filter] rest_request_before_callbacks
    07/28/20 04:18:46.653 [<my-ip-address>:58331 1 FnQ] [REST] ? Internal REST OFF [filter] rest_request_after_callbacks
    07/28/20 04:18:46.653 [<my-ip-address>:58331 1 FnQ] [Core] CHK html bypass: miss footer const
    07/28/20 04:18:46.654 [<my-ip-address>:58331 1 FnQ] [Ctrl] X Cache_control off - not GET method:POST
    07/28/20 04:18:46.654 [<my-ip-address>:58331 1 FnQ] [Ctrl] X Cache_control -> no Cache  => LiteSpeed\Control::set_nocache()@381 => LiteSpeed\Control::finalize()@648 => LiteSpeed\LSC->send_headers()@479
    07/28/20 04:18:46.654 [<my-ip-address>:58331 1 FnQ] [Router] get_role: 
    07/28/20 04:18:46.654 [<my-ip-address>:58331 1 FnQ] [Vary] role id: failed, guest
    07/28/20 04:18:46.654 [<my-ip-address>:58331 1 FnQ] [Router] get_role: 
    07/28/20 04:18:46.654 [<my-ip-address>:58331 1 FnQ] [Router] get_role: 
    07/28/20 04:18:46.654 [<my-ip-address>:58331 1 FnQ] [Vary] no custimzed vary 
    07/28/20 04:18:46.655 [<my-ip-address>:58331 1 FnQ] [Core] Silence Comment due to REST/AJAX
    07/28/20 04:18:46.655 [<my-ip-address>:58331 1 FnQ] ?? X-LiteSpeed-Cache-Control: no-cache
    07/28/20 04:18:46.655 [<my-ip-address>:58331 1 FnQ] [Core] CHK html bypass: miss footer const
    07/28/20 04:18:46.656 [<my-ip-address>:58331 1 FnQ] [Media] bypass: Not frontend HTML type
    07/28/20 04:18:46.656 [<my-ip-address>:58331 1 FnQ] GUI bypassed by no counter
    07/28/20 04:18:46.656 [<my-ip-address>:58331 1 FnQ] [Optm] bypass: Not frontend HTML type
    07/28/20 04:18:46.656 [<my-ip-address>:58331 1 FnQ] CDN bypass
    07/28/20 04:18:46.656 [<my-ip-address>:58331 1 FnQ] End response

    Not sure if it’s giving something useful for debugging?
    Thanks.

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    the log 1 is incomplete , you should see last line as “End response” like your second one.

    your second log is incorrect, that is actually a log for a subrequest

    ——POST HTTP/1.1 (HTTPS) /wp-json/wordpress-popular-posts/v1/popular-posts

    you should see a log starting with something like this

    ——GET HTTP/1.1 /link-to-post

    was the first log you did was your mobile can not load it ?

    if you set cache TTL to shorter time , let’s say , 12 hours or 24 hours , how does it go ?

    Best regards,

    Thread Starter hungpham

    (@hungpham)

    Hi.

    Unfortunately, that is what I got from the log. No “End response”. I just tested again:

    
    
    08/04/20 18:39:42.039 [<my-ip-address>:64149 1 NjB] ?? ------GET HTTP/1.1 (HTTPS)  /
    08/04/20 18:39:42.039 [<my-ip-address>:64149 1 NjB] Query String: test
    08/04/20 18:39:42.039 [<my-ip-address>:64149 1 NjB] User Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 13_5_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0 EdgiOS/45.6.8 Mobile/15E148 Safari/605.1.15
    08/04/20 18:39:42.039 [<my-ip-address>:64149 1 NjB] Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    08/04/20 18:39:42.039 [<my-ip-address>:64149 1 NjB] Accept Encoding: gzip, deflate, br
    08/04/20 18:39:42.039 [<my-ip-address>:64149 1 NjB] X-LSCACHE: true
    08/04/20 18:39:42.039 [<my-ip-address>:64149 1 NjB] LSCACHE_VARY_COOKIE: wp-postpass_1882a0e427exad608fa310d19a4dab9b
    08/04/20 18:39:42.227 [<my-ip-address>:64149 1 NjB] [Core] Bypassed due to debug disable all setting
    
    

    And because I purged all cache as your guide, I can access the site from mobile again. I assume that you would need to check the log when the problem is happening, is that correct?

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    Please create a ticket here, we will investigate it further.

    Best regards,

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘site is not loaded on mobile after a while’ is closed to new replies.