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.

Can't access dashboard

See original GitHub issue

Apologies for bringing this up again as it has been discussed in https://github.com/dask/dask-jobqueue/issues/71 and https://github.com/dask/dask-jobqueue/issues/80. The discussions in those haven’t helped. Hopefully this is a quick fix and I can show my colleagues how cool the LFSCluster is 😃

I tried the example from pangeo (http://pangeo-data.org/setup_guides/hpc.html#deploy-option-1-jupyter-dask-jobqueue).

Start a jupyter notebook on the HPC as: jupyter notebook --no-browser --port 8888. Then on my laptop I try: ssh -N -L 8888:localhost:8888 -L 8787:localhost:8787 rxb826@pegasus.ccs.miami.edu This gives:

channel 4: open failed: connect failed: Connection refused
channel 5: open failed: connect failed: Connection refused

In this case I can’t access http://localhost:8888 let alone the dashboard. I’m not quite sure why this happens. screen shot 2018-08-02 at 10 50 31 pm I’ve had success in the past with tunneling notebooks as ssh -N -L 8888:localhost:8888 rxb826@pegasus.ccs.miami.edu. When I haven’t even been able to connect to http://localhost:8888 restarting my laptop seems to work (i’m sure there is a less drastic fix).

Next I tried the example in the docs https://dask-jobqueue.readthedocs.io/en/latest/examples.html?highlight=tunnel#viewing-dask-dashboard

Start ipython on the HPC and inspect the client: screen shot 2018-08-02 at 10 52 49 pm

Then on my laptop use this address for tunneling: ssh -fN rxb826@10.10.0.14 -L 8787:localhost:8787. Then when I try to connect to http://localhost:8787 I see: screen shot 2018-08-02 at 11 01 12 pm

It seems I can’t ping this address screen shot 2018-08-02 at 11 14 05 pm

I sent this to my IT dept as well. Will update with any info at that end.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

3reactions
raybellwavescommented, Aug 6, 2018

http://pangeo-data.org/setup_guides/hpc.html#deploy-option-1-jupyter-dask-jobqueue did have the solution after all.

I would open ipython and inspect the client

In [1]: from dask_jobqueue import LSFCluster

In [2]: from dask.distributed import Client

In [3]: cluster = LSFCluster(cores=2, memory='4 GB', walltime='00:02')

In [4]: client = Client(cluster)

In [5]: client
Out[5]: <Client: scheduler='tcp://10.10.0.14:42151' processes=0 cores=0>

Next I would use that ip to start my notebook jupyter notebook --no-browser --ip=10.10.0.14 --port=8888

Then on my laptop tunnel as ssh -N -L 8888:10.10.0.14:8888 rxb826@pegasus.ccs.miami.edu and open http://localhost:8888. Work though the notebook and inspect the client. The dashboard will most likely by port 8787 but sometimes it’ll be a five digit port number e.g. 54611. Open another terminal and tunnel the dashboard as ssh -N -L 54611:10.10.0.14:54611 rxb826@pegasus.ccs.miami.edu. Lastly, open http://localhost:54611 on my laptop.

I can make a change to the docs if agreed https://dask-jobqueue.readthedocs.io/en/latest/examples.html?highlight=dashboard#viewing-dask-dashboard

0reactions
guillaumeebcommented, Aug 6, 2018

It is true that this part of the docs is a little misleading with the localhost everywhere, any improvement welcome!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't Access WP-Admin? 9 Solutions That Always Work
Common reasons why you can't access wp-admin · Your login credentials (username/password) are incorrect · You're being blocked by your security ...
Read more >
How to fix unable to access WordPress admin dashboard
The easiest way of getting around this problem is to reset your password using your login email. All you need to do is...
Read more >
Locked out of Your WordPress Admin Dashboard? (Here's ...
Follow these simple steps to quickly regain access. ... Since you can't access WordPress admin dashboard, you have to do this manually.
Read more >
WP-Admin Not Working? Fix 'Can't Access WordPress Admin ...
1. Manually Reset Your Admin Password Via phpMyAdmin · 2. Restore Your Backup · 3. Disable Your Plugins · 4. Scan Your Site...
Read more >
Can't Access WordPress Dashboard? Know How To Fix WP ...
Can't login to wordpress dashboard? Know how to resolve WP-admin access issues. Read to get 7 Proven solutions for site login problems.
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