diff --git a/go.mod b/go.mod index 858c740..b4cd737 100755 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module zlh-agent -go 1.21.6 +go 1.26.2 require github.com/creack/pty v1.1.21 diff --git a/logs/agent.log b/logs/agent.log index 714ee24..732c1b8 100644 --- a/logs/agent.log +++ b/logs/agent.log @@ -513,3 +513,41 @@ 2026/04/18 21:01:44 [update] periodic checks enabled (mode=notify interval=30m0s) 2026/04/18 21:01:44 [agent] listening on :18888 2026/04/18 21:02:04 [update] notify check failed status=error current=0.0.0-dev target= err=Get "http://zlh-artifacts.internal.zlh:8080/agents/manifest.json": context deadline exceeded (Client.Timeout exceeded while awaiting headers) +2026/04/18 21:32:14 [update] notify check failed status=error current=0.0.0-dev target= err=Get "http://zlh-artifacts.internal.zlh:8080/agents/manifest.json": context deadline exceeded (Client.Timeout exceeded while awaiting headers) +2026/04/18 21:47:43 [agent] shutdown signal received +2026/04/18 21:47:43 [agent] http server stopped gracefully +2026/04/18 21:47:43 [agent] exiting +2026/04/18 21:47:43 [agent] file logging enabled +2026/04/18 21:47:43 [agent] lifecycle logging enabled +2026/04/18 21:47:43 [agent] routes registered +2026/04/18 21:47:43 [autostart] disabled (ok) +2026/04/18 21:47:43 [update] periodic checks enabled (mode=notify interval=30m0s) +2026/04/18 21:47:43 [agent] listening on :18888 +2026/04/18 21:48:03 [update] notify check failed status=error current=0.0.0-dev target= err=Get "http://zlh-artifacts.internal.zlh:8080/agents/manifest.json": context deadline exceeded (Client.Timeout exceeded while awaiting headers) +2026/04/18 22:18:13 [update] notify check failed status=error current=0.0.0-dev target= err=Get "http://zlh-artifacts.internal.zlh:8080/agents/manifest.json": context deadline exceeded (Client.Timeout exceeded while awaiting headers) +2026/04/18 22:48:13 [update] notify check failed status=error current=0.0.0-dev target= err=Get "http://zlh-artifacts.internal.zlh:8080/agents/manifest.json": context deadline exceeded (Client.Timeout exceeded while awaiting headers) +2026/04/18 23:18:13 [update] notify check failed status=error current=0.0.0-dev target= err=Get "http://zlh-artifacts.internal.zlh:8080/agents/manifest.json": context deadline exceeded (Client.Timeout exceeded while awaiting headers) +2026/04/18 23:48:13 [update] notify check failed status=error current=0.0.0-dev target= err=Get "http://zlh-artifacts.internal.zlh:8080/agents/manifest.json": context deadline exceeded (Client.Timeout exceeded while awaiting headers) +2026/04/19 00:18:13 [update] notify check failed status=error current=0.0.0-dev target= err=Get "http://zlh-artifacts.internal.zlh:8080/agents/manifest.json": context deadline exceeded (Client.Timeout exceeded while awaiting headers) +2026/04/19 00:48:13 [update] notify check failed status=error current=0.0.0-dev target= err=Get "http://zlh-artifacts.internal.zlh:8080/agents/manifest.json": context deadline exceeded (Client.Timeout exceeded while awaiting headers) +2026/04/19 01:18:13 [update] notify check failed status=error current=0.0.0-dev target= err=Get "http://zlh-artifacts.internal.zlh:8080/agents/manifest.json": context deadline exceeded (Client.Timeout exceeded while awaiting headers) +2026/04/19 01:48:13 [update] notify check failed status=error current=0.0.0-dev target= err=Get "http://zlh-artifacts.internal.zlh:8080/agents/manifest.json": context deadline exceeded (Client.Timeout exceeded while awaiting headers) +2026/04/19 02:18:13 [update] notify check failed status=error current=0.0.0-dev target= err=Get "http://zlh-artifacts.internal.zlh:8080/agents/manifest.json": context deadline exceeded (Client.Timeout exceeded while awaiting headers) +2026/04/19 02:48:13 [update] notify check failed status=error current=0.0.0-dev target= err=Get "http://zlh-artifacts.internal.zlh:8080/agents/manifest.json": context deadline exceeded (Client.Timeout exceeded while awaiting headers) +2026/04/19 03:18:13 [update] notify check failed status=error current=0.0.0-dev target= err=Get "http://zlh-artifacts.internal.zlh:8080/agents/manifest.json": context deadline exceeded (Client.Timeout exceeded while awaiting headers) +2026/04/19 03:48:13 [update] notify check failed status=error current=0.0.0-dev target= err=Get "http://zlh-artifacts.internal.zlh:8080/agents/manifest.json": context deadline exceeded (Client.Timeout exceeded while awaiting headers) +2026/04/19 04:18:13 [update] notify check failed status=error current=0.0.0-dev target= err=Get "http://zlh-artifacts.internal.zlh:8080/agents/manifest.json": context deadline exceeded (Client.Timeout exceeded while awaiting headers) +2026/04/19 04:48:13 [update] notify check failed status=error current=0.0.0-dev target= err=Get "http://zlh-artifacts.internal.zlh:8080/agents/manifest.json": context deadline exceeded (Client.Timeout exceeded while awaiting headers) +2026/04/19 05:18:13 [update] notify check failed status=error current=0.0.0-dev target= err=Get "http://zlh-artifacts.internal.zlh:8080/agents/manifest.json": context deadline exceeded (Client.Timeout exceeded while awaiting headers) +2026/04/19 05:48:13 [update] notify check failed status=error current=0.0.0-dev target= err=Get "http://zlh-artifacts.internal.zlh:8080/agents/manifest.json": context deadline exceeded (Client.Timeout exceeded while awaiting headers) +2026/04/19 06:18:13 [update] notify check failed status=error current=0.0.0-dev target= err=Get "http://zlh-artifacts.internal.zlh:8080/agents/manifest.json": context deadline exceeded (Client.Timeout exceeded while awaiting headers) +2026/04/19 06:48:13 [update] notify check failed status=error current=0.0.0-dev target= err=Get "http://zlh-artifacts.internal.zlh:8080/agents/manifest.json": context deadline exceeded (Client.Timeout exceeded while awaiting headers) +2026/04/19 07:18:13 [update] notify check failed status=error current=0.0.0-dev target= err=Get "http://zlh-artifacts.internal.zlh:8080/agents/manifest.json": context deadline exceeded (Client.Timeout exceeded while awaiting headers) +2026/04/19 07:48:13 [update] notify check failed status=error current=0.0.0-dev target= err=Get "http://zlh-artifacts.internal.zlh:8080/agents/manifest.json": context deadline exceeded (Client.Timeout exceeded while awaiting headers) +2026/04/19 08:18:13 [update] notify check failed status=error current=0.0.0-dev target= err=Get "http://zlh-artifacts.internal.zlh:8080/agents/manifest.json": context deadline exceeded (Client.Timeout exceeded while awaiting headers) +2026/04/19 08:48:13 [update] notify check failed status=error current=0.0.0-dev target= err=Get "http://zlh-artifacts.internal.zlh:8080/agents/manifest.json": context deadline exceeded (Client.Timeout exceeded while awaiting headers) +2026/04/19 09:18:13 [update] notify check failed status=error current=0.0.0-dev target= err=Get "http://zlh-artifacts.internal.zlh:8080/agents/manifest.json": context deadline exceeded (Client.Timeout exceeded while awaiting headers) +2026/04/19 09:48:13 [update] notify check failed status=error current=0.0.0-dev target= err=Get "http://zlh-artifacts.internal.zlh:8080/agents/manifest.json": context deadline exceeded (Client.Timeout exceeded while awaiting headers) +2026/04/19 10:18:13 [update] notify check failed status=error current=0.0.0-dev target= err=Get "http://zlh-artifacts.internal.zlh:8080/agents/manifest.json": context deadline exceeded (Client.Timeout exceeded while awaiting headers) +2026/04/19 10:48:13 [update] notify check failed status=error current=0.0.0-dev target= err=Get "http://zlh-artifacts.internal.zlh:8080/agents/manifest.json": context deadline exceeded (Client.Timeout exceeded while awaiting headers) +2026/04/19 11:18:13 [update] notify check failed status=error current=0.0.0-dev target= err=Get "http://zlh-artifacts.internal.zlh:8080/agents/manifest.json": context deadline exceeded (Client.Timeout exceeded while awaiting headers) diff --git a/state/update.json b/state/update.json index bf19a79..cc0a30e 100644 --- a/state/update.json +++ b/state/update.json @@ -2,5 +2,5 @@ "status": "error", "current": "0.0.0-dev", "error": "Get \"http://zlh-artifacts.internal.zlh:8080/agents/manifest.json\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)", - "checked_at_utc": "2026-04-18T21:01:54Z" + "checked_at_utc": "2026-04-19T11:18:03Z" } \ No newline at end of file diff --git a/zlh-agent b/zlh-agent index 1eee8f8..abcfcec 100755 Binary files a/zlh-agent and b/zlh-agent differ