kmcgrady / streamlit-autorefresh

An autorefresh component for Streamlit apps
MIT License
176 stars 16 forks source link

trouble loading the streamlit_autorefresh.st_autorefresh component #1

Closed vgattani-ds closed 2 years ago

vgattani-ds commented 3 years ago

Hi Team,

I am using streamlit_autorefresh in the streamlit to auto-refresh the dashboard. The code is deployed in AWS EC2. The app is running fine, but the auto-refresh utility is not working. The displayed error is below: ''' Your app is having trouble loading the streamlit_autorefresh.st_autorefresh component.

(The app is attempting to load the component from , and hasn't received its "streamlit:componentReady" message.)

If this is a development build, have you started the dev server? If this is a release build, have you compiled the frontend? For more troubleshooting help, please see the Streamlit Component docs or visit our forums. '''

Streamlit Version: 0.88.0 Python Version: 3.8.5

DLee-AU commented 2 years ago

I am getting the same issue on AWS EC2.

Your app is having trouble loading the streamlit_autorefresh.st_autorefresh component.

(The app is attempting to load the component from **, and hasn't received its "streamlit:componentReady"** message.)

    If this is a development build, have you started the dev server?
    If this is a release build, have you compiled the frontend?

For more troubleshooting help, please see the Streamlit Component docs or visit our forums.

Works fine on my local dev deployment, but has issues on the AWS EC2 - Tried it on Amazon Linux and Ubuntu AWS EC2

Streamlit Version: 1.1.0 Python Version: 3.9.7

kmcgrady commented 2 years ago

Hey @vgattani-ds and @DLee-AU Thanks for filing the issue (I for some reason do not get notifications on this). Do you by chance have an example URL for this? The fact that it's working locally and on Streamlit Cloud suggests that there's something especially weird going on in Streamlit on AWS.