From 1a98bd13aa786d488255eff70e5ad48f9e8ba35a Mon Sep 17 00:00:00 2001 From: mcottontensor <80377552+mcottontensor@users.noreply.github.com> Date: Thu, 18 Jul 2024 13:48:57 +1000 Subject: [PATCH] Update healthcheck-platform-scripts.yml Windows curl was not failing on localhost. It seemed to be accepting connections unconditionally so I moved the player port to 999 to move away from whatever default service might be on the machine. --- .github/workflows/healthcheck-platform-scripts.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/healthcheck-platform-scripts.yml b/.github/workflows/healthcheck-platform-scripts.yml index 8b5e8a3e..b0c75aed 100644 --- a/.github/workflows/healthcheck-platform-scripts.yml +++ b/.github/workflows/healthcheck-platform-scripts.yml @@ -19,8 +19,8 @@ jobs: - name: Launch and query signalling server using the REST API working-directory: SignallingWebServer run: | - ./platform_scripts/bash/start.sh --rest_api & - curl --retry 10 --retry-delay 20 --retry-connrefused http://localhost/api/status + ./platform_scripts/bash/start.sh --rest_api --player_port 999 & + curl --retry 10 --retry-delay 20 --retry-connrefused http://localhost:999/api/status run-script-macos: if: github.repository == 'EpicGamesExt/PixelStreamingInfrastructure' @@ -31,8 +31,8 @@ jobs: - name: Launch and query signalling server using the REST API working-directory: SignallingWebServer run: | - ./platform_scripts/bash/start.sh --rest_api & - curl --retry 10 --retry-delay 20 --retry-connrefused http://localhost/api/status + ./platform_scripts/bash/start.sh --rest_api --player_port 999 & + curl --retry 10 --retry-delay 20 --retry-connrefused http://localhost:999/api/status run-script-windows: if: github.repository == 'EpicGamesExt/PixelStreamingInfrastructure' @@ -43,6 +43,6 @@ jobs: - name: Launch and query signalling server using the REST API working-directory: SignallingWebServer run: | - Start-Process -NoNewWindow .\platform_scripts\cmd\start.bat --rest_api - curl --retry 10 --retry-delay 20 --retry-connrefused http://localhost/api/status + Start-Process -NoNewWindow ".\platform_scripts\cmd\start.bat" -ArgumentList "--rest_api","--player_port 999" + curl --retry 10 --retry-delay 20 --retry-connrefused http://localhost:999/api/status