Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stuck on Please wait... stage on AWS EC2 machine #2389

Closed
kousikan opened this issue Nov 25, 2020 · 6 comments
Closed

Stuck on Please wait... stage on AWS EC2 machine #2389

kousikan opened this issue Nov 25, 2020 · 6 comments
Labels
area:deployment Related to deploying Streamlit apps

Comments

@kousikan
Copy link

Summary

Stuck on Please wait... stage. on AWS EC2 machine. Working in local machine. Tried everything in Section 2 in the web page https://docs.streamlit.io/en/stable/troubleshooting/not-loading.html

Steps to reproduce

What are the steps we should take to reproduce the bug:

pipenv --python 3.8.6
pipenv -v install streamlit
streamlit hello

Expected behavior:

The app to work. on the IP eg http://xx.xx.xx.xx:8501

Actual behavior:

stuck on the Please wait....

Is this a regression?

That is, did this use to work the way you expected in the past?
no

Debug info

  • Streamlit version: (get it with $ streamlit version) : Streamlit, version 0.71.0
  • Python version: (get it with $ python --version): Python 3.8.6
  • Using Conda? PipEnv? PyEnv? Pex? Pipenv
  • OS version: NAME="Amazon Linux AMI"
    VERSION="2018.03"
    ID="amzn"
    ID_LIKE="rhel fedora"
    VERSION_ID="2018.03"
    PRETTY_NAME="Amazon Linux AMI 2018.03"
    ANSI_COLOR="0;33"
    CPE_NAME="cpe:/o:amazon:linux:2018.03:ga"
    HOME_URL="http://aws.amazon.com/amazon-linux-ami/"
  • Browser version: Google Chrome Version 87.0.4280.67 (Official Build) beta (x86_64)

Additional information

Attached the har archive. When I inspected the web page it seems like Web socket connection is being refused. Tried everything in Section 2 in the web page https://docs.streamlit.io/en/stable/troubleshooting/not-loading.html

It seems the port is open
nc -vz xx.xx.xx.xx 8501
Connection to xx.xx.xx.xx 8501 port [tcp/*] succeeded!

10.5.51.11.har.zip

@kousikan kousikan added type:bug Something isn't working status:needs-triage Has not been triaged by the Streamlit team labels Nov 25, 2020
@bfgdigital
Copy link

Having the same issue.

@ZupoLlask
Copy link

Do you think this may be related with #2312?

@nthmost nthmost added the area:deployment Related to deploying Streamlit apps label Nov 30, 2020
@kmcgrady
Copy link
Collaborator

Hey @kousikan ! Thank you for reporting the issue. Unfortunately, I'm not as familiar with EC2 functionality and what could be wrong between Streamlit and EC2 without analyzing your instance. I'll make note to and put it in our list of requests to improve deployment troubleshooting.

@kmcgrady kmcgrady added status:awaiting-user-response Issue requires clarification from submitter and removed type:bug Something isn't working status:needs-triage Has not been triaged by the Streamlit team labels Mar 13, 2021
@gabrielecalvo
Copy link

Hi all,
Not sure it is a AWS issue alone, I get a very similar issue on Azure and so does this other person.
In fairness, I even tried going back to using streamlit==0.61 tornado==5.1.1 source which does not solve the issue.
Hope that helps.

@kousikan
Copy link
Author

kousikan commented May 6, 2021

This was a firewall issue. Websocket protocol traffic should be allowed to & from the streamlit app under appgroups. Our networking team was able to resolve this.

@kmcgrady
Copy link
Collaborator

Thanks for the discussion! I will close this issue since it looks like the websocket protocol traffic needs to be allowed. Please re-open if there is any reason to 😊 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:deployment Related to deploying Streamlit apps
Projects
None yet
Development

No branches or pull requests

6 participants