Issue
Dashboard errors:
The received data is wrong. Contact support for resolution. Traceback (most recent call last): File "/opt/cloudlinux/venv/lib64/python3.11/site-packages/clcommon/lib/cledition.py", line 76, in get_from_jwt jwt = decode_jwt(token, verify_exp=verify_exp) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/cloudlinux/venv/lib64/python3.11/site-packages/clcommon/lib/jwt_token.py", line 20, in decode_jwt jwt_token = decode(token_string, algorithms=['HS256'], ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/cloudlinux/venv/lib64/python3.11/site-packages/jwt/api_jwt.py", line 210, in decode decoded = self.decode_complete( ^^^^^^^^^^^^^^^^^^^^^ File "/opt/cloudlinux/venv/lib64/python3.11/site-packages/jwt/api_jwt.py", line 162, in decode_complete self._validate_claims( File "/opt/cloudlinux/venv/lib64/python3.11/site-packages/jwt/api_jwt.py", line 248, in _validate_claims self._validate_exp(payload, now, leeway) File "/opt/cloudlinux/venv/lib64/python3.11/site-packages/jwt/api_jwt.py", line 306, in _validate_exp raise ExpiredSignatureError("Signature has expired")jwt.exceptions.ExpiredSignatureError: Signature has expiredThe above exception was the direct cause of the following exception:Traceback (most recent call last): File "/opt/cloudlinux/venv/lib/python3.11/site-packages/cllimits/cl_utils/cloudlinux-summary.py", line 42, in main(sys.argv[1:]) File "/opt/cloudlinux/venv/lib/python3.11/site-packages/cllimits/cl_utils/cloudlinux-summary.py", line 21, in main return CloudlinuxSummary().run(argv) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/cloudlinux/venv/lib64/python3.11/site-packages/clsummary/summary.py", line 644, in run self._actions_before_run_process_as_limited() File "/opt/cloudlinux/venv/lib64/python3.11/site-packages/clsummary/summary.py", line 441, in _actions_before_run_process_as_limited result = self._get_remote_data() ^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/cloudlinux/venv/lib64/python3.11/site-packages/clsummary/summary.py", line 264, in _get_remote_data stat_data["result"].update(self._get_smart_advice_statistics()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/cloudlinux/venv/lib64/python3.11/site-packages/clsummary/summary.py", line 3398, in _get_smart_advice_statistics if not is_cl_shared_edition(skip_marker_check=True): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/cloudlinux/venv/lib64/python3.11/site-packages/clcommon/lib/cledition.py", line 186, in is_cl_shared_edition edition = CLEditions.get_cl_edition( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/cloudlinux/venv/lib64/python3.11/site-packages/clcommon/lib/cledition.py", line 140, in get_cl_edition edition = cls.get_from_jwt(token=raw_jwt, verify_exp=verify_exp) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/cloudlinux/venv/lib64/python3.11/site-packages/clcommon/lib/cledition.py", line 78, in get_from_jwt raise CLEditionDetectionError(clcommon.lib.cledition.CLEditionDetectionError: Unable to detect edition from jwt token: /etc/sysconfig/rhn/jwt.token. Please, make sure it is not broken, error: Signature has expired
There is a problem getting statistics for the dashboard from online databases. Please try again later.
Environment
- CLN
Solution
- Access the server's command line as the 'root' user via SSH or "Terminal" in WHM.
-
Move the
jwt.token
out of the way.mv -v /etc/sysconfig/rhn/jwt.token{,.$(date +%s)}
-
Re-register the server: How to Register CloudLinux OS with Key-based/IP-based Licenses?
clnreg_ks --force
-
Generate another token with the
rhn_check
command.rhn_check
-
Verify that the token has been recreated.
cat /etc/sysconfig/rhn/jwt.token
Useful links
Comments
0 comments
Please sign in to leave a comment.