I get an error when I enter the login page.
[erp.bcekaucuk.com/login](Login Page)
Traceback (most recent call last):
File "env/lib/python3.10/site-packages/cryptography/fernet.py", line 130, in _verify_signature
h.verify(data[-32:])
cryptography.exceptions.InvalidSignature: Signature did not match digest.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "apps/frappe/frappe/utils/password.py", line 194, in decrypt
return cstr(cipher_suite.decrypt(encode(txt)))
File "env/lib/python3.10/site-packages/cryptography/fernet.py", line 89, in decrypt
return self._decrypt_data(data, timestamp, time_info)
File "env/lib/python3.10/site-packages/cryptography/fernet.py", line 148, in _decrypt_data
self._verify_signature(data)
File "env/lib/python3.10/site-packages/cryptography/fernet.py", line 132, in _verify_signature
raise InvalidToken
cryptography.fernet.InvalidToken
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "apps/frappe/frappe/website/serve.py", line 20, in get_response
response = renderer_instance.render()
File "apps/frappe/frappe/website/page_renderers/template_page.py", line 84, in render
html = self.get_html()
File "apps/frappe/frappe/website/utils.py", line 523, in cache_html_decorator
html = func(*args, **kwargs)
File "apps/frappe/frappe/website/page_renderers/template_page.py", line 95, in get_html
self.update_context()
File "apps/frappe/frappe/website/page_renderers/template_page.py", line 163, in update_context
data = self.run_pymodule_method("get_context")
File "apps/frappe/frappe/website/page_renderers/template_page.py", line 223, in run_pymodule_method
return method(self.context)
File "apps/frappe/frappe/www/login.py", line 70, in get_context
client_secret = get_decrypted_password("Social Login Key", provider.name, "client_secret")
File "apps/frappe/frappe/utils/password.py", line 38, in get_decrypted_password
return decrypt(result[0][0])
File "apps/frappe/frappe/utils/password.py", line 197, in decrypt
frappe.throw(
File "apps/frappe/frappe/__init__.py", line 645, in throw
msgprint(
File "apps/frappe/frappe/__init__.py", line 610, in msgprint
_raise_exception()
File "apps/frappe/frappe/__init__.py", line 561, in _raise_exception
raise exc
frappe.exceptions.ValidationError: Encryption key is invalid! Please check site_config.json<br>If you have recently restored the site you may need to copy the site config contaning original Encryption Key.<br>Please visit https://frappecloud.com/docs/sites/migrate-an-existing-site#encryption-key for more information.