mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-11-19 06:36:57 +00:00
|
Some checks failed
CI / go-test (push) Has been cancelled
CI / postgres-durable-first (push) Has been cancelled
CI / codegen (push) Has been cancelled
CI / govulncheck (push) Has been cancelled
CI / race (push) Has been cancelled
CI / fuzz-smoke (push) Has been cancelled
CI / golangci (push) Has been cancelled
CI / frontend (push) Has been cancelled
CodeQL Advanced / Analyze (go) (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (javascript-typescript) (push) Has been cancelled
Release 3X-UI / build (386) (push) Has been cancelled
Release 3X-UI / build (amd64) (push) Has been cancelled
Release 3X-UI / build (arm64) (push) Has been cancelled
Release 3X-UI / build (armv5) (push) Has been cancelled
Release 3X-UI / build (armv6) (push) Has been cancelled
Release 3X-UI / build (armv7) (push) Has been cancelled
Release 3X-UI / build (s390x) (push) Has been cancelled
Release 3X-UI / Build for Windows (push) Has been cancelled
Release 3X-UI / Publish rolling dev release (push) Has been cancelled
Adding a node fails right after that node's panel restarts. nodes/add probes the node's /panel/api/server/status first, and that endpoint returns whatever the @2s ticker last sampled - nil until the first tick lands, so the master reads a healthy panel as unreachable and rejects it with "Add node (remote returned success=false: )", an error whose message is empty because the node answered success with a null obj. The window is far wider than one tick: GetStatus resolved the public IPv4/IPv6 addresses inline and held s.mu across every lookup, so a box with no IPv6 route spent 3s per service - about 15s of nil status after each restart, and the same stall on a fresh panel's first sample. - status now answers from CurrentStatus, which samples on demand when the ticker has not run yet instead of returning a null obj - the public-IP lookups run in the background and outside s.mu, so a status sample never waits on them - probe tells "no status yet" apart from a genuine success=false, so the master's error says something when it meets an older node |
||
|---|---|---|
| .. | ||
| api.go | ||
| api_auth_test.go | ||
| base.go | ||
| client.go | ||
| client_happ_test.go | ||
| client_partial_apply_test.go | ||
| dist.go | ||
| dist_test.go | ||
| geodata_test.go | ||
| group.go | ||
| host.go | ||
| host_test.go | ||
| import_db_restart_test.go | ||
| inbound.go | ||
| inbound_node_sync_test.go | ||
| index.go | ||
| login_limiter.go | ||
| login_limiter_test.go | ||
| node.go | ||
| node_credentials_writeonly_test.go | ||
| panel_update_test.go | ||
| pwa.go | ||
| pwa_test.go | ||
| server.go | ||
| setting.go | ||
| setting_test.go | ||
| spa.go | ||
| spa_test.go | ||
| sub_balancer.go | ||
| sub_balancer_test.go | ||
| util.go | ||
| util_test.go | ||
| websocket.go | ||
| xray_setting.go | ||
| xray_setting_warp_test.go | ||