- changed status to resolved
vispr server remote access
Dear all,
I am currently analysing data on a HPC cluser using mageck vispr. In the last step of my analysis pipeline, I want to start the server process that renders the VISPR interface in a web-browser. Following the instructions below the double-line at the end of this email, I want to open the VISPR server on my own laptop and tried to run "vispr server results/*vispr.yaml --host (my IP address) --port 5000" with my own ip address. The outcome including the error message "OSError: [Errno 99] Cannot assign requested address" is below the line.
I would be very grateful if you have any advice or comments on this error and how I could solve this issue.
Kind regards
Janine
/home/jl2113/miniconda3/envs/mageck-vispr/lib/python3.6/site-packages/vispr/server.py:23: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
CAPTIONS = yaml.load(f)
Loading data.
/home/jl2113/miniconda3/envs/mageck-vispr/lib/python3.6/site-packages/vispr/cli.py:40: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
config = yaml.load(f)
Starting server.
Open: go to 127.0.0.1:5000 in your browser.
Note: Safari and Internet Explorer are currently unsupported.
Close: hit Ctrl-C in this terminal.
Serving Flask app "vispr.server" (lazy loading)
Environment: production
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
Debug mode: off
Traceback (most recent call last):
File "/home/jl2113/miniconda3/envs/mageck-vispr/bin/vispr", line 10, in <module>
sys.exit(main())
File "/home/jl2113/miniconda3/envs/mageck-vispr/lib/python3.6/site-packages/vispr/cli.py", line 207, in main
init_server(*args.config, host=args.host, port=args.port)
File "/home/jl2113/miniconda3/envs/mageck-vispr/lib/python3.6/site-packages/vispr/cli.py", line 56, in init_server
app.run(host=host, port=port)
File "/home/jl2113/miniconda3/envs/mageck-vispr/lib/python3.6/site-packages/flask/app.py", line 990, in run
run_simple(host, port, self, **options)
File "/home/jl2113/miniconda3/envs/mageck-vispr/lib/python3.6/site-packages/werkzeug/serving.py", line 1052, in run_simple
inner()
File "/home/jl2113/miniconda3/envs/mageck-vispr/lib/python3.6/site-packages/werkzeug/serving.py", line 1005, in inner
fd=fd,
File "/home/jl2113/miniconda3/envs/mageck-vispr/lib/python3.6/site-packages/werkzeug/serving.py", line 848, in make_server
host, port, app, request_handler, passthrough_errors, ssl_context, fd=fd
File "/home/jl2113/miniconda3/envs/mageck-vispr/lib/python3.6/site-packages/werkzeug/serving.py", line 740, in init
HTTPServer.init(self, server_address, handler)
File "/home/jl2113/miniconda3/envs/mageck-vispr/lib/python3.6/socketserver.py", line 456, in init
self.server_bind()
File "/home/jl2113/miniconda3/envs/mageck-vispr/lib/python3.6/http/server.py", line 136, in server_bind
socketserver.TCPServer.server_bind(self)
File "/home/jl2113/miniconda3/envs/mageck-vispr/lib/python3.6/socketserver.py", line 470, in server_bind
self.socket.bind(self.server_address)
OSError: [Errno 99] Cannot assign requested address
Comments (2)
-
reporter -
Dear Janine,
I am currently having the same problem. Would you tell me how you resolved it?
Thanks
Alex
- Log in to comment
issue was with the cluster, not mageck vispr