DEBUG:    2+  >>>> & $env:CAPTURE_SCRIPT

DEBUG:   16+  >>>> $ErrorActionPreference = "Stop"

DEBUG:   17+  >>>> [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12

DEBUG:   19+  >>>> $repo = "pingdotgg/t3code"

DEBUG:   20+  >>>> $baseUrl = if ($env:T3CODE_RELEASE_BASE_URL) { $env:T3CODE_RELEASE_BASE_URL.TrimEnd("/") } else { "http://127.0.0.1:41691/$repo/releases/download" }

DEBUG:   20+ $baseUrl = if ( >>>> $env:T3CODE_RELEASE_BASE_URL) { $env:T3CODE_RELEASE_BASE_URL.TrimEnd("/") } else { "http://127.0.0.1:41691/$repo/releases/download" }

DEBUG:   20+ $baseUrl = if ($env:T3CODE_RELEASE_BASE_URL) {  >>>> $env:T3CODE_RELEASE_BASE_URL.TrimEnd("/") } else { "http://127.0.0.1:41691/$repo/releases/download" }

DEBUG:   21+  >>>> $t3Home = if ($env:T3CODE_HOME) { $env:T3CODE_HOME } else { Join-Path $HOME ".t3" }

DEBUG:   21+ $t3Home = if ( >>>> $env:T3CODE_HOME) { $env:T3CODE_HOME } else { Join-Path $HOME ".t3" }

DEBUG:   21+ $t3Home = if ($env:T3CODE_HOME) {  >>>> $env:T3CODE_HOME } else { Join-Path $HOME ".t3" }

DEBUG:   22+  >>>> $binDir = if ($env:T3CODE_INSTALL_BIN_DIR) { $env:T3CODE_INSTALL_BIN_DIR } else { Join-Path $HOME ".local\bin" }

DEBUG:   22+ $binDir = if ( >>>> $env:T3CODE_INSTALL_BIN_DIR) { $env:T3CODE_INSTALL_BIN_DIR } else { Join-Path $HOME ".local\bin" }

DEBUG:   22+ $binDir = if ($env:T3CODE_INSTALL_BIN_DIR) {  >>>> $env:T3CODE_INSTALL_BIN_DIR } else { Join-Path $HOME ".local\bin" }

DEBUG:   24+  >>>> $binDir = $ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($binDir)

DEBUG:   31+  >>>> $terminal = -not [Console]::IsErrorRedirected -and $env:TERM -ne "dumb"

DEBUG:   32+  >>>> $interactive = $terminal -and $Host.UI.SupportsVirtualTerminal

DEBUG:   33+ if ( >>>> $interactive) {

DEBUG:   39+  >>>> $esc = [char]27

DEBUG:   40+  >>>> $reset = $bold = $muted = $accent = $green = ""

DEBUG:   40+ $reset =  >>>> $bold = $muted = $accent = $green = ""

DEBUG:   40+ $reset = $bold =  >>>> $muted = $accent = $green = ""

DEBUG:   40+ $reset = $bold = $muted =  >>>> $accent = $green = ""

DEBUG:   40+ $reset = $bold = $muted = $accent =  >>>> $green = ""

DEBUG:   41+ if ( >>>> $interactive -and -not $env:NO_COLOR) {

DEBUG:  102+  >>>> [Console]::Error.WriteLine("CAPTURE_DISPATCH terminal=$terminal interactive=$interactive mechanism=W encoding=$([Console]::Error.Encoding.WebName)")

DEBUG:  102+ [Console]::Error.WriteLine("CAPTURE_DISPATCH terminal=$terminal interactive=$interactive mechanism=W encoding=$( >>>> [Console]::Error.Encoding.WebName)")

CAPTURE_DISPATCH terminal=False interactive=False mechanism=W encoding=utf-8
DEBUG:  104+  >>>> Fetch $env:CAPTURE_URL $env:CAPTURE_DEST

DEBUG:   67+ function Fetch([string] $uri, [string] $destination, [switch] $progress)  >>>> {

DEBUG:   68+   if ( >>>> -not $progress -or -not $interactive) {

DEBUG:   69+      >>>> $ProgressPreference = if ($progress -and $terminal) { "Continue" } else { "SilentlyContinue" }

DEBUG:   69+     $ProgressPreference = if ( >>>> $progress -and $terminal) { "Continue" } else { "SilentlyContinue" }

DEBUG:   69+     $ProgressPreference = if ($progress -and $terminal) { "Continue" } else {  >>>> "SilentlyContinue" }

DEBUG:   70+      >>>> Invoke-WebRequest -Uri $uri -OutFile $destination -UseBasicParsing

DEBUG:  109+    >>>> [Console]::Error.WriteLine("EXCEPTION_TYPE=$($_.Exception.GetType().FullName)")

DEBUG:  109+   [Console]::Error.WriteLine("EXCEPTION_TYPE=$( >>>> $_.Exception.GetType().FullName)")

EXCEPTION_TYPE=Microsoft.PowerShell.Commands.HttpResponseException
DEBUG:  110+    >>>> [Console]::Error.WriteLine("ORIGINAL_STATUS=$([int]$_.Exception.Response.StatusCode)")

DEBUG:  110+   [Console]::Error.WriteLine("ORIGINAL_STATUS=$( >>>> [int]$_.Exception.Response.StatusCode)")

ORIGINAL_STATUS=504
DEBUG:  111+    >>>> [Console]::Error.WriteLine("STATUS_VALUE=$($_.Exception.Response.StatusCode.value__)")

DEBUG:  111+   [Console]::Error.WriteLine("STATUS_VALUE=$( >>>> $_.Exception.Response.StatusCode.value__)")

STATUS_VALUE=504
DEBUG:  112+    >>>> [Console]::Error.WriteLine("EXCEPTION=$($_.Exception.Message)")

DEBUG:  112+   [Console]::Error.WriteLine("EXCEPTION=$( >>>> $_.Exception.Message)")

EXCEPTION=Response status code does not indicate success: 504 (Gateway Timeout).
DEBUG:  113+    >>>> throw

DEBUG:  114+ } finally {  >>>> [Console]::Error.WriteLine("CAPTURE_CALLER_FINALLY") }

CAPTURE_CALLER_FINALLY
Invoke-WebRequest: /tmp/lead-32913-r1/evidence-capture/runs-20261110T104757.726561Z/P19-504-403-W/before/install.ps1:70
Line |
  70 |      Invoke-WebRequest -Uri $uri -OutFile $destination -UseBasicParsin …
     |      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | synthetic HTTP 504 
