Skip to content
This repository was archived by the owner on Sep 3, 2022. It is now read-only.
This repository was archived by the owner on Sep 3, 2022. It is now read-only.

Datalab won't connect to VM instance after long time waiting for it to be reachable at port 8081 #2124

Open
@miguel2488

Description

@miguel2488

Hi,

i've been working on this for days, and have read a lot in google about this issue. Although i couldn't find anything to help me solving it.

The case is that i have created a datalab instance via the gcloud shell like this:

datalab create --image-name c2-deeplearning-tf-1-13-cu100-20190227 --disk-size-gb 100 --machine-type n1-standard-8 my-instance --network-name my-net-01 --zone europe-west1-b

it all works fine, i'm asked to create a passphrase, rsa keys are propagated and then, i got this message of death:

Waiting for Datalab to be reachable at http://localhost:8081/

I can SSH to the vm instance using the button to the right, or using gcloud compute ssh instance. No problems with that.

Running the datalab connect command passing --ssh-log-level=debug i got thousands of messages like this one:

Captura

It walks through all the ports trying to connect to the 8081 port but it never succeeds, so finally after a long waiting, i get this message:

connection closed
attempting to reconnect

and the whole process starts again from the beginning.

This is a screenshot of my firewall rules:

Captura

i think everything is ok here. What am i missing?? Where's the problem?? Can someone help please? i've been stuck here for over a week now, any help will be much appreciated.

Thank you very much in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions