You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: hypaware-core/plugins-workspace/central/src/identity_client.js
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -88,7 +88,9 @@ export class IdentityClient {
88
88
asyncbootstrap(){
89
89
consttoken=this.bootstrapToken
90
90
if(typeoftoken!=='string'||token.length===0){
91
-
thrownewError('identity bootstrap failed: identity.bootstrap_token is not set')
91
+
thrownewError(
92
+
'identity bootstrap failed: identity.bootstrap_token is not set. Run `hyp join <central-url> <token>` to enroll this host, or remove the central sink if you only capture locally'
return"this host hasn't joined a fleet. Run `hyp join <central-url> <token>` to enable the central sink, or ignore this warning if you only capture locally"
49
+
}
50
+
if(err.errorKind==='sink_plugin_not_active'){
51
+
return`expected for read-only commands (the writer/destination plugin for '${err.instance}' isn't loaded here); the running daemon is unaffected`
52
+
}
53
+
returnundefined
54
+
}
55
+
35
56
/**
36
57
* Boot the kernel CLI and dispatch `argv` to a registered command.
'No backfill providers matched your active config. Providers are registered but none are enabled here. Run `hyp backfill list` to see them, or name one explicitly (e.g. `hyp backfill claude`).\n'
75
+
)
72
76
}else{
73
-
ctx.stdout.write('No backfill providers selected. Run `hyp backfill list` for the registered set.\n')
77
+
ctx.stdout.write(
78
+
'No backfill providers registered. No active plugin contributes one; check enabled plugins with `hyp daemon status`, and if you just joined a fleet the config may still be syncing.\n'
79
+
)
74
80
}
75
81
return0
76
82
}
@@ -157,6 +163,9 @@ export async function runBackfillList(argv, ctx) {
'No active plugin contributes a backfill provider. Check enabled plugins with `hyp daemon status`; if you just joined a fleet, the config may still be syncing.\n'
return`${base}. Source '${source}' could not bind ${addr}; another process (a second HypAware daemon or an unrelated service) already holds it. Stop that process or change the listen address, then restart the daemon.`
576
+
}
577
+
returnbase
578
+
}
579
+
560
580
/**
561
581
* Start every registered source that has not auto-started during
562
582
* `activate()`. Returns one snapshot per source — including the
0 commit comments