zmq_url to zmq_port (#563)

* zmq_url to port

* lazy commit
This commit is contained in:
Ethan Weber authored and GitHub committed 2022-09-27 14:02:03 -07:00
1 parent 1267045aed
commit 1f484661f2
7 files changed
+38 -35

No files matched your search

+2 -2
View File
@@ -69,10 +69,10 @@ def run_viewer_bridge_server_as_subprocess(zmq_port: int, websocket_port: int, l
time.sleep(0.5)
string = f"\nThe viewer bridge server subprocess failed. Please check the log file {log_filename}.\n"
string += (
"You likely have to modify --viewer.zmq-url and/or --viewer.websocket-port in the "
"You likely have to modify --viewer.zmq-port and/or --viewer.websocket-port in the "
"config to avoid conflicting ports.\n"
)
string += "Try modifying --viewer.zmq-url tcp://127.0.0.1:6000 --viewer.websocket-port 7007\n"
string += "Try modifying --viewer.zmq-port 6000 --viewer.websocket-port 7007\n"
CONSOLE.print(f"[bold red]{string}")
cleanup(process)
# This exists the entire program. sys.exit() will only kill the thread that this runs in.