I have deployed a streamlit application in EC2 Instance and try to load it in browser using its external URL, but it goes in infinite loading and while fetch response through terminal it give something like this
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"/>
<link rel="shortcut icon" href="./favicon.png"/>
<link rel="preload" href="./static/media/SourceSansPro-Regular.0d69e5ff5e92ac64a0c9.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="./static/media/SourceSansPro-SemiBold.abed79cd0df1827e18cf.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="./static/media/SourceSansPro-Bold.118dea98980e20a81ced.woff2" as="font" type="font/woff2" crossorigin>
<title>Streamlit</title>
<script>
window.prerenderReady = !1
</script>
<script defer="defer" src="./static/js/main.33cac65c.js"></script>
<link href="./static/css/main.5513bd04.css" rel="stylesheet">
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
</body>
</html>
And also the browser console is giving some websocket error
main.33cac65c.js:19 WebSocket connection to 'ws://xx.xx.xxx.xxx/_stcore/stream' failed:
connectToWebSocket @ main.33cac65c.js:19
The port is perfectly set up with the outbound rules and everything, followed the deployment documentation of the streamlit.
Please provide solution to make it run on any browser without this
<noscript>You need to enable JavaScript to run this app.</noscript>
Error.
Can Anyone help on it,
are there steps to follow to make browser compatible with streamlit application ??
Here I have attach a Screenshot for more understanding