The error msg is: The service has encountered an error while checking the health of the Streamlit app: Get “http://localhost:8501/healthz”: dial tcp IPAddress:8501: connect: connection refused
If the log is from yesterday, yes, I have copied a new one to replace it. Let me check, anyway.
I did find several threads about the connection refusal issue, but cannot find concise solutions.
Weirdly, the issue still seems to be coming from the config file. I forked your repo and deleted the contents of the config file, and that resolved the issue. It’s deployed here (I had to also add a missing package to the requirements file). I’m not sure exactly what was wrong with the config file, but it seems like it could be an invalid/invisible character potentially
Thank you so much for the help. May I ask: what is the missing package (could you please paste it to the reply so I can work out from my end)? and you remove all the content of config file?
The missing package was streamlit-aggrid. Yup, I just removed the contents of the config file – probably overkill, you could probably also just go through and make sure there aren’t any funky characters
Hi, thanks for your reply to this query. The error msg is: The service has encountered an error while checking the health of the Streamlit app: Get “http://localhost:8501/healthz”: dial tcp IPAddress:8501: connect: connection refused
The problem is becasue of the config.toml file that I copied from the tutorial. For unknown reason I’ve not figured out, it will cause connection refusal. I still have no time to check which part of the config.toml causes this problem. Thanks ~
Hi Caroline, sorry to bother you again. I meet a new issue of the same program.
The execution has no error message, however, the web-version fails to generate an excel file, but the local version has no problem with that. I leave the config.toml empty.