You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (response.status>=400) and (response.statusnotin (502, 503)):
343
+
level=logging.ERROR
344
+
self.logger.log(
345
+
level,
346
+
"Querying service endpoint in case we missed some websocket messages. Url: %s Response: '%s' TIP: %s",
343
347
url,
344
-
response,
348
+
f"{response.status}: {response.text()}",
345
349
(
346
-
"Response 401 is OK. It means that service is ready."
347
-
ifresponse.status_code==401
348
-
else"We are emulating the frontend; a 500 response is acceptable if the service is not yet ready."
350
+
"We are emulating the frontend; a 5XX response is acceptable if the service is not yet ready."
349
351
),
350
352
)
351
-
ifresponse.status_code<=401:
353
+
354
+
ifresponse.status<=400:
352
355
# NOTE: If the response status is less than 400, it means that the backend is ready (There are some services that respond with a 3XX)
353
-
# MD: for now I have included 401 - as this also means that backend is ready
354
356
ifself.got_expected_node_progress_types():
355
357
self.logger.warning(
356
-
"⚠️ Progress bar didn't receive 100 percent but service is already running: %s ⚠️", # https://github.com/ITISFoundation/osparc-simcore/issues/6449
358
+
"⚠️ Progress bar didn't receive 100 percent but service is already running: %s. TIP: we missed some websocket messages! ⚠️", # https://github.com/ITISFoundation/osparc-simcore/issues/6449
f"Open {product_url=} using {user_name=}/{user_password=}/{auto_register=}",
344
+
f"Open {product_url=} using {user_name=}/{user_password=}/{auto_register=} with {browser.browser_type.name}:{browser.version}({browser.browser_type.executable_path})",
0 commit comments