Missing Token on login
022-09-24 14:53:28,026 [ERROR] CloudPanel.Modules.LoginModule – Error validating CSRF token: Nancy.Security.CsrfValidationException: TokenMissing
at Nancy.Security.Csrf.ValidateCsrfToken(INancyModule module, Nullable`1 validityPeriod)
at CloudPanel.Modules.LoginModule.<.ctor>b__1_1(Object _)
Which certificate is it referring to?
Also from Application event log:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 24/09/2022 2:52:17 PM
Event time (UTC): 24/09/2022 4:52:17 AM
Event ID: 628024a3246b4c9eb3aa42f02154e82e
Event sequence: 4
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1/ROOT/CloudPanel-1-133084687092277126
Trust level: Full
Application Virtual Path: /CloudPanel
Application Path: C:\Program Files (x86)\Know More IT\CloudPanel\
Machine name: H3NSERVER
Process information:
Process ID: 6228
Process name: w3wp.exe
Account name: H3NETECH\administrator
Exception information:
Exception type: COMException
Exception message: The request is not supported. (Exception from HRESULT: 0x80070032)
Request information:
Request URL: http://localhost/CloudPanel/
Request path: /CloudPanel/
User host address: 127.0.0.1
User:
Is authenticated: False
Authentication Type:
Thread account name: H3NETECH\administrator
Thread information:
Thread ID: 7
Thread account name: H3NETECH\administrator
Is impersonating: False
Stack trace:
Custom event details:
Windows updates installed:
2022-09 Servicing Stack Update for Windows Server 2016 for x64-based Systems (KB5017396)
2022-09 Cumulative Update for Windows Server 2016 for x64-based Systems (KB5017305)
That is the CSRF token. You should just be able to refresh the page (clear cache) or try recycling the iis application pool. Usually its on the browser side though
- 5 Forums
- 716 Topics
- 3,649 Posts
- 1 Online
- 258 Members