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

Failed to connect to live stream #1018

Open
MidasTheAlchemist opened this issue Aug 27, 2022 · 0 comments
Open

Failed to connect to live stream #1018

MidasTheAlchemist opened this issue Aug 27, 2022 · 0 comments

Comments

@MidasTheAlchemist
Copy link

Hello, I'm trying to run a Jupyter nbviewer for a microsoft notebooks quiz, but the environment doesn't seem to be loading correctly. I've tried disabling my adblocker for my browser in case it was causing any issues, but I've never used this tool before so I'm not really sure what to expect from it.

The environment starts to load, but always fails to "connect to the event stream" and I have no way of interacting with it at any point. I've provided the logs of whats happening.

`Waiting for build to start...
Picked Git content provider.
Cloning into '/tmp/repo2dockervyd4z1id'...
HEAD is now at 0bfd258 Merge pull request #10 from microsoft/pebryan/2022-4-19_Update
Building conda environment for python=3.7Using PythonBuildPack builder
Building conda environment for python=3.7Building conda environment for python=3.7Step 1/51 : FROM buildpack-deps:bionic
---> 256bc5b8157d
Step 2/51 : ENV DEBIAN_FRONTEND=noninteractive
---> Using cache
---> 870ebb51c508
Step 3/51 : RUN apt-get -qq update && apt-get -qq install --yes --no-install-recommends locales > /dev/null && apt-get -qq purge && apt-get -qq clean && rm -rf /var/lib/apt/lists/*
---> Using cache
---> 1c2ded61ff77
Step 4/51 : RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && locale-gen
---> Using cache
---> abac62e334b1
Step 5/51 : ENV LC_ALL en_US.UTF-8
---> Using cache
---> 4668e4c0de1d
Step 6/51 : ENV LANG en_US.UTF-8
---> Using cache
---> 4e88a7465104
Step 7/51 : ENV LANGUAGE en_US.UTF-8
---> Using cache
---> 67b9e1d30bcd
Step 8/51 : ENV SHELL /bin/bash
---> Using cache
---> 55f028dcb0a7
Step 9/51 : ARG NB_USER
---> Using cache
---> 7cff8f93876e
Step 10/51 : ARG NB_UID
---> Using cache
---> de4f32be8f56
Step 11/51 : ENV USER ${NB_USER}
---> Using cache
---> 355d2327bb4e
Step 12/51 : ENV HOME /home/${NB_USER}
---> Using cache
---> 826b0596aa18
Step 13/51 : RUN groupadd --gid ${NB_UID} ${NB_USER} && useradd --comment "Default user" --create-home --gid ${NB_UID} --no-log-init --shell /bin/bash --uid ${NB_UID} ${NB_USER}
---> Using cache
---> 226747d52b0b
Step 14/51 : RUN apt-get -qq update && apt-get -qq install --yes --no-install-recommends less unzip > /dev/null && apt-get -qq purge && apt-get -qq clean && rm -rf /var/lib/apt/lists/*
---> Using cache
---> c0cbe97a44d3
Step 15/51 : EXPOSE 8888
---> Using cache
---> cf9bc3caaf5d
Step 16/51 : ENV APP_BASE /srv
---> Using cache
---> cfc5df28a510
Step 17/51 : ENV CONDA_DIR ${APP_BASE}/conda
---> Using cache
---> 294ad2261b23
Step 18/51 : ENV NB_PYTHON_PREFIX ${CONDA_DIR}/envs/notebook
---> Using cache
---> 88eba65d3f87
Step 19/51 : ENV NPM_DIR ${APP_BASE}/npm
---> Using cache
---> 28d1f401d154
Step 20/51 : ENV NPM_CONFIG_GLOBALCONFIG ${NPM_DIR}/npmrc
---> Using cache
---> 7fe56ca59f16
Step 21/51 : ENV NB_ENVIRONMENT_FILE /tmp/env/environment.lock
---> Using cache
---> dc8556f405c3
Step 22/51 : ENV MAMBA_ROOT_PREFIX ${CONDA_DIR}
---> Using cache
---> 1abad0da18d4
Step 23/51 : ENV MAMBA_EXE ${CONDA_DIR}/bin/mamba
---> Using cache
---> af213d26e29c
Step 24/51 : ENV KERNEL_PYTHON_PREFIX ${NB_PYTHON_PREFIX}
---> Using cache
---> 8d5a74e6af58
Step 25/51 : ENV PATH ${NB_PYTHON_PREFIX}/bin:${CONDA_DIR}/bin:${NPM_DIR}/bin:${PATH}
---> Using cache
---> c3ee11878e80
Step 26/51 : COPY --chown=1000:1000 build_script_files/-2fusr-2flib-2fpython3-2e9-2fsite-2dpackages-2frepo2docker-2fbuildpacks-2fconda-2factivate-2dconda-2esh-e9bee0 /etc/profile.d/activate-conda.sh
---> Using cache
---> c8b0643cac27
Step 27/51 : COPY --chown=1000:1000 build_script_files/-2fusr-2flib-2fpython3-2e9-2fsite-2dpackages-2frepo2docker-2fbuildpacks-2fconda-2fenvironment-2epy-2d3-2e7-2elock-d12193 /tmp/env/environment.lock
---> Using cache
---> 30aafc15bb87
Step 28/51 : COPY --chown=1000:1000 build_script_files/-2fusr-2flib-2fpython3-2e9-2fsite-2dpackages-2frepo2docker-2fbuildpacks-2fconda-2finstall-2dbase-2denv-2ebash-41d468 /tmp/install-base-env.bash
---> Using cache
---> f6803ba43c20
Step 29/51 : RUN TIMEFORMAT='time: %3R' bash -c 'time /tmp/install-base-env.bash' && rm -rf /tmp/install-base-env.bash /tmp/env
---> Using cache
---> 18da007d8f2d
Step 30/51 : RUN mkdir -p ${NPM_DIR} && chown -R ${NB_USER}:${NB_USER} ${NPM_DIR}
---> Using cache
---> d67270a53018
Step 31/51 : USER root
---> Using cache
---> 5fd7400652eb
Step 32/51 : ARG REPO_DIR=${HOME}
---> Using cache
---> dc2baa5f9633
Step 33/51 : ENV REPO_DIR ${REPO_DIR}
---> Using cache
---> 18767360918d
Step 34/51 : WORKDIR ${REPO_DIR}
---> Using cache
---> 4dde9a06b973
Step 35/51 : RUN chown ${NB_USER}:${NB_USER} ${REPO_DIR}
---> Using cache
---> 19b457279c10
Step 36/51 : ENV PATH ${HOME}/.local/bin:${REPO_DIR}/.local/bin:${PATH}
---> Using cache
---> d7d982a8ebfc
Step 37/51 : ENV CONDA_DEFAULT_ENV ${KERNEL_PYTHON_PREFIX}
---> Using cache
---> a2a5f778cafe
Step 38/51 : COPY --chown=1000:1000 src/requirements.txt ${REPO_DIR}/requirements.txt
---> Using cache
---> 2f48798e78d2
Step 39/51 : USER ${NB_USER}
---> Using cache
---> c83485d5c56f
Step 40/51 : RUN ${KERNEL_PYTHON_PREFIX}/bin/pip install --no-cache-dir -r "requirements.txt"
---> Running in 214b05bf2f78
Collecting git https://github.com/microsoft/msticpy/ (from -r requirements.txt (line 1))
Cloning https://github.com/microsoft/msticpy/ to /tmp/pip-req-build-ei07xeoa
Running command git clone --filter=blob:none --quiet https://github.com/microsoft/msticpy/ /tmp/pip-req-build-ei07xeoa
Resolved https://github.com/microsoft/msticpy/ to commit a4acc63d2e3cba04ef39dd5f5ace99b3b3e4daae
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): finished with status 'done'
Collecting scikit-learn>=0.20.2
Downloading scikit_learn-1.0.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (24.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 24.8/24.8 MB 60.8 MB/s eta 0:00:00
Collecting scipy>=1.1.0
Downloading scipy-1.7.3-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (38.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 38.1/38.1 MB 61.4 MB/s eta 0:00:00
Collecting statsmodels>=0.11.1
Downloading statsmodels-0.13.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (9.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.8/9.8 MB 63.1 MB/s eta 0:00:00
Collecting pandas>=1.3.5
Downloading pandas-1.3.5-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.3/11.3 MB 62.2 MB/s eta 0:00:00
Collecting lxml>=4.6.3
Downloading lxml-4.9.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (6.4 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.4/6.4 MB 67.6 MB/s eta 0:00:00
Requirement already satisfied: python-dateutil>=2.8.1 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from msticpy==2.0.0->-r requirements.txt (line 1)) (2.8.2)
Collecting msrest>=0.6.0
Downloading msrest-0.7.1-py3-none-any.whl (85 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 85.4/85.4 kB 153.7 MB/s eta 0:00:00
Collecting numpy>=1.15.4
Downloading numpy-1.21.6-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (15.7 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 15.7/15.7 MB 60.7 MB/s eta 0:00:00
Collecting pygeohash>=1.2.0
Downloading pygeohash-1.2.0.tar.gz (5.0 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting dnspython>=2.0.0
Downloading dnspython-2.2.1-py3-none-any.whl (269 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 269.1/269.1 kB 147.0 MB/s eta 0:00:00
Collecting networkx>=2.2
Downloading networkx-2.6.3-py3-none-any.whl (1.9 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.9/1.9 MB 95.2 MB/s eta 0:00:00
Collecting geoip2>=2.9.0
Downloading geoip2-4.6.0-py2.py3-none-any.whl (26 kB)
Collecting deprecated>=1.2.4
Downloading Deprecated-1.2.13-py2.py3-none-any.whl (9.6 kB)
Requirement already satisfied: cryptography>=3.1 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from msticpy==2.0.0->-r requirements.txt (line 1)) (37.0.4)
Requirement already satisfied: pygments>=2.0.0 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from msticpy==2.0.0->-r requirements.txt (line 1)) (2.12.0)
Requirement already satisfied: urllib3>=1.23 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from msticpy==2.0.0->-r requirements.txt (line 1)) (1.26.11)
Collecting pyyaml>=3.13
Downloading PyYAML-6.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (596 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 596.3/596.3 kB 102.4 MB/s eta 0:00:00
Collecting azure-identity>=1.10.0
Downloading azure_identity-1.10.0-py3-none-any.whl (134 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 134.1/134.1 kB 137.7 MB/s eta 0:00:00
Collecting httpx>=0.21
Downloading httpx-0.23.0-py3-none-any.whl (84 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 84.8/84.8 kB 154.5 MB/s eta 0:00:00
Collecting azure-mgmt-subscription>=1.0.0
Downloading azure_mgmt_subscription-3.0.0-py3-none-any.whl (57 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.1/57.1 kB 111.5 MB/s eta 0:00:00
Collecting msrestazure>=0.6.0
Downloading msrestazure-0.6.4-py2.py3-none-any.whl (40 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.5/40.5 kB 119.1 MB/s eta 0:00:00
Collecting azure-common>=1.1.18
Downloading azure_common-1.1.28-py2.py3-none-any.whl (14 kB)
Requirement already satisfied: ipython>=7.1.1 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from msticpy==2.0.0->-r requirements.txt (line 1)) (7.33.0)
Requirement already satisfied: pytz>=2019.2 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from msticpy==2.0.0->-r requirements.txt (line 1)) (2022.1)
ERROR: Cannot install -r requirements.txt (line 1) and pandas>=1.3.5 because these package versions have conflicting dependencies.

The conflict is caused by:
The user requested pandas>=1.3.5
msticpy 2.0.0 depends on pandas>=1.4.0

To fix this you could try to:

  1. loosen the range of package versions you've specified
  2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
Removing intermediate container 214b05bf2f78
The command '/bin/sh -c ${KERNEL_PYTHON_PREFIX}/bin/pip install --no-cache-dir -r "requirements.txt"' returned a non-zero code: 1Built image, launching...
Failed to connect to event stream`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant