After enable the HSTS can't access website

dash-crypto
#1

HTTPS (Full Strict) was already configured and in use since long time. Today I enabled HSTS with 6 months recommended settings but after enable the HSTS I can’t access my site and I am getting 500 error

Is there any solution and help to solve this problem?

#2

Domain? However a 500 would indicate an issue on your server.

#3

I am running two domains on same server

lootadeal.com giving me error 500 where I enables HSTS settings

opensystem.xyz working fine.

There is no problem with the server because I didn’t make any change on the server side.

#4

That error most likely come straight from your server. Check the logs.

#5

[Fri Apr 19 12:37:36.760591 2019] [ssl:info] [pid 5658] (70007)The timeout specified has expired: [client 192.168.23.25:41874] AH01991: SSL input filter read failed.
[Fri Apr 19 12:37:36.776305 2019] [ssl:info] [pid 5659] (70007)The timeout specified has expired: [client 192.168.23.25:41872] AH01991: SSL input filter read failed.
[Fri Apr 19 12:37:49.866655 2019] [ssl:info] [pid 5676] [client 192.168.23.25:41878] AH01964: Connection to child 5 established (server lootadeal.com:443)
[Fri Apr 19 12:37:49.867095 2019] [ssl:debug] [pid 5676] ssl_engine_kernel.c(2096): [client 192.168.23.25:41878] AH02043: SSL virtual host for servername lootadeal.com found
[Fri Apr 19 12:37:49.870344 2019] [ssl:debug] [pid 5676] ssl_engine_kernel.c(2023): [client 192.168.23.25:41878] AH02041: Protocol: TLSv1.2, Cipher: ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
[Fri Apr 19 12:37:49.870745 2019] [ssl:debug] [pid 5676] ssl_engine_kernel.c(354): [client 192.168.23.25:41878] AH02034: Initial (No.1) HTTPS request received for child 5 (server lootadeal.com:443)
[Fri Apr 19 12:37:49.871773 2019] [authz_core:debug] [pid 5676] mod_authz_core.c(809): [client 192.168.23.25:41878] AH01626: authorization result of Require all granted: granted
[Fri Apr 19 12:37:49.871794 2019] [authz_core:debug] [pid 5676] mod_authz_core.c(809): [client 192.168.23.25:41878] AH01626: authorization result of : granted
[Fri Apr 19 12:37:49.871997 2019] [authz_core:debug] [pid 5676] mod_authz_core.c(809): [client 192.168.23.25:41878] AH01626: authorization result of Require all granted: granted
[Fri Apr 19 12:37:49.872017 2019] [authz_core:debug] [pid 5676] mod_authz_core.c(809): [client 192.168.23.25:41878] AH01626: authorization result of : granted
[Fri Apr 19 12:37:49.872320 2019] [authz_core:debug] [pid 5676] mod_authz_core.c(809): [client 192.168.23.25:41878] AH01626: authorization result of Require all granted: granted
[Fri Apr 19 12:37:49.872341 2019] [authz_core:debug] [pid 5676] mod_authz_core.c(809): [client 192.168.23.25:41878] AH01626: authorization result of : granted
[Fri Apr 19 12:37:49.872876 2019] [php7:emerg] [pid 5676] [client 192.168.23.25:41878] PHP Parse error: syntax error, unexpected ‘WP_MEMORY_LIMIT’ (T_STRING), expecting ‘,’ or ‘)’ in /var/www/lootadeal-com/wp-config.php on line 92
[Fri Apr 19 12:37:49.873162 2019] [ssl:debug] [pid 5676] ssl_engine_io.c(1017): [client 192.168.23.25:41878] AH02001: Connection closed to child 5 with standard shutdown (server lootadeal.com:443)
[Fri Apr 19 12:37:50.609399 2019] [ssl:info] [pid 5658] [client 192.168.23.25:41880] AH01964: Connection to child 3 established (server lootadeal.com:443)
[Fri Apr 19 12:37:50.609647 2019] [ssl:debug] [pid 5658] ssl_engine_kernel.c(2096): [client 192.168.23.25:41880] AH02043: SSL virtual host for servername lootadeal.com found
[Fri Apr 19 12:37:50.613468 2019] [ssl:debug] [pid 5658] ssl_engine_kernel.c(2023): [client 192.168.23.25:41880] AH02041: Protocol: TLSv1.2, Cipher: ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
[Fri Apr 19 12:37:50.613816 2019] [ssl:debug] [pid 5658] ssl_engine_kernel.c(354): [client 192.168.23.25:41880] AH02034: Initial (No.1) HTTPS request received for child 3 (server lootadeal.com:443)
[Fri Apr 19 12:37:50.614801 2019] [authz_core:debug] [pid 5658] mod_authz_core.c(809): [client 192.168.23.25:41880] AH01626: authorization result of Require all granted: granted
[Fri Apr 19 12:37:50.614845 2019] [authz_core:debug] [pid 5658] mod_authz_core.c(809): [client 192.168.23.25:41880] AH01626: authorization result of : granted
[Fri Apr 19 12:37:50.615077 2019] [authz_core:debug] [pid 5658] mod_authz_core.c(809): [client 192.168.23.25:41880] AH01626: authorization result of Require all granted: granted
[Fri Apr 19 12:37:50.615119 2019] [authz_core:debug] [pid 5658] mod_authz_core.c(809): [client 192.168.23.25:41880] AH01626: authorization result of : granted
[Fri Apr 19 12:37:50.615563 2019] [php7:emerg] [pid 5658] [client 192.168.23.25:41880] PHP Parse error: syntax error, unexpected ‘WP_MEMORY_LIMIT’ (T_STRING), expecting ‘,’ or ‘)’ in /var/www/lootadeal-com/wp-config.php on line 92
[Fri Apr 19 12:37:50.616723 2019] [ssl:debug] [pid 5658] ssl_engine_io.c(1017): [client 192.168.23.25:41880] AH02001: Connection closed to child 3 with standard shutdown (server lootadeal.com:443)
[Fri Apr 19 12:37:53.726490 2019] [ssl:info] [pid 5693] [client 192.168.23.25:41882] AH01964: Connection to child 7 established (server lootadeal.com:443)
[Fri Apr 19 12:37:53.726949 2019] [ssl:debug] [pid 5693] ssl_engine_kernel.c(2096): [client 192.168.23.25:41882] AH02043: SSL virtual host for servername lootadeal.com found
[Fri Apr 19 12:37:53.730919 2019] [ssl:debug] [pid 5693] ssl_engine_kernel.c(2023): [client 192.168.23.25:41882] AH02041: Protocol: TLSv1.2, Cipher: ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
[Fri Apr 19 12:37:53.731329 2019] [ssl:debug] [pid 5693] ssl_engine_kernel.c(354): [client 192.168.23.25:41882] AH02034: Initial (No.1) HTTPS request received for child 7 (server lootadeal.com:443)
[Fri Apr 19 12:37:53.732508 2019] [authz_core:debug] [pid 5693] mod_authz_core.c(809): [client 192.168.23.25:41882] AH01626: authorization result of Require all granted: granted
[Fri Apr 19 12:37:53.732553 2019] [authz_core:debug] [pid 5693] mod_authz_core.c(809): [client 192.168.23.25:41882] AH01626: authorization result of : granted
[Fri Apr 19 12:37:53.732746 2019] [authz_core:debug] [pid 5693] mod_authz_core.c(809): [client 192.168.23.25:41882] AH01626: authorization result of Require all granted: granted
[Fri Apr 19 12:37:53.732789 2019] [authz_core:debug] [pid 5693] mod_authz_core.c(809): [client 192.168.23.25:41882] AH01626: authorization result of : granted
[Fri Apr 19 12:37:53.733081 2019] [authz_core:debug] [pid 5693] mod_authz_core.c(809): [client 192.168.23.25:41882] AH01626: authorization result of Require all granted: granted
[Fri Apr 19 12:37:53.733124 2019] [authz_core:debug] [pid 5693] mod_authz_core.c(809): [client 192.168.23.25:41882] AH01626: authorization result of : granted
[Fri Apr 19 12:37:53.734685 2019] [php7:emerg] [pid 5693] [client 192.168.23.25:41882] PHP Parse error: syntax error, unexpected ‘WP_MEMORY_LIMIT’ (T_STRING), expecting ‘,’ or ‘)’ in /var/www/lootadeal-com/wp-config.php on line 92
[Fri Apr 19 12:37:53.735002 2019] [ssl:debug] [pid 5693] ssl_engine_io.c(1017): [client 192.168.23.25:41882] AH02001: Connection closed to child 7 with standard shutdown (server lootadeal.com:443)
[Fri Apr 19 12:37:54.521520 2019] [ssl:info] [pid 5692] [client 192.168.23.25:41884] AH01964: Connection to child 6 established (server lootadeal.com:443)
[Fri Apr 19 12:37:54.521923 2019] [ssl:debug] [pid 5692] ssl_engine_kernel.c(2096): [client 192.168.23.25:41884] AH02043: SSL virtual host for servername lootadeal.com found
[Fri Apr 19 12:37:54.525152 2019] [ssl:debug] [pid 5692] ssl_engine_kernel.c(2023): [client 192.168.23.25:41884] AH02041: Protocol: TLSv1.2, Cipher: ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
[Fri Apr 19 12:37:54.525525 2019] [ssl:debug] [pid 5692] ssl_engine_kernel.c(354): [client 192.168.23.25:41884] AH02034: Initial (No.1) HTTPS request received for child 6 (server lootadeal.com:443)
[Fri Apr 19 12:37:54.526557 2019] [authz_core:debug] [pid 5692] mod_authz_core.c(809): [client 192.168.23.25:41884] AH01626: authorization result of Require all granted: granted
[Fri Apr 19 12:37:54.526649 2019] [authz_core:debug] [pid 5692] mod_authz_core.c(809): [client 192.168.23.25:41884] AH01626: authorization result of : granted
[Fri Apr 19 12:37:54.526874 2019] [authz_core:debug] [pid 5692] mod_authz_core.c(809): [client 192.168.23.25:41884] AH01626: authorization result of Require all granted: granted
[Fri Apr 19 12:37:54.526960 2019] [authz_core:debug] [pid 5692] mod_authz_core.c(809): [client 192.168.23.25:41884] AH01626: authorization result of : granted
[Fri Apr 19 12:37:54.527469 2019] [php7:emerg] [pid 5692] [client 192.168.23.25:41884] PHP Parse error: syntax error, unexpected ‘WP_MEMORY_LIMIT’ (T_STRING), expecting ‘,’ or ‘)’ in /var/www/lootadeal-com/wp-config.php on line 92
[Fri Apr 19 12:37:54.527700 2019] [ssl:debug] [pid 5692] ssl_engine_io.c(1017): [client 192.168.23.25:41884] AH02001: Connection closed to child 6 with standard shutdown (server lootadeal.com:443)

#6

Does your server IP end in 224?

#7

No Server IP address end with 72 but I solved the problem. I had an issue with wp-config.php file on line 92.

[Fri Apr 19 12:37:49.872876 2019] [php7:emerg] [pid 5676] [client 192.168.23.25:41878] PHP Parse error: syntax error, unexpected ‘WP_MEMORY_LIMIT’ (T_STRING), expecting ‘,’ or ‘)’ in /var/www/lootadeal-com/wp-config.php on line 92

After fixing the issue site is back to normal. HSTS seems working fine.

Thank you for your prompt reply and support

#8

Does this work for you?

#9

I had an issue with wp-config.php file. Site is up and running.

Thanks

1 Like
closed #10

This topic was automatically closed after 30 days. New replies are no longer allowed.