TheLlamaman Posted April 11, 2023 Posted April 11, 2023 I've recently migrated my forum to using Invision Community (self hosted) One issue I've noticed post-migration from checking the nginx web server logs is that there are suspiciously large numbers of different people hitting the /offline page. Here is an example log line from nginx (I've removed the IPs and domain) [11/Apr/2023:08:09:22 +0000] "GET /offline/ HTTP/1.0" 200 4568 "https://www.{website domain}/index.php?app=core&module=system&controller=serviceworker&v={id}&type=front&loggedIn=true" "Mozilla/5.0 (iPhone; CPU iPhone OS 16_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/112.0.5615.46 Mobile/15E148 Safari/604.1" This is taking them to an Invision page saying "You appear to be Offline". I would somehow doubt this considering they are able to hit this page. I've also had a few forum members contact me about this. Upon doing investigations of nginx logs, I can confirm they have been hitting this offline page. Can anyone suggest why this would be happening? What would cause people to end up at this /offline page? Thanks.
Solution Stuart Silvester Posted April 11, 2023 Solution Posted April 11, 2023 Requests to that URL are totally normal. The service worker requests and caches the page so it can be shown on the device if network connectivity is lost, or the server is unreachable. If your users are seeing it, that would suggest that they're unable to connect for some reason. Randy Calvert 1
Recommended Posts