#4.29 gateway launch bug?

1 messages Β· Page 1 of 1 (latest)

tepid eagle
#

11:00:23 [discord] startup [default] native-slash-command-deploy-rest:patch:error 13289ms path=/applications/1476400103974506606/commands/1499958032837378068 requestMs=294 error=You are being rate limited. (status=429, body={"message":"You are being rate limited.","retry_after":2.304,"global":false})
11:00:26 [discord] startup [default] native-slash-command-deploy-rest:patch:error 16703ms path=/applications/1476400103974506606/commands/1492554734022820001 requestMs=289 error=You are being rate limited. (status=429, body={"message":"You are being rate limited.","retry_after":2.772,"global":false})
11:00:47 [discord] startup [default] native-slash-command-deploy-rest:patch:error 37492ms path=/applications/1476400103974506606/commands/1499958032837378068 requestMs=296 error=You are being rate limited. (status=429, body={"message":"You are being rate limited.","retry_after":2.427,"global":false})
11:00:47 [discord] discord: native slash command deploy warning (not message send): You are being rate limited. (status=429, body={"message":"You are being rate limited.","retry_after":2.427,"global":false})

lament lagoonBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> βœ… Mark Solution

tepid eagle
#

11:00:23 [discord] startup [default] native-slash-command-deploy-rest:patch:error 13289ms path=/applications/1476400103974506606/commands/1499958032837378068 requestMs=294 error=You are being rate limited. (status=429, body={"message":"You are being rate limited.","retry_after":2.304,"global":false})
11:00:26 [discord] startup [default] native-slash-command-deploy-rest:patch:error 16703ms path=/applications/1476400103974506606/commands/1492554734022820001 requestMs=289 error=You are being rate limited. (status=429, body={"message":"You are being rate limited.","retry_after":2.772,"global":false})
11:00:47 [discord] startup [default] native-slash-command-deploy-rest:patch:error 37492ms path=/applications/1476400103974506606/commands/1499958032837378068 requestMs=296 error=You are being rate limited. (status=429, body={"message":"You are being rate limited.","retry_after":2.427,"global":false})
11:00:47 [discord] discord: native slash command deploy warning (not message send): You are being rate limited. (status=429, body={"message":"You are being rate limited.","retry_after":2.427,"global":false})
11:01:05 [ws] ⇄ res βœ“ agents.list 356ms conn=51b9e94f…0d3b id=e81ba572…4482
11:01:05 [ws] ⇄ res βœ“ chat.history 81ms conn=51b9e94f…0d3b id=296df24b…4bc2
[cron:f1375858-4aca-4b63-a340-3865d910b2c7] Thinking level "adaptive" is not supported for openai-codex/gpt-5.4-mini; downgrading to "medium".
11:02:02 [agent/embedded] [trace:embedded-run] startup stages: runId=19387f3e-9861-48a2-8d7f-2fd705b3e227 sessionId=19387f3e-9861-48a2-8d7f-2fd705b3e227 phase=attempt-dispatch totalMs=10579 stages=workspace:1ms@1ms,runtime-plugins:200ms@201ms,hooks:3ms@204ms,model-resolution:5371ms@5575ms,auth:3254ms@8829ms,context-engine:2ms@8831ms,attempt-dispatch:1748ms@10579ms
11:02:09 [diagnostic] liveness warning: reasons=event_loop_delay,cpu interval=32s eventLoopDelayP99Ms=4647.3 eventLoopDelayMaxMs=9235.9 eventLoopUtilization=0.849 cpuCoreRatio=0.919 active=0 waiting=0 queued=0
11:02:18 [agent/embedded] [trace:embedded-run] prep stages: runId=19387f3e-9861-48a2-8d7f-2fd705b3e227 sessionId=19387f3e-9861-48a2-8d7f-2fd705b3e227 phase=stream-ready totalMs=15931 stages=workspace-sandbox:3ms@3ms,skills:0ms@3ms,core-plugin-tools:6722ms@6725ms,bootstrap-context:18ms@6743ms,bundle-tools:592ms@7335ms,system-prompt:3177ms@10512ms,session-resource-loader:2257ms@12769ms,agent-session:3ms@12772ms,stream-setup:3158ms@15930ms
[cron:470eb540-399d-49c8-b7b7-872d102b9eb4] Thinking level "adaptive" is not supported for openai-codex/gpt-5.4-mini; downgrading to "medium".

@modest acorn

hallow spindle
#

This is happening to me too. These updates are absolutely disgusting

desert hollow
#

Have the same issue, bonjour gateway conflict and liveness warning

hallow spindle
#

I solved this by using the main commits until 30 comes up

hallow spindle
#

Run OpenClaw from the latest GitHub main branch on Windows
This routine lets you switch between the global npm OpenClaw install and a local checkout of GitHub main.
SRC main is experimental. GLOBAL npm is the stable fallback.
It keeps your existing OpenClaw config, tokens, memories, channel setup, and agents.
Source checkout:
%USERPROFILE%\src\openclaw-main
Existing config:
%USERPROFILE%.openclaw\openclaw.json
Local backups, not Desktop/OneDrive:
%LOCALAPPDATA%\OpenClawBackups
Active Git commit:
%USERPROFILE%.openclaw\src-main-current-commit.txt
Security note: this does not print or expose your tokens/config, but SRC main makes your real gateway run code from GitHub main. Only use it if you trust the current main branch. The GLOBAL npm shortcut remains your fallback.

  1. Install/update main and point the gateway to it
    Run in PowerShell:
    $ErrorActionPreference = "Stop"

$openclawDir = Join-Path $env:USERPROFILE ".openclaw"
$repo = Join-Path $env:USERPROFILE "src\openclaw-main"
$gatewayCmd = Join-Path $openclawDir "gateway.cmd"
$taskName = "OpenClaw Gateway"
$commitFile = Join-Path $openclawDir "src-main-current-commit.txt"

New-Item -ItemType Directory -Force -Path $openclawDir | Out-Null

function Get-BackupRoot {
$backupRoot = Join-Path $env:LOCALAPPDATA "OpenClawBackups"
New-Item -ItemType Directory -Force -Path $backupRoot | Out-Null
return $backupRoot
}

function Prune-OpenClawBackups {
param([int] $Keep = 10)

Get-ChildItem -LiteralPath (Get-BackupRoot) -Filter "openclaw-config-backup-*.zip" -File -ErrorAction SilentlyContinue |
Sort-Object LastWriteTime -Descending |
Select-Object -Skip $Keep |
Remove-Item -Force
}

function New-OpenClawConfigBackup {
param([string] $Stamp)

$backupZip = Join-Path (Get-BackupRoot) "openclaw-config-backup-$Stamp.zip"

#

$stage = Join-Path $env:TEMP "openclaw-config-backup-$Stamp"

if (Test-Path -LiteralPath $stage) {
Remove-Item -LiteralPath $stage -Recurse -Force
}

New-Item -ItemType Directory -Force -Path $stage | Out-Null

try {
$filesToBackup = @(
"openclaw.json",
"openclaw.json.last-good",
"gateway.cmd",
"gateway-restart-intent.json",
"update-check.json",
"exec-approvals.json",
"src-main-current-commit.txt"
)

foreach ($name in $filesToBackup) {
  $source = Join-Path $openclawDir $name
  if (Test-Path -LiteralPath $source) {
    Copy-Item -LiteralPath $source -Destination $stage -Force
  }
}

Get-ChildItem -LiteralPath $openclawDir -Filter "openclaw.json.bak*" -File -ErrorAction SilentlyContinue |
  Copy-Item -Destination $stage -Force

$stagedFiles = Get-ChildItem -LiteralPath $stage -File -ErrorAction SilentlyContinue
if (-not $stagedFiles) {
  Write-Host "No OpenClaw config files found to back up."
  return
}

Compress-Archive -Path (Join-Path $stage "*") -DestinationPath $backupZip -Force
Write-Host "Config backup written to: $backupZip"

}
finally {
if (Test-Path -LiteralPath $stage) {
Remove-Item -LiteralPath $stage -Recurse -Force
}
}
}
function Get-PackageVersion($root) {
$packageJson = Join-Path $root "package.json"
if (-not (Test-Path -LiteralPath $packageJson)) { return "unknown" }
return (Get-Content -LiteralPath $packageJson -Raw | ConvertFrom-Json).version
}

function Assert-OfficialRemote($root) {
$origin = git -C $root remote get-url origin

#

if ($origin -notmatch "github.com[:/]openclaw/openclaw(.git)?$") {
throw "Unexpected OpenClaw git remote: $origin"
}
}

node --version
npm --version
git --version

if (-not (Get-Command pnpm -ErrorAction SilentlyContinue)) {
npm install -g pnpm@latest
}
pnpm --version

if (-not (Test-Path -LiteralPath $repo)) {
New-Item -ItemType Directory -Force -Path (Split-Path $repo) | Out-Null
git clone https://github.com/openclaw/openclaw.git $repo
}

Assert-OfficialRemote $repo

git -C $repo fetch origin main
git -C $repo checkout main
git -C $repo pull --ff-only origin main

$stamp = Get-Date -Format yyyyMMdd-HHmmss
New-OpenClawConfigBackup -Stamp $stamp
Prune-OpenClawBackups

Push-Location -LiteralPath $repo
try {
pnpm install --frozen-lockfile
pnpm build
pnpm ui:build

$commit = git rev-parse HEAD
$version = Get-PackageVersion $repo
$commit | Set-Content -LiteralPath $commitFile -Encoding ASCII
}
finally {
Pop-Location
}

if (Test-Path -LiteralPath $gatewayCmd) {
Copy-Item -LiteralPath $gatewayCmd -Destination "$gatewayCmd.pre-src-main-$stamp" -Force
}

$node = (Get-Command node).Source

$content = @"
@echo off
rem OpenClaw Gateway (src main)
set "HOME=$env:USERPROFILE"
set "TMPDIR=$env:TEMP"

#

set "OPENCLAW_GATEWAY_PORT=18789"
set "OPENCLAW_WINDOWS_TASK_NAME=OpenClaw Gateway"
set "OPENCLAW_SERVICE_MARKER=openclaw"
set "OPENCLAW_SERVICE_KIND=gateway"
set "OPENCLAW_SERVICE_VERSION=$version"
"$node" "$repo\dist\index.js" gateway --port 18789
"@

Set-Content -LiteralPath $gatewayCmd -Value $content -Encoding ASCII

Stop-ScheduledTask -TaskName $taskName -ErrorAction SilentlyContinue
Start-Sleep -Seconds 2
Start-ScheduledTask -TaskName $taskName
Start-Sleep -Seconds 30

Push-Location -LiteralPath $repo
try {
pnpm openclaw doctor
pnpm openclaw gateway status
pnpm openclaw gateway health
}
finally {
Pop-Location
}

Write-Host "Active SRC main version: $version"
Write-Host "Active SRC main commit: $commit"
Write-Host "Commit recorded in: $commitFile"

#

Past this in any chatbox before, to see if it applies to you / your system, and of course check for errors. Copy everything after: Run in PowerShell to powershell.