Nginx Sites Not Showing on 4G LTE But Work On Wifi and LAN
Hi ,
Wishing everyone, A Happy New Year.
Our Dynamic websites having SSL or otherwise (wordpress & Drupal) running on Nginx are failing on LTE/4G connections on mobiles. Strange as it may appear, non-dynamic sites, even on SSL are appearing fine on 4g/LTE connections. This may have something to do with ipv6 or ipv4.
There is no issue with 4G data provider as other HTML sites are running fine. As usual, at each browser test, cache has been autoclaved till the last bite.
Thanks in advance,
Dr. OSK Raju
2 Replies
Just did some more probing to know more on this by comparing working hamaracity.com to non working holyshrines.in by giving same parameters for test. Yes, both sites are on Certboot SSL. But Hamaracity hosts just HTMLs but holyshrines is running Wordpress. Please go through once and suggest
root@xxxxx:~# netstat -tulpna | grep nginx
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 733/nginx: master p
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 733/nginx: master p
tcp 0 0 172.105.48.146:443 122.172.58.81:31185 ESTABLISHED 15646/nginx: worker
tcp6 0 0 :::443 :::* LISTEN 733/nginx: master p
tcp6 0 0 :::80 :::* LISTEN 733/nginx: master p
root@xxxxx:~# dig A holyshrines.in +short
172.105.48.146
root@xxxxx:~# dig AAA holyshrines.in +short
172.105.48.146
root@xxxxx:~# curl -6 -sIL holyshrines.in
^Z
[1]+ Stopped curl -6 -sIL holyshrines.in
root@xxxxx:~# curl -4 -sIL holyshrines.in
HTTP/1.1 301 Moved Permanently
Server: nginx
Date: Fri, 08 Jan 2021 05:01:36 GMT
Content-Type: text/html
Content-Length: 178
Connection: keep-alive
Location: https://holyshrines.in/
HTTP/1.1 503 Service Unavailable
Server: nginx
Date: Fri, 08 Jan 2021 05:01:37 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Set-Cookie: PHPSESSID=at3aoek5ndvgffdlpdu4n9jcme; path=/
Pragma: no-cache
Set-Cookie: digits_countrycode=91; expires=Mon, 11-Jan-2021 05:01:37 GMT; Max-Age=259200; path=/; secure; SameSite=None
Set-Cookie: wccpprocookie=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/
Expires: Wed, 11 Jan 1984 05:00:00 GMT
Cache-Control: no-cache, must-revalidate, max-age=0
Retry-After: 3600
root@xxxxx:~# curl -6 -sIL holyshrines.in
^Z
[2]+ Stopped curl -6 -sIL holyshrines.in
root@xxxxx:~# curl -6 -sIL hamaracity.com
HTTP/1.1 301 Moved Permanently
Server: nginx
Date: Fri, 08 Jan 2021 05:01:59 GMT
Content-Type: text/html
Content-Length: 178
Connection: keep-alive
Location: https://hamaracity.com/
HTTP/1.1 200 OK
Server: nginx
Date: Fri, 08 Jan 2021 05:02:00 GMT
Content-Type: text/html
Content-Length: 6448
Last-Modified: Thu, 26 Nov 2020 13:48:50 GMT
Connection: keep-alive
ETag: "5fbfb242-1930"
Accept-Ranges: bytes
root@xxxxx:~#
Thanks in advance,