Kibana (elastic) user login backoff and redirect to login page again

I am trying to consume GitHub - elastic/kibana: Your window into the Elastic Stack (branch : v8.13.2) for adding plugins but after adding the plugin using below command :

node scripts/generate_plugin

tried to login to kibana on Chrome it is just redirecting to login page again & on Firefox browser it is showing below message,

Elastic did not load properly. Check the server output for more information.

Terminal log : [2024-04-24T11:02:15.536+05:30][INFO ][plugins.security.routes] Logging in with provider "basic" (basic)

& when I am starting the kibana from standalone installation binaries (kibana-8.13.2-darwin-x86_64) I am able to login.

Looking for help, thank you

elastic-search terminal log:

[2024-04-24T11:39:53,001][WARN ][o.e.h.AbstractHttpServerTransport] [Sunils-MacBook-Pro.local] caught exception while handling client http traffic, closing connection Netty4HttpChannel{localAddress=/[LocalIP], remoteAddress=/[LocalIP]}io.netty.handler.codec.DecoderException: javax.net.ssl.SSLHandshakeException: Received fatal alert: bad_certificate

kibana terminal log :

[2024-04-24T11:44:08.875+05:30][WARN ][http.server.Kibana] Event loop utilization for /ehv/XXXXXXXXXXXX/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js exceeded threshold of 250ms (369ms out of 530ms) and 15% (70%) 
[2024-04-24T11:44:14.844+05:30][INFO ][plugins.security.routes] Logging in with provider "basic" (basic)

Question 2 : Can we use python in place of type script ?

Example : Instead of "application.tsx" can we use "app.py" ?

Hi Team, I am able to add plugin to kibana using version 7.17.20. - Thank you