Skip to content

Commit

Permalink
Update healthcheck-platform-scripts.yml
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mcottontensor authored Jul 18, 2024
1 parent 68bdfda commit 1a98bd1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/healthcheck-platform-scripts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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'
Expand All @@ -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

0 comments on commit 1a98bd1

Please sign in to comment.