The streamlit app is forever loading data when accessing on public IP

Hi Streamlit Community,

I’m currently deploying my streamlit app on Windows, using steps from here:

I managed to get the app open in public IP, but know facing a new problem.

The app is basically just showing data grid from st-aggrid. It can appear normally on localhost, but not on public IP. It’s always stuck on running.

Here’s the error shown on the terminal whenever I access the app from public IP:

2022-01-06 03:44:11.873 Task exception was never retrieved
future: <Task finished name=‘Task-1264’ coro=<WebSocketProtocol13.write_message..wrapper() done, defined at C:\Users\Administrator\AppData\Local\Programs\Python\Python39\lib\site-packages\tornado\websocket.py:1100> exception=WebSocketClosedError()>
Traceback (most recent call last):
File “C:\Users\Administrator\AppData\Local\Programs\Python\Python39\lib\site-packages\tornado\websocket.py”, line 1102, in wrapper
await fut
tornado.iostream.StreamClosedError: Stream is closed

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “C:\Users\Administrator\AppData\Local\Programs\Python\Python39\lib\site-packages\tornado\websocket.py”, line 1104, in wrapper
raise WebSocketClosedError()
tornado.websocket.WebSocketClosedError

FYI, I have tried some suggestion from here, but still fails

Thanks for your help

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.