...[manager] Streamlit server consistently failed status checks

[manager] Python dependencies were installed from requirements.txt using pip.
[manager] WARN: More than one dependency files detected in the repository. Available options: [{pip requirements.txt} {poetry pyproject.toml}]. Used: {pip requirements.txt}
[manager] Processed dependencies!
2021-04-09 17:49:19.966 generated new fontManager
[manager] Error checking Streamlit healthz: Get "http://localhost:8501/healthz": dial tcp 127.0.0.1:8501: connect: connection refused

  Stopping...

[manager] Streamlit server consistently failed status checks
[manager] Please fix the errors, push an update to the git repo, or reboot the app.

Hello. I got a streamlit app running at https://share.streamlit.io/ffreemt/st-bumblebee-aligner/dev/st_app.py

It runs OK locally. But it wont start at share.streamlit.io. I do not see any error messages that can help me fix the problem. I tried to reboot it several times, it does not seem to help.

This app is an updated version of https://share.streamlit.io/ffreemt/st-bumblebee-aligner/st_app.py, which runs OK last time I checked…

Can you please help?

Thanks very much,
mike

  • Updating requests (2.25.1 -> 2.25.0)
  • Updating pydeck (0.6.1 -> 0.5.0)
  • Installing statsmodels (0.12.2)
  • Installing tqdm (4.60.0)
  • Updating validators (0.18.2 -> 0.18.1)
  • Updating watchdog (2.0.2 -> 0.10.4)
  • Installing seaborn (0.11.1)
  • Installing pyicu (2.6)
  • Installing sentence-splitter (1.4)
  • Installing diskcache (5.1.0)
  • Installing flake8 (3.9.0)
  • Installing langid (1.1.6)
  • Installing pytest (5.4.3)
  • Installing pipreq (0.4)
  • Updating streamlit (0.79.0 -> 0.80.0)
  • Installing tinybee (0.1.3)
  • Installing xlsxwriter (1.3.7)

Installing the current project: bee_aligner (0.1.0)
[manager] Python dependencies were installed from pyproject.toml using poetry.
[manager] could not verify installer exit code: open /app/install_status: no such file or directory
[manager] Error during processing dependencies! Please fix the error and push an update, or try restarting the app.
[manager] Streamlit server consistently failed status checks
[manager] Please fix the errors, push an update to the git repo, or reboot the app.

I updated to use the latest streamlit 0.80.0. The erro message changed slightly. But the app still does not run.

I cloned the repo to three Ubuntu systems and the app runs without any problem.

Any help would be greatly appreciated.

Same issue here with this app

[manager] could not verify installer exit code: open /app/install_status: no such file or directory

I can confirm that, I had the last few days also constantly.
No apparent cause of error and no other error message in the log.
Sometimes it has then run through and the app has worked.
Most of the time, however, not.

Same issue here.
Any news ?

It seems to be linked with a package installation. It happens for me only when I use a packages.txt file to install libreoffice within my app. The log file say that it installed successfully but then at the end it fails to run the app saying:
could not verify installer exit code: open /app/install_status: no such file or directory

It’s actually linked to the presence of any packages.txt file, empty or not

Could it possibly fail because the packages.txt file contains line breaks in Windows format \r\n instead of Linux format \n ?

No it’s not that… Thanks for the suggestion though

I found the problem! (for this app of mine at least) – I configured port = 8508 in config.toml. I removed conofig.toml and all is well it seems.

For me, I can rule that out as a cause, since I have not configured a different port.

Having the same issue here (my app is also using a packages.txt file)
No port configuration on my side so the solution proposed by @mikeie doesn’t work

The last few days I had no more problems with the deployment.
Another idea to fix these unknown errors.
Add to the .streamlit/config.toml file:

[server]
headless = true
1 Like

Yes, it works now !
Thanks
EDIT : So unstable ! It stopped working for no reason after a reboot

After many trial and error, this is the work-around I have found.

First of all, regardless of what I do to the repo, a reboot always leads to this error combo

[manager] could not verify installer exit code: open /app/install_status: no such file or directory
[manager] Error during processing dependencies! Please fix the error and push an update, or try restarting the app.
[manager] Streamlit server consistently failed status checks

This error can be resolved by making any change to .streamlit/config.toml. It doesn’t even have to contain anything (i.e. headless = true is not necessary). Just type a new line, commit it, and push it to the repo. Then I have this log

[manager] Error checking Streamlit healthz: Get “http://localhost:8501/healthz”: dial tcp 127.0.0.1:8501: connect: connection refused
2021-04-20 18:34:15.679 An update to the [server] config option section was detected. To have these changes be reflected, please restart streamlit.
[client] Connecting…

And the app is up and running.

I also tried making trivial changes to other part of the app, but none of them resolves the issue. Therefore, in my case, I have to make change to the config file to rescue the app.

P.S.

If headless = true is included in .streamlit/config.toml, the log shown after the initial failure becomes

[client] Provisioning machine…
2021-04-20 18:48:14.597 An update to the [server] config option section was detected. To have these changes be reflected, please restart streamlit.
[client] Preparing system…
[client] Spinning up manager process…
[client] Connecting…

This seems to me a more friendly log, so I would recommend put headless = true in the config file.

P.P.S.

Once the app is running, further changes to any files in the repo do not seem to cause any problem. But the config file trick is needed each time the app is rebooted.

1 Like

Yes, that makes the trick !

HI everyone -

A handful of fixes will be released today (Apr 22) for Streamlit sharing yesterday that we hope resolves this issue. Please reboot your apps, and let me know on this thread if this resolves your issues.

Best,
Randy

could not verify installer exit code: open /app/install_status: no such file or directory
problem still on

I can confirm that.
I rebooted all my apps and those apps that have a packages.txt file crashes again now…

The release is now scheduled for 5pm Pacific time, so after that, hopefully this is fixed :crossed_fingers:

1 Like

As of 07:20 PM Pacific time, the problem is still on with my app.

  • Update 01: as of 11:23 AM Pacific time, the problem is still on with my app.