The service has encountered an error while checking the health of the Streamlit app: EOF

Hi! I am trying to deploy my app on streamlit.
Locally my app is worring. But while deploying on streamlit I have the following error:

:exclamation: The service has encountered an error while checking the health of the Streamlit app: Get “http://localhost:8501/script-health-check”: EOF

  • Here is my git: git-app
  • Link to my streamlit app: streamlit-app
  • Streamlit version: 1.32.2
  • Python version: 3.12.2

Any help is appreciated.
Thank you.

Welcome to the community, @nitishka! We’re thrilled to have you join us! :hugs:

The error message you’re seeing, “The service has encountered an error while checking the health of the Streamlit app: Get ‘http://localhost:8501/script-health-check’: EOF,” typically indicates a problem with the Streamlit app that prevents it from starting up properly on Streamlit Cloud.

This can be due to a variety of reasons, but first, I would suggest you check these 2 things:

  • First, can you check that you’re not missing any dependencies in the requirements.txt file and that all dependencies listed are compatible?
  • Second, you should also ensure that any external files (like from Google Drive) your app uses are publicly accessible, and the URLs are correct?

Also, have you managed to make your app work locally?

Best,
Charly

Hello,
Thank you very much for your response.

  1. I have added a requirements.txt file that includes the versions I use locally:
    matplotlib==3.8.0
    numpy==1.26.4
    pandas==2.2.1
    plotly==5.19.0
    scikit-learn==1.3.0
    seaborn==0.13.2
    streamlit==1.32.2
  2. The external links (from google drive) are publicly accessible.
  3. My app works correctly locally.

Unfortunately, I haven’t been able to find a solution. :frowning:

Best regards,
Natalia

Thanks, @nitishka.

Can you try to delete your app from Streamlit Cloud and redeploy to see whether that solves the issue?

It would also be useful to get the full error log trace to better diagnose this.

Best,
Charly

I deleted the app and redeployed it, but the issue still remains.

Full Log :

[     UTC     ] Logs for appfi-project-lbdtxzycff2kytcsjurg2j.streamlit.app/
────────────────────────────────────────────────────────────────────────────────────────
[09:06:02] 🖥 Provisioning machine...
[09:06:02] 🎛 Preparing system...
[09:06:02] ⛓ Spinning up manager process...
[09:06:07] 🚀 Starting up repository: 'streamlit_fi-project', branch: 'main', main module: 'streamlit_app.py'
[09:06:07] 🐙 Cloning repository...
[09:06:09] 🐙 Cloning into '/mount/src/streamlit_fi-project'...
Warning: Permanently added the ED25519 host key for IP address '140.82.113.3' to the list of known hosts.

[09:06:09] 🐙 Cloned repository!
[09:06:09] 🐙 Pulling code changes from Github...
[09:06:10] 📦 Processing dependencies...

──────────────────────────────────────── pip ───────────────────────────────────────────

Collecting matplotlib==3.8.0 (from -r /mount/src/streamlit_fi-project/requirements.txt (line 1))
  Downloading matplotlib-3.8.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.8 kB)
Collecting numpy==1.26.4 (from -r /mount/src/streamlit_fi-project/requirements.txt (line 2))
  Downloading numpy-1.26.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (61 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.0/61.0 kB 6.5 MB/s eta 0:00:00[2024-04-03 09:06:12.033136] 
Collecting pandas==2.2.1 (from -r /mount/src/streamlit_fi-project/requirements.txt (line 3))
  Downloading pandas-2.2.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (19 kB)
Collecting plotly==5.19.0 (from -r /mount/src/streamlit_fi-project/requirements.txt (line 4))
  Downloading plotly-5.19.0-py3-none-any.whl.metadata (7.0 kB)
Collecting scikit-learn==1.3.0 (from -r /mount/src/streamlit_fi-project/requirements.txt (line 5))
  Downloading scikit-learn-1.3.0.tar.gz (7.5 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.5/7.5 MB 121.7 MB/s eta 0:00:00[2024-04-03 09:06:12.671925] 
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): still running...
  Preparing metadata (pyproject.toml): finished with status 'done'
Collecting seaborn==0.13.2 (from -r /mount/src/streamlit_fi-project/requirements.txt (line 6))
  Downloading seaborn-0.13.2-py3-none-any.whl.metadata (5.4 kB)
Collecting streamlit==1.32.2 (from -r /mount/src/streamlit_fi-project/requirements.txt (line 7))
  Downloading streamlit-1.32.2-py2.py3-none-any.whl.metadata (8.5 kB)
Collecting contourpy>=1.0.1 (from matplotlib==3.8.0->-r /mount/src/streamlit_fi-project/requirements.txt (line 1))
  Downloading contourpy-1.2.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.8 kB)
Collecting cycler>=0.10 (from matplotlib==3.8.0->-r /mount/src/streamlit_fi-project/requirements.txt (line 1))
  Downloading cycler-0.12.1-py3-none-any.whl.metadata (3.8 kB)
Collecting fonttools>=4.22.0 (from matplotlib==3.8.0->-r /mount/src/streamlit_fi-project/requirements.txt (line 1))
  Downloading fonttools-4.50.0-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (159 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 159.4/159.4 kB 140.9 MB/s eta 0:00:00[2024-04-03 09:08:17.411293] 
Collecting kiwisolver>=1.0.1 (from matplotlib==3.8.0->-r /mount/src/streamlit_fi-project/requirements.txt (line 1))
  Downloading kiwisolver-1.4.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.4 kB)
Collecting packaging>=20.0 (from matplotlib==3.8.0->-r /mount/src/streamlit_fi-project/requirements.txt (line 1))
  Downloading packaging-24.0-py3-none-any.whl.metadata (3.2 kB)
Collecting pillow>=6.2.0 (from matplotlib==3.8.0->-r /mount/src/streamlit_fi-project/requirements.txt (line 1))
  Downloading pillow-10.3.0-cp312-cp312-manylinux_2_28_x86_64.whl.metadata (9.2 kB)
Collecting pyparsing>=2.3.1 (from matplotlib==3.8.0->-r /mount/src/streamlit_fi-project/requirements.txt (line 1))
  Downloading pyparsing-3.1.2-py3-none-any.whl.metadata (5.1 kB)
Collecting python-dateutil>=2.7 (from matplotlib==3.8.0->-r /mount/src/streamlit_fi-project/requirements.txt (line 1))
  Downloading python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB)
Collecting pytz>=2020.1 (from pandas==2.2.1->-r /mount/src/streamlit_fi-project/requirements.txt (line 3))
  Downloading pytz-2024.1-py2.py3-none-any.whl.metadata (22 kB)
Collecting tzdata>=2022.7 (from pandas==2.2.1->-r /mount/src/streamlit_fi-project/requirements.txt (line 3))
  Downloading tzdata-2024.1-py2.py3-none-any.whl.metadata (1.4 kB)
Collecting tenacity>=6.2.0 (from plotly==5.19.0->-r /mount/src/streamlit_fi-project/requirements.txt (line 4))
  Downloading tenacity-8.2.3-py3-none-any.whl.metadata (1.0 kB)
Collecting scipy>=1.5.0 (from scikit-learn==1.3.0->-r /mount/src/streamlit_fi-project/requirements.txt (line 5))
  Downloading scipy-1.13.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (60 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.6/60.6 kB 235.5 MB/s eta 0:00:00[2024-04-03 09:08:18.521161] 
Collecting joblib>=1.1.1 (from scikit-learn==1.3.0->-r /mount/src/streamlit_fi-project/requirements.txt (line 5))
  Downloading joblib-1.3.2-py3-none-any.whl.metadata (5.4 kB)
Collecting threadpoolctl>=2.0.0 (from scikit-learn==1.3.0->-r /mount/src/streamlit_fi-project/requirements.txt (line 5))
  Downloading threadpoolctl-3.4.0-py3-none-any.whl.metadata (13 kB)
Collecting altair<6,>=4.0 (from streamlit==1.32.2->-r /mount/src/streamlit_fi-project/requirements.txt (line 7))
  Downloading altair-5.3.0-py3-none-any.whl.metadata (9.2 kB)
Collecting blinker<2,>=1.0.0 (from streamlit==1.32.2->-r /mount/src/streamlit_fi-project/requirements.txt (line 7))
  Downloading blinker-1.7.0-py3-none-any.whl.metadata (1.9 kB)
Collecting cachetools<6,>=4.0 (from streamlit==1.32.2->-r /mount/src/streamlit_fi-project/requirements.txt (line 7))
  Downloading cachetools-5.3.3-py3-none-any.whl.metadata (5.3 kB)
Collecting click<9,>=7.0 (from streamlit==1.32.2->-r /mount/src/streamlit_fi-project/requirements.txt (line 7))
  Downloading click-8.1.7-py3-none-any.whl.metadata (3.0 kB)
Collecting packaging>=20.0 (from matplotlib==3.8.0->-r /mount/src/streamlit_fi-project/requirements.txt (line 1))
  Downloading packaging-23.2-py3-none-any.whl.metadata (3.2 kB)
Collecting protobuf<5,>=3.20 (from streamlit==1.32.2->-r /mount/src/streamlit_fi-project/requirements.txt (line 7))
  Downloading protobuf-4.25.3-cp37-abi3-manylinux2014_x86_64.whl.metadata (541 bytes)
Collecting pyarrow>=7.0 (from streamlit==1.32.2->-r /mount/src/streamlit_fi-project/requirements.txt (line 7))
  Downloading pyarrow-15.0.2-cp312-cp312-manylinux_2_28_x86_64.whl.metadata (3.0 kB)
Collecting requests<3,>=2.27 (from streamlit==1.32.2->-r /mount/src/streamlit_fi-project/requirements.txt (line 7))
  Downloading requests-2.31.0-py3-none-any.whl.metadata (4.6 kB)
Collecting rich<14,>=10.14.0 (from streamlit==1.32.2->-r /mount/src/streamlit_fi-project/requirements.txt (line 7))
  Downloading rich-13.7.1-py3-none-any.whl.metadata (18 kB)
Collecting toml<2,>=0.10.1 (from streamlit==1.32.2->-r /mount/src/streamlit_fi-project/requirements.txt (line 7))
  Downloading toml-0.10.2-py2.py3-none-any.whl.metadata (7.1 kB)
Collecting typing-extensions<5,>=4.3.0 (from streamlit==1.32.2->-r /mount/src/streamlit_fi-project/requirements.txt (line 7))
  Downloading typing_extensions-4.10.0-py3-none-any.whl.metadata (3.0 kB)
Collecting gitpython!=3.1.19,<4,>=3.0.7 (from streamlit==1.32.2->-r /mount/src/streamlit_fi-project/requirements.txt (line 7))
  Downloading GitPython-3.1.43-py3-none-any.whl.metadata (13 kB)
Collecting pydeck<1,>=0.8.0b4 (from streamlit==1.32.2->-r /mount/src/streamlit_fi-project/requirements.txt (line 7))
  Downloading pydeck-0.8.1b0-py2.py3-none-any.whl.metadata (3.9 kB)
Collecting tornado<7,>=6.0.3 (from streamlit==1.32.2->-r /mount/src/streamlit_fi-project/requirements.txt (line 7))
  Downloading tornado-6.4-cp38-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.5 kB)
Collecting watchdog>=2.1.5 (from streamlit==1.32.2->-r /mount/src/streamlit_fi-project/requirements.txt (line 7))
  Downloading watchdog-4.0.0-py3-none-manylinux2014_x86_64.whl.metadata (37 kB)
Collecting jinja2 (from altair<6,>=4.0->streamlit==1.32.2->-r /mount/src/streamlit_fi-project/requirements.txt (line 7))
  Downloading Jinja2-3.1.3-py3-none-any.whl.metadata (3.3 kB)
Collecting jsonschema>=3.0 (from altair<6,>=4.0->streamlit==1.32.2->-r /mount/src/streamlit_fi-project/requirements.txt (line 7))
  Downloading jsonschema-4.21.1-py3-none-any.whl.metadata (7.8 kB)
Collecting toolz (from altair<6,>=4.0->streamlit==1.32.2->-r /mount/src/streamlit_fi-project/requirements.txt (line 7))
  Downloading toolz-0.12.1-py3-none-any.whl.metadata (5.1 kB)
Collecting gitdb<5,>=4.0.1 (from gitpython!=3.1.19,<4,>=3.0.7->streamlit==1.32.2->-r /mount/src/streamlit_fi-project/requirements.txt (line 7))
  Downloading gitdb-4.0.11-py3-none-any.whl.metadata (1.2 kB)
Collecting six>=1.5 (from python-dateutil>=2.7->matplotlib==3.8.0->-r /mount/src/streamlit_fi-project/requirements.txt (line 1))
  Downloading six-1.16.0-py2.py3-none-any.whl.metadata (1.8 kB)
Collecting charset-normalizer<4,>=2 (from requests<3,>=2.27->streamlit==1.32.2->-r /mount/src/streamlit_fi-project/requirements.txt (line 7))
  Downloading charset_normalizer-3.3.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (33 kB)
Collecting idna<4,>=2.5 (from requests<3,>=2.27->streamlit==1.32.2->-r /mount/src/streamlit_fi-project/requirements.txt (line 7))
  Downloading idna-3.6-py3-none-any.whl.metadata (9.9 kB)
Collecting urllib3<3,>=1.21.1 (from requests<3,>=2.27->streamlit==1.32.2->-r /mount/src/streamlit_fi-project/requirements.txt (line 7))
  Downloading urllib3-2.2.1-py3-none-any.whl.metadata (6.4 kB)
Collecting certifi>=2017.4.17 (from requests<3,>=2.27->streamlit==1.32.2->-r /mount/src/streamlit_fi-project/requirements.txt (line 7))
  Downloading certifi-2024.2.2-py3-none-any.whl.metadata (2.2 kB)
Collecting markdown-it-py>=2.2.0 (from rich<14,>=10.14.0->streamlit==1.32.2->-r /mount/src/streamlit_fi-project/requirements.txt (line 7))
  Downloading markdown_it_py-3.0.0-py3-none-any.whl.metadata (6.9 kB)
Collecting pygments<3.0.0,>=2.13.0 (from rich<14,>=10.14.0->streamlit==1.32.2->-r /mount/src/streamlit_fi-project/requirements.txt (line 7))
  Downloading pygments-2.17.2-py3-none-any.whl.metadata (2.6 kB)
Collecting smmap<6,>=3.0.1 (from gitdb<5,>=4.0.1->gitpython!=3.1.19,<4,>=3.0.7->streamlit==1.32.2->-r /mount/src/streamlit_fi-project/requirements.txt (line 7))
  Downloading smmap-5.0.1-py3-none-any.whl.metadata (4.3 kB)
Collecting MarkupSafe>=2.0 (from jinja2->altair<6,>=4.0->streamlit==1.32.2->-r /mount/src/streamlit_fi-project/requirements.txt (line 7))
  Downloading MarkupSafe-2.1.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.0 kB)
Collecting attrs>=22.2.0 (from jsonschema>=3.0->altair<6,>=4.0->streamlit==1.32.2->-r /mount/src/streamlit_fi-project/requirements.txt (line 7))
  Downloading attrs-23.2.0-py3-none-any.whl.metadata (9.5 kB)
Collecting jsonschema-specifications>=2023.03.6 (from jsonschema>=3.0->altair<6,>=4.0->streamlit==1.32.2->-r /mount/src/streamlit_fi-project/requirements.txt (line 7))
  Downloading jsonschema_specifications-2023.12.1-py3-none-any.whl.metadata (3.0 kB)
Collecting referencing>=0.28.4 (from jsonschema>=3.0->altair<6,>=4.0->streamlit==1.32.2->-r /mount/src/streamlit_fi-project/requirements.txt (line 7))
  Downloading referencing-0.34.0-py3-none-any.whl.metadata (2.8 kB)
Collecting rpds-py>=0.7.1 (from jsonschema>=3.0->altair<6,>=4.0->streamlit==1.32.2->-r /mount/src/streamlit_fi-project/requirements.txt (line 7))
  Downloading rpds_py-0.18.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.1 kB)
Collecting mdurl~=0.1 (from markdown-it-py>=2.2.0->rich<14,>=10.14.0->streamlit==1.32.2->-r /mount/src/streamlit_fi-project/requirements.txt (line 7))
  Downloading mdurl-0.1.2-py3-none-any.whl.metadata (1.6 kB)
Downloading matplotlib-3.8.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.6 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.6/11.6 MB 207.2 MB/s eta 0:00:00[2024-04-03 09:08:21.778317] 
Downloading numpy-1.26.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (18.0 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 18.0/18.0 MB 222.9 MB/s eta 0:00:00[2024-04-03 09:08:21.874130] 
Downloading pandas-2.2.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.7 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 12.7/12.7 MB 224.4 MB/s eta 0:00:00[2024-04-03 09:08:21.946095] 
Downloading plotly-5.19.0-py3-none-any.whl (15.7 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 15.7/15.7 MB 222.4 MB/s eta 0:00:00[2024-04-03 09:08:22.031313] 
Downloading seaborn-0.13.2-py3-none-any.whl (294 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 294.9/294.9 kB 166.7 MB/s eta 0:00:00[2024-04-03 09:08:22.047215] 
Downloading streamlit-1.32.2-py2.py3-none-any.whl (8.1 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.1/8.1 MB 203.0 MB/s eta 0:00:00[2024-04-03 09:08:22.104405] 
Downloading altair-5.3.0-py3-none-any.whl (857 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 857.8/857.8 kB 283.0 MB/s eta 0:00:00[2024-04-03 09:08:22.121687] 
Downloading blinker-1.7.0-py3-none-any.whl (13 kB)
Downloading cachetools-5.3.3-py3-none-any.whl (9.3 kB)
Downloading click-8.1.7-py3-none-any.whl (97 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 97.9/97.9 kB 242.7 MB/s eta 0:00:00[2024-04-03 09:08:22.152722] 
Downloading contourpy-1.2.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (309 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 309.2/309.2 kB 239.6 MB/s eta 0:00:00[2024-04-03 09:08:22.169587] 
Downloading cycler-0.12.1-py3-none-any.whl (8.3 kB)
Downloading fonttools-4.50.0-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.9 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.9/4.9 MB 285.4 MB/s eta 0:00:00[2024-04-03 09:08:22.210455] 
Downloading GitPython-3.1.43-py3-none-any.whl (207 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 207.3/207.3 kB 173.4 MB/s eta 0:00:00[2024-04-03 09:08:22.224851] 
Downloading joblib-1.3.2-py3-none-any.whl (302 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 302.2/302.2 kB 173.4 MB/s eta 0:00:00[2024-04-03 09:08:22.246295] 
Downloading kiwisolver-1.4.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.5 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.5/1.5 MB 169.0 MB/s eta 0:00:00[2024-04-03 09:08:22.272747] 
Downloading packaging-23.2-py3-none-any.whl (53 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 53.0/53.0 kB 145.6 MB/s eta 0:00:00[2024-04-03 09:08:22.285862] 
Downloading pillow-10.3.0-cp312-cp312-manylinux_2_28_x86_64.whl (4.5 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.5/4.5 MB 163.2 MB/s eta 0:00:00[2024-04-03 09:08:22.329086] 
Downloading protobuf-4.25.3-cp37-abi3-manylinux2014_x86_64.whl (294 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 294.6/294.6 kB 171.7 MB/s eta 0:00:00[2024-04-03 09:08:22.344349] 
Downloading pyarrow-15.0.2-cp312-cp312-manylinux_2_28_x86_64.whl (38.3 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 38.3/38.3 MB 278.9 MB/s eta 0:00:00[2024-04-03 09:08:22.519013] 
Downloading pydeck-0.8.1b0-py2.py3-none-any.whl (4.8 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.8/4.8 MB 293.2 MB/s eta 0:00:00[2024-04-03 09:08:22.550518] 
Downloading pyparsing-3.1.2-py3-none-any.whl (103 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 103.2/103.2 kB 173.4 MB/s eta 0:00:00[2024-04-03 09:08:22.564013] 
Downloading python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 229.9/229.9 kB 272.8 MB/s eta 0:00:00[2024-04-03 09:08:22.577421] 
Downloading pytz-2024.1-py2.py3-none-any.whl (505 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 505.5/505.5 kB 304.9 MB/s eta 0:00:00[2024-04-03 09:08:22.591024] 
Downloading requests-2.31.0-py3-none-any.whl (62 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.6/62.6 kB 248.0 MB/s eta 0:00:00[2024-04-03 09:08:22.601834] 
Downloading rich-13.7.1-py3-none-any.whl (240 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 240.7/240.7 kB 200.2 MB/s eta 0:00:00[2024-04-03 09:08:22.617013] 
Downloading scipy-1.13.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (38.2 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 38.2/38.2 MB 152.8 MB/s eta 0:00:00[2024-04-03 09:08:22.889669] 
Downloading tenacity-8.2.3-py3-none-any.whl (24 kB)
Downloading threadpoolctl-3.4.0-py3-none-any.whl (17 kB)
Downloading toml-0.10.2-py2.py3-none-any.whl (16 kB)
Downloading tornado-6.4-cp38-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (435 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 435.4/435.4 kB 130.3 MB/s eta 0:00:00[2024-04-03 09:08:22.939513] 
Downloading typing_extensions-4.10.0-py3-none-any.whl (33 kB)
Downloading tzdata-2024.1-py2.py3-none-any.whl (345 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 345.4/345.4 kB 173.8 MB/s eta 0:00:00[2024-04-03 09:08:22.966321] 
Downloading watchdog-4.0.0-py3-none-manylinux2014_x86_64.whl (82 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 83.0/83.0 kB 157.9 MB/s eta 0:00:00[2024-04-03 09:08:22.980562] 
Downloading certifi-2024.2.2-py3-none-any.whl (163 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 163.8/163.8 kB 178.1 MB/s eta 0:00:00[2024-04-03 09:08:22.995903] 
Downloading charset_normalizer-3.3.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (141 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 141.9/141.9 kB 180.2 MB/s eta 0:00:00[2024-04-03 09:08:23.011138] 
Downloading gitdb-4.0.11-py3-none-any.whl (62 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.7/62.7 kB 236.0 MB/s eta 0:00:00[2024-04-03 09:08:23.023140] 
Downloading idna-3.6-py3-none-any.whl (61 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.6/61.6 kB 91.0 MB/s eta 0:00:00[2024-04-03 09:08:23.035434] 
Downloading Jinja2-3.1.3-py3-none-any.whl (133 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.2/133.2 kB 233.8 MB/s eta 0:00:00[2024-04-03 09:08:23.047924] 
Downloading jsonschema-4.21.1-py3-none-any.whl (85 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 85.5/85.5 kB 270.3 MB/s eta 0:00:00[2024-04-03 09:08:23.059873] 
Downloading markdown_it_py-3.0.0-py3-none-any.whl (87 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 87.5/87.5 kB 271.6 MB/s eta 0:00:00[2024-04-03 09:08:23.071913] 
Downloading pygments-2.17.2-py3-none-any.whl (1.2 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 238.5 MB/s eta 0:00:00[2024-04-03 09:08:23.088053] 
Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Downloading urllib3-2.2.1-py3-none-any.whl (121 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 121.1/121.1 kB 291.7 MB/s eta 0:00:00[2024-04-03 09:08:23.109052] 
Downloading toolz-0.12.1-py3-none-any.whl (56 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.1/56.1 kB 144.4 MB/s eta 0:00:00[2024-04-03 09:08:23.122100] 
Downloading attrs-23.2.0-py3-none-any.whl (60 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.8/60.8 kB 130.0 MB/s eta 0:00:00[2024-04-03 09:08:23.136084] 
Downloading jsonschema_specifications-2023.12.1-py3-none-any.whl (18 kB)
Downloading MarkupSafe-2.1.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (28 kB)
Downloading mdurl-0.1.2-py3-none-any.whl (10.0 kB)
Downloading referencing-0.34.0-py3-none-any.whl (26 kB)
Downloading rpds_py-0.18.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 165.4 MB/s eta 0:00:00[2024-04-03 09:08:23.199052] 
Downloading smmap-5.0.1-py3-none-any.whl (24 kB)
Building wheels for collected packages: scikit-learn
  Building wheel for scikit-learn (pyproject.toml): started
  Building wheel for scikit-learn (pyproject.toml): still running...
  Building wheel for scikit-learn (pyproject.toml): still running...
  Building wheel for scikit-learn (pyproject.toml): still running...
  Building wheel for scikit-learn (pyproject.toml): still running...
  Building wheel for scikit-learn (pyproject.toml): still running...
  Building wheel for scikit-learn (pyproject.toml): still running...
  Building wheel for scikit-learn (pyproject.toml): finished with status 'done'
  Created wheel for scikit-learn: filename=scikit_learn-1.3.0-cp312-cp312-linux_x86_64.whl size=11939716 sha256=90643e3e378a659ddbd48b778eca3b568c9387ff08da22ae71402f92a44b7552
  Stored in directory: /tmp/pip-ephem-wheel-cache-4e2fz2l2/wheels/dc/e7/56/cae51184980f4c0f7bc63c40ccecad85060b79f19452e19b14
Successfully built scikit-learn
Installing collected packages: pytz, watchdog, urllib3, tzdata, typing-extensions, tornado, toolz, toml, threadpoolctl, tenacity, smmap, six, rpds-py, pyparsing, pygments, protobuf, pillow, packaging, numpy, mdurl, MarkupSafe, kiwisolver, joblib, idna, fonttools, cycler, click, charset-normalizer, certifi, cachetools, blinker, attrs, scipy, requests, referencing, python-dateutil, pyarrow, plotly, markdown-it-py, jinja2, gitdb, contourpy, scikit-learn, rich, pydeck, pandas, matplotlib, jsonschema-specifications, gitpython, seaborn, jsonschema, altair, streamlit
Successfully installed MarkupSafe-2.1.5 altair-5.3.0 attrs-23.2.0 blinker-1.7.0 cachetools-5.3.3 certifi-2024.2.2 charset-normalizer-3.3.2 click-8.1.7 contourpy-1.2.1 cycler-0.12.1 fonttools-4.50.0 gitdb-4.0.11 gitpython-3.1.43 idna-3.6 jinja2-3.1.3 joblib-1.3.2 jsonschema-4.21.1 jsonschema-specifications-2023.12.1 kiwisolver-1.4.5 markdown-it-py-3.0.0 matplotlib-3.8.0 mdurl-0.1.2 numpy-1.26.4 packaging-23.2 pandas-2.2.1 pillow-10.3.0 plotly-5.19.0 protobuf-4.25.3 pyarrow-15.0.2 pydeck-0.8.1b0 pygments-2.17.2 pyparsing-3.1.2 python-dateutil-2.9.0.post0 pytz-2024.1 referencing-0.34.0 requests-2.31.0 rich-13.7.1 rpds-py-0.18.0 scikit-learn-1.3.0 scipy-1.13.0 seaborn-0.13.2 six-1.16.0 smmap-5.0.1 streamlit-1.32.2 tenacity-8.2.3 threadpoolctl-3.4.0 toml-0.10.2 toolz-0.12.1 tornado-6.4 typing-extensions-4.10.0 tzdata-2024.1 urllib3-2.2.1 watchdog-4.0.0
Checking if Streamlit is installed
Found Streamlit version 1.32.2 in the environment

────────────────────────────────────────────────────────────────────────────────────────

[09:15:58] 🐍 Python dependencies were installed from /mount/src/streamlit_fi-project/requirements.txt using pip.
Check if streamlit is installed
Streamlit is already installed
[09:16:00] 📦 Processed dependencies!



[09:16:20] ❗️ The service has encountered an error while checking the health of the Streamlit app: Get "http://localhost:8501/script-health-check": EOF

Thanks, @nitishka. It might indeed relate to exceeding the maximum memory allowance in Streamlit Cloud, which could explain why it’s working well locally but not in Cloud.

As a debugging step, I would suggest trying with smaller files and seeing whether that works in the Cloud.

Also, please check this post for reference, where a user has been facing the same issue as yours:

Let me know :slight_smile:

Charly

Also FYI, each app is guaranteed 1 GB of memory, but you usually won’t see a resource-related error until you get closer to 3 GB of memory.

Best,
Charly

Thanks a lot @Charly_Wargnier for your help. It works in the Cloud with smaller files.

Best regards,
Natalia

1 Like

Glad to hear that, @nitishka!

Best wishes to you and happy Streamlining! :balloon:

Charly

1 Like

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