ERROR:visdom:failed CONNECT via proxy status: 403
See original GitHub issueWhen I run the code:
import visdom import numpy as np vis = visdom.Visdom(server=‘http://10.8.0.1/’, port=8080) #visdom.Visdom(use_incoming_socket=False) #vis = visdom.Visdom() vis.text(‘Hello, world!’) vis.image(np.ones((3, 10, 10))) #################################################################
Ouput on terminal:
WARNING:root:Setting up a new session…
ERROR:visdom:failed CONNECT via proxy status: 403
ERROR:visdom:failed CONNECT via proxy status: 403
ERROR:visdom:failed CONNECT via proxy status: 403
WARNING:visdom:Visdom python client failed to establish socket to get messages from the server. This feature is optional and can be disabled by initializing Visdom with use_incoming_socket=False
, which will prevent waiting for this request to timeout.
#########################################################
How to fix this proxy problem and what are the commands for using visdom since I am using firefox of the same server as a screen for visualization?
Issue Analytics
- State:
- Created 5 years ago
- Comments:14 (2 by maintainers)
Top GitHub Comments
I sit behind a proxy due to company reasons. Since I’m running everything on my own computer I don’t know how this would work with ssh but I managed to get around the connection problem by running my script that was connecting to the Visdom server via the no proxy command eg. ->
no_proxy=localhost python train.py
The visdom server was started like normal
Thanks so much for your suggestions! I solve my problem. I meet the same problem when I run scripts on remote server.