question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Streamlit started giving 404: Not Found and no longer wants to work.

See original GitHub issue

Summary

Streamlit started giving 404: Not Found and no longer wants to work.

Steps to reproduce

Added the multiselect example to my code:

options = st.multiselect(
    'What are your favorite colors',
    ('Yellow', 'Red')
    ('Green', 'Yellow', 'Red', 'Blue'))
st.write('You selected:', options)

Expected behavior:

To get an app with a working multiselect

Actual behavior:

App gives 404: Not Found and nothing I do wants to make it work again.

Is this a regression?

yes

Debug info

Streamlit version: 0.47.2 Python version: 3.7.1 Using Conda? PipEnv? PyEnv? Pex? pip on WinPython OS version: Windows 10 version 1903 Browser version: Firefox 69.0

Additional information

Tried changing the port, enabling debugging, killing the console and restarting. Not running jupyter-lab. Removing the multiselect code. Tried using http://localhost:8501/?a=1. Tried http://192.168.1.34:8501. Seems to be caching and always just returning the 404.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:31 (10 by maintainers)

github_iconTop GitHub Comments

9reactions
ismailuddincommented, Oct 4, 2019

I’ve been able to get it to work while running JupyterLab by simply navigating to http://localhost:8501/index.html and then the page loads, otherwise its a 404.

2reactions
tvstcommented, Oct 8, 2019

Awesome! Sending out a pull request right now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Getting 404 error after I deployed my app - Streamlit
I followed all the steps from my streamlit share invite, but I keep getting a 404 error after I deploy my app. What...
Read more >
Troubleshooting - Streamlit Docs
A 404 error is displayed to unauthorized viewers to avoid providing any unnecessary information about your app to unintended viewers. Users who satisfy...
Read more >
App is not loading when running remotely - Streamlit Docs
Symptom #1: The app never loads · Try port 80: Some hosts expose port 80 by default. To set Streamlit to use that...
Read more >
404 sometimes when clicking on download button Streamlit ...
The app has a download button to export the generated dataframe as a .xlsx file and this works perfectly fine locally but breaks...
Read more >
Please help: app wont boot - Deploying on Streamlit Cloud
gz ERROR: Command errored out with exit status 1: command: /home/appuser/venv/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"' ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found