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

sometimes can not open the localhost link in my browser #128

Closed
zengxianyu opened this issue Aug 10, 2017 · 6 comments
Closed

sometimes can not open the localhost link in my browser #128

zengxianyu opened this issue Aug 10, 2017 · 6 comments

Comments

@zengxianyu
Copy link

zengxianyu commented Aug 10, 2017

Visdom is a excellent tool to visualize when training a model, and I've been using it for months.

However, recently, I often cannot open the localhost link to the Visdom server in my browser. The browser keep saying "connecting", and the visdom.server shows below information:

INFO:tornado.access:200 GET /env/main (127.0.0.1) 1.83ms
INFO:tornado.access:200 GET /static/js/main.js?v=4b72317f763632006def9236be6408b4 (127.0.0.1) 2.35ms
INFO:tornado.access:200 GET /static/css/style.css?v=32ef18660f59fd1d0097e08d8f46b7af (127.0.0.1) 0.48ms
INFO:tornado.access:304 GET /env/main (127.0.0.1) 1.08ms
INFO:tornado.access:200 GET /env/main (127.0.0.1) 1.14ms
INFO:tornado.access:200 GET /static/js/main.js?v=4b72317f763632006def9236be6408b4 (127.0.0.1) 0.62ms
INFO:tornado.access:200 GET /static/css/style.css?v=32ef18660f59fd1d0097e08d8f46b7af (127.0.0.1) 0.46ms
INFO:tornado.access:304 GET /env/main (127.0.0.1) 1.50ms
INFO:tornado.access:304 GET /env/main (127.0.0.1) 1.60ms
INFO:tornado.access:200 GET /env/main (127.0.0.1) 1.35ms
INFO:tornado.access:200 GET /static/js/main.js?v=4b72317f763632006def9236be6408b4 (127.0.0.1) 0.53ms
INFO:tornado.access:200 GET /static/css/style.css?v=32ef18660f59fd1d0097e08d8f46b7af (127.0.0.1) 0.47ms
INFO:tornado.access:304 GET /env/main (127.0.0.1) 1.19ms
INFO:tornado.access:304 GET / (127.0.0.1) 1.28ms
INFO:tornado.access:304 GET /favicon.png (127.0.0.1) 1.25ms
INFO:tornado.access:304 GET / (127.0.0.1) 1.22ms

I tried reinstall Visdom, but this dose not solve this problem.

Are there any solution?

Thanks in advance.

@jetxa
Copy link

jetxa commented Aug 11, 2017

I encountered the same problem

@zengxianyu
Copy link
Author

zengxianyu commented Aug 11, 2017

my workaround is turning to tensorboard. But people provide more solutions in this issue

@ajabri
Copy link
Contributor

ajabri commented Aug 11, 2017

I think the issue is related to the loading of JS dependencies. Can you open the developer console and share any error messages found there? In Chrome you can do this by View->Developer->Javascript Console.

@zengxianyu
Copy link
Author

@ajabri Here's the error messages:

react-grid-layout.min.js Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
plotly.min.js Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
main.js?v=4b72317f763632006def9236be6408b4:1 Uncaught ReferenceError: ReactGridLayout is not defined
    at Object.<anonymous> (main.js?v=4b72317f763632006def9236be6408b4:1)
    at t (main.js?v=4b72317f763632006def9236be6408b4:1)
    at Object.<anonymous> (main.js?v=4b72317f763632006def9236be6408b4:1)
    at t (main.js?v=4b72317f763632006def9236be6408b4:1)
    at main.js?v=4b72317f763632006def9236be6408b4:1
    at main.js?v=4b72317f763632006def9236be6408b4:1

@lvdmaaten
Copy link
Contributor

lvdmaaten commented Aug 12, 2017

What this means is that for some reason, visdom cannot download the Javascript dependencies. Are you behind some kind of proxy that prevents traffic to the internet? Can you access https://cdn.rawgit.com/plotly/plotly.js/master/dist/plotly.min.js in your browser?

@zengxianyu
Copy link
Author

Thank you all

The reason is the web browser can not find javascript dependencies through internet. Like y406539259 said in this issue, downloading packages or using proxy can solve this problem

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

4 participants