Getting error : "Get http://localhost:8501/healthz: read tcp 10.12.1.11:44228->10.12.1.11:8501: read: connection reset by peer"

Summary

While trying to use my deployed app, I get the error in the title. The app works perfectly locally.

Steps to reproduce

Using the app

Expected behavior:

Changing slider values should run back end functions and update the graph

Actual behavior:

While trying to change slider values I get the

[16:01:24] ❗️ The service has encountered an error while checking the health of the Streamlit app: Get http://localhost:8501/healthz: read tcp 10.12.1.11:44228->10.12.1.11:8501: read: connection reset by peer

error in the console

Debug info

  • Streamlit version: 1.20
  • Python version: 3.10.9
  • Using pip

Requirements file

pandas==1.5.2
tqdm==4.64.0
seaborn==0.11.2
statsmodels==0.13.2
jupyter==1.0.0
plotly==5.13.1
streamlit==1.20.0
gcsfs==2023.3.0 

Links

Well I read this was probably a ressource limit issue
I moved the data to a database and optimize a bit the queries and the problem was fixed

Thread may be closed

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