Hi Streamlit Community,
I’m currently deploying my streamlit app on Windows, using steps from here:
  
    
    
    Simplest way to deploy a streamlit app in Windows server 2012 Using Streamlit
  
  
    For those following ethan’s step and still having errors, I have some solutions that worked for me. 


I skipped IIS and used task scheduler instead 
How to deploy Streamlit on Windows IIS? - #3 by johnnybarrels 


If you’re still having error, most likely the port is closed by windows firewall. Here’s how to open it 
Streamlit not getting AWS public IP - #3 by Steve_Chen 


If you’re on AWS EC2, there’s an extra step to open the port 
App is not loading when running remotely - Streamlit Docs 


…
  


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
  
      

      docs.streamlit.io
  

  
    

App is not loading when running remotely - Streamlit Docs 3



  

  
    
    
  

  


Thanks for your help