diff --git a/apps/cli/executables/pexable/carta_envoy/carta_envoy/launchers.py b/apps/cli/executables/pexable/carta_envoy/carta_envoy/launchers.py index f6668174819a41bc1c3945669a73fc0caee7f3cb..abfba6476e142717cec5d5870353181325e9bb10 100644 --- a/apps/cli/executables/pexable/carta_envoy/carta_envoy/launchers.py +++ b/apps/cli/executables/pexable/carta_envoy/carta_envoy/launchers.py @@ -188,7 +188,11 @@ class CartaLauncher: try: # finish setup for CARTA and ensure completion before launch CartaWrapperLauncher.deploy_wrapper_html(file_browser_path, carta_url, session_timeout_date) - time.sleep(3) + # BIG NASTY COMMENT OF DOOM!!!!! + # DO NOT REMOVE!! + # This is required to ensure that proxy url setup is complete *before* CARTA launches. + # Without this, users are presented with a 404 page on launch as of CARTA3 + time.sleep(2) # start CARTA CARTA_PROCESS = subprocess.Popen( @@ -202,8 +206,6 @@ class CartaLauncher: self.teardown() sys.exit(f"ERROR: Failed to launch CARTA: {err}") else: - # CartaWrapperLauncher.deploy_wrapper_html(file_browser_path, carta_url, session_timeout_date) - # CARTA is running and accessible, so send CARTA URL to AAT system or notify user self.notify_ready(wrapper_url)