St.download_button fails in kubernetes with two pods


I have streamlit deployed in kubernetes with across two pods. In a session, download_button creates a file then downloads said file.

Clicking the download button the first time works.

Clicking the download button the second time fails, and after 10-15 seconds refreshing the window that opens after clicking the download button results in the download moving forward.

1 Like

I am also seeing this issue with streamlit application if the application is deployed on k8s multiple pods. Please help resolve this issue.