How can I solve this error when I click on continue button?

ERROR:

router.ts:227

       POST https://erpnext-163743-0.cloudclusters.net/api/method/frappe.client.set_value 500 (Internal Server Error)

(anonymous) @ router.ts:227
(anonymous) @ index-aaa50c26.js:1
et @ index-aaa50c26.js:1
window.fetch @ router.ts:226
zb @ request.js:30
NI @ frappeRequest.js:4
(anonymous) @ main.js:18
(anonymous) @ resources.js:99
(anonymous) @ frappe-ui-3bb6309f.js:1
br @ frappe-ui-3bb6309f.js:1
s @ resources.js:53
c @ settingsStore.ts:34
(anonymous) @ pinia.mjs:1375
(anonymous) @ Setup.vue:60
(anonymous) @ Setup-a7dfd94f.js:1
$ @ Setup-a7dfd94f.js:1
_ @ Setup.vue:57
ar @ runtime-core.esm-bundler.js:193
wn @ runtime-core.esm-bundler.js:201
yx @ runtime-core.esm-bundler.js:714
(anonymous) @ SourceConnectionStep.vue:27
u @ Setup-a7dfd94f.js:1
Promise.then
r @ Setup-a7dfd94f.js:1
(anonymous) @ Setup-a7dfd94f.js:1
$ @ Setup-a7dfd94f.js:1
i @ SourceConnectionStep.vue:14
(anonymous) @ runtime-dom.esm-bundler.js:689
ar @ runtime-core.esm-bundler.js:193
wn @ runtime-core.esm-bundler.js:201
wn @ runtime-core.esm-bundler.js:211
n @ runtime-dom.esm-bundler.js:671
frappe-ui-3bb6309f.js:1 Traceback (most recent call last):
File “env/lib/python3.10/site-packages/pymysql/connections.py”, line 669, in connect
self._request_authentication()
File “env/lib/python3.10/site-packages/pymysql/connections.py”, line 899, in _request_authentication
self._sock = self.ctx.wrap_socket(self._sock, server_hostname=self.host)
File “/usr/lib/python3.10/ssl.py”, line 513, in wrap_socket
return self.sslsocket_class._create(
File “/usr/lib/python3.10/ssl.py”, line 1104, in _create
self.do_handshake()
File “/usr/lib/python3.10/ssl.py”, line 1375, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1007)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “env/lib/python3.10/site-packages/sqlalchemy/engine/base.py”, line 145, in init
self._dbapi_connection = engine.raw_connection()
File “env/lib/python3.10/site-packages/sqlalchemy/engine/base.py”, line 3292, in raw_connection
return self.pool.connect()
File “env/lib/python3.10/site-packages/sqlalchemy/pool/base.py”, line 452, in connect
return _ConnectionFairy._checkout(self)
File “env/lib/python3.10/site-packages/sqlalchemy/pool/base.py”, line 1269, in _checkout
fairy = _ConnectionRecord.checkout(pool)
File “env/lib/python3.10/site-packages/sqlalchemy/pool/base.py”, line 716, in checkout
rec = pool._do_get()
File “env/lib/python3.10/site-packages/sqlalchemy/pool/impl.py”, line 284, in _do_get
return self._create_connection()
File “env/lib/python3.10/site-packages/sqlalchemy/pool/base.py”, line 393, in _create_connection
return _ConnectionRecord(self)
File “env/lib/python3.10/site-packages/sqlalchemy/pool/base.py”, line 678, in init
self.__connect()
File “env/lib/python3.10/site-packages/sqlalchemy/pool/base.py”, line 902, in __connect
with util.safe_reraise():
File “env/lib/python3.10/site-packages/sqlalchemy/util/langhelpers.py”, line 146, in exit
raise exc_value.with_traceback(exc_tb)
File “env/lib/python3.10/site-packages/sqlalchemy/pool/base.py”, line 898, in __connect
self.dbapi_connection = connection = pool._invoke_creator(self)
File “env/lib/python3.10/site-packages/sqlalchemy/engine/create.py”, line 637, in connect
return dialect.connect(*cargs, **cparams)
File “env/lib/python3.10/site-packages/sqlalchemy/engine/default.py”, line 616, in connect
return self.loaded_dbapi.connect(*cargs, **cparams)
File “env/lib/python3.10/site-packages/pymysql/connections.py”, line 361, in init
self.connect()
File “env/lib/python3.10/site-packages/pymysql/connections.py”, line 716, in connect
raise exc
pymysql.err.OperationalError: (2003, “Can’t connect to MySQL server on ‘127.0.0.1’ ([SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1007))”)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File “apps/frappe/frappe/app.py”, line 115, in application
response = frappe.api.handle(request)
File “apps/frappe/frappe/api/init.py”, line 49, in handle
data = endpoint(**arguments)
File “apps/frappe/frappe/api/v1.py”, line 36, in handle_rpc_call
return frappe.handler.handle()
File “apps/frappe/frappe/handler.py”, line 51, in handle
data = execute_cmd(cmd)
File “apps/frappe/frappe/handler.py”, line 84, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File “apps/frappe/frappe/init.py”, line 1736, in call
return fn(*args, **newargs)
File “apps/frappe/frappe/utils/typing_validations.py”, line 31, in wrapper
return func(*args, **kwargs)
File “apps/frappe/frappe/client.py”, line 188, in set_value
doc.save()
File “apps/frappe/frappe/model/document.py”, line 378, in save
return self._save(*args, **kwargs)
File “apps/frappe/frappe/model/document.py”, line 414, in _save
self.run_before_save_methods()
File “apps/frappe/frappe/model/document.py”, line 1137, in run_before_save_methods
self.run_method(“before_save”)
File “apps/frappe/frappe/model/document.py”, line 1007, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File “apps/frappe/frappe/model/document.py”, line 1367, in composer
return composed(self, method, *args, **kwargs)
File “apps/frappe/frappe/model/document.py”, line 1349, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File “apps/frappe/frappe/model/document.py”, line 1004, in fn
return method_object(*args, **kwargs)
File “apps/insights/insights/insights/doctype/insights_settings/insights_settings.py”, line 14, in before_save
sync_site_tables()
File “apps/insights/insights/insights/doctype/insights_settings/insights_settings.py”, line 47, in sync_site_tables
doc.enqueue_sync_tables()
File “apps/frappe/frappe/utils/typing_validations.py”, line 31, in wrapper
return func(*args, **kwargs)
File “apps/insights/insights/insights/doctype/insights_data_source/insights_data_source.py”, line 124, in enqueue_sync_tables
frappe.enqueue_doc(
File “apps/frappe/frappe/init.py”, line 2254, in enqueue_doc
return frappe.utils.background_jobs.enqueue_doc(*args, **kwargs)
File “apps/frappe/frappe/utils/background_jobs.py”, line 174, in enqueue_doc
return enqueue(
File “apps/frappe/frappe/utils/background_jobs.py”, line 119, in enqueue
return frappe.call(method, **kwargs)
File “apps/frappe/frappe/init.py”, line 1736, in call
return fn(*args, **newargs)
File “apps/frappe/frappe/utils/background_jobs.py”, line 187, in run_doc_method
getattr(frappe.get_doc(doctype, name), doc_method)(**kwargs)
File “apps/insights/insights/insights/doctype/insights_data_source/insights_data_source.py”, line 246, in sync_tables
self._db.sync_tables(tables=tables, force=force)
File “apps/insights/insights/insights/doctype/insights_data_source/sources/frappe_db.py”, line 236, in sync_tables
with self.engine.begin() as connection:
File “/usr/lib/python3.10/contextlib.py”, line 135, in enter
return next(self.gen)
File “env/lib/python3.10/site-packages/sqlalchemy/engine/base.py”, line 3232, in begin
with self.connect() as conn:
File “env/lib/python3.10/site-packages/sqlalchemy/engine/base.py”, line 3268, in connect
return self._connection_cls(self)
File “env/lib/python3.10/site-packages/sqlalchemy/engine/base.py”, line 147, in init
Connection._handle_dbapi_exception_noconnection(
File “env/lib/python3.10/site-packages/sqlalchemy/engine/base.py”, line 2430, in _handle_dbapi_exception_noconnection
raise sqlalchemy_exception.with_traceback(exc_info[2]) from e
File “env/lib/python3.10/site-packages/sqlalchemy/engine/base.py”, line 145, in init
self._dbapi_connection = engine.raw_connection()
File “env/lib/python3.10/site-packages/sqlalchemy/engine/base.py”, line 3292, in raw_connection
return self.pool.connect()
File “env/lib/python3.10/site-packages/sqlalchemy/pool/base.py”, line 452, in connect
return _ConnectionFairy._checkout(self)
File “env/lib/python3.10/site-packages/sqlalchemy/pool/base.py”, line 1269, in _checkout
fairy = _ConnectionRecord.checkout(pool)
File “env/lib/python3.10/site-packages/sqlalchemy/pool/base.py”, line 716, in checkout
rec = pool._do_get()
File “env/lib/python3.10/site-packages/sqlalchemy/pool/impl.py”, line 284, in _do_get
return self._create_connection()
File “env/lib/python3.10/site-packages/sqlalchemy/pool/base.py”, line 393, in _create_connection
return _ConnectionRecord(self)
File “env/lib/python3.10/site-packages/sqlalchemy/pool/base.py”, line 678, in init
self.__connect()
File “env/lib/python3.10/site-packages/sqlalchemy/pool/base.py”, line 902, in __connect
with util.safe_reraise():
File “env/lib/python3.10/site-packages/sqlalchemy/util/langhelpers.py”, line 146, in exit
raise exc_value.with_traceback(exc_tb)
File “env/lib/python3.10/site-packages/sqlalchemy/pool/base.py”, line 898, in __connect
self.dbapi_connection = connection = pool._invoke_creator(self)
File “env/lib/python3.10/site-packages/sqlalchemy/engine/create.py”, line 637, in connect
return dialect.connect(*cargs, **cparams)
File “env/lib/python3.10/site-packages/sqlalchemy/engine/default.py”, line 616, in connect
return self.loaded_dbapi.connect(*cargs, **cparams)
File “env/lib/python3.10/site-packages/pymysql/connections.py”, line 361, in init
self.connect()
File “env/lib/python3.10/site-packages/pymysql/connections.py”, line 716, in connect
raise exc
sqlalchemy.exc.OperationalError: (pymysql.err.OperationalError) (2003, “Can’t connect to MySQL server on ‘127.0.0.1’ ([SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1007))”)
(Background on this error at: Error Messages — SQLAlchemy 2.0 Documentation)

SourceConnectionStep.vue:27 Error: /api/method/frappe.client.set_value OperationalError
at frappeRequest.js:71:17
at Generator.next ()
at s (frappe-ui-3bb6309f.js:1:668)
hx @ runtime-core.esm-bundler.js:261
us @ runtime-core.esm-bundler.js:243
(anonymous) @ runtime-core.esm-bundler.js:204
Promise.catch
wn @ runtime-core.esm-bundler.js:203
yx @ runtime-core.esm-bundler.js:714
(anonymous) @ SourceConnectionStep.vue:27
u @ Setup-a7dfd94f.js:1
Promise.then
r @ Setup-a7dfd94f.js:1
(anonymous) @ Setup-a7dfd94f.js:1
$ @ Setup-a7dfd94f.js:1
i @ SourceConnectionStep.vue:14
(anonymous) @ runtime-dom.esm-bundler.js:689
ar @ runtime-core.esm-bundler.js:193
wn @ runtime-core.esm-bundler.js:201
wn @ runtime-core.esm-bundler.js:211
n @ runtime-dom.esm-bundler.js:671

hi
this looks like SSL configuration error, can you provide more details please