RE: Administrator cannot access site, 404

Jamie Sammons, modified 4 Years ago. New Member Post: 1 Join Date: 7/24/21 Recent Posts

After computer hiberated & internet connection was down briefly, I get a 404 when I access localhost:8080. I am an administrator user but it says that "User is not allowed to access URL http://localhost:8080/web/mysite/"  and portlet com_liferay_portlet_configuration_web_portlet_PortletConfigurationPortlet: User 37801 did not provide a valid CSRF token for com.liferay.portlet.SecurityPortletContainerWrapper". In my Liferay account, my sites are no longer listed. 

Local Liferay Instance: 
Liferay DXP 7.3.10.1 sp1

Tomcat 9.0.4.0

My logs 
WARN [HikariPool-1 housekeeper][HikariPool:686] HikariPool-1 - Thread starvation or clock leap detected (housekeeper delta=6h24m21s575ms762µs400ns).
2021-07-24 21:21:40.402 WARN  [HikariPool-2 housekeeper][HikariPool:686] HikariPool-2 - Thread starvation or clock leap detected (housekeeper delta=6h24m21s578ms702µs400ns).
2021-07-24 21:27:36.214 WARN  [http-nio-8080-exec-21][SecurityPortletContainerWrapper:411] User 3456 is not allowed to access URL http://localhost:8080/web/mysite/home and portlet com_liferay_portlet_configuration_web_portlet_PortletConfigurationPortlet: User 3456 did not provide a valid CSRF token for com.liferay.portlet.SecurityPortletContainerWrapper
2021-07-24 21:27:36.221 ERROR [http-nio-8080-exec-21][PortletConfigurationPortlet:688] null
2021-07-24 21:32:54.731 INFO  [Thread-11][ThemeHotDeployListener:171] 1 theme for minium-theme was unregistered
2021-07-24 21:32:54.782 INFO  [Thread-11][HookHotDeployListener:545] Hook for saml-hook was unregistered
2021-07-24 21:32:54.787 INFO  [Thread-11][ThemeHotDeployListener:171] 1 theme for classic-theme was unregistered
2021-07-24 21:32:54.793 INFO  [Thread-11][ThemeHotDeployListener:171] 1 theme for speedwell-theme was unregistered
2021-07-24 21:32:54.798 INFO  [Thread-11][ThemeHotDeployListener:171] 1 theme for admin-theme was unregistered

thumbnail
Olaf Kock, modified 4 Years ago. Liferay Legend Posts: 6441 Join Date: 9/23/08 Recent Posts

If that message  "clock leap detected (housekeeper delta=6h24m..." denotes the time something has been down/hibernated, then I wouldn't talk about a brief time to be down. I'd expect a CSRF token to be bound to a session, which likely is timed out after more than 6 hours. If it's not bound to a session, I expect it to be somewhat timebound in any other fashion.

If you're indeed talking about a brief outage: Was it the server, client, both (e.g. Development System)?