- Go 1.22 docker 重 build scard connector-linux-amd64 (md5 5c41d7240c523128c50570558f9059fc) 解决 Go 1.26 ELF ↔ OrbStack VM 内核 7.0.11-orbstack ABI 错配 (SEGV) build 命令: docker run --rm -e GOPROXY=https://goproxy.cn,direct -v ... golang:1.22-alpine - scard connector main.go: secret 来源从 loadOrCreateSessionSecret (每次启动随机) 改为 os.Getenv(SSW_CONNECTOR_SESSION_SECRET) || c.deviceID, 与 Java 端 connector_code 对齐 - application.yml: sa-token exclude-url 加 /api/ssw/tds/Connector/*/PullSession (V1.5+) - K8sSandboxClient.PartySession 加 expiry 字段, yaml 加 SSW_CONNECTOR_EXPIRY + SSW_CONNECTOR_TASK_ID env - nax_2p.py: _handshake_if_connector 用 env 的 expiry+taskId (不再自算避免不匹配), 删 [A] epX dec-u/enc-d [B] epX dec-d 三行调试 print - K8sExec.findLastJsonLine: kubectl logs --tail=-1 实际返回全部, 用可 parseJson 行作 resultJson - 两 VM systemd unit: Environment=SSW_CONNECTOR_SESSION_SECRET=J7NODE-A/B + --session-listen :9443 验证: curl POST Nax2PJob {connectorMode: connector, partyAConnectorId: J7NODE-A, partyBConnectorId: J7NODE-B} → code=200, status=SUCCESS, AUC=0.7794 KS=0.5128, [CONNECTOR] handshake admitted role=A connector=J7NODE-A [PSI] A 侧交集样本数=300 (原始 uid/特征未跨 VM), [VLR] A 侧训练完成 AUC=0.7794 KS=0.5128
8.1 MiB
Executable File
8.1 MiB
Executable File
The file is too large to be shown.
View Raw