Hi all,
I’m trying to debug a NVIDIA Sync issue after updating to NVIDIA Sync macOS 0.97.6.
Posting here in case anyone else has hit this or knows which config path the Sync daemon actually reads during Connect.
Summary:
-
DGX Spark is reachable over LAN.
-
Terminal SSH works.
-
SSH works using NVIDIA Sync’s own private key.
-
SSH works using NVIDIA Sync’s own ssh_config.
-
NVIDIA Sync state-store.json contains the hostname.
-
NVIDIA Sync ssh_config contains the hostname.
-
But when I click Connect, NVIDIA Sync fails with:
Unexpected Error: no Hostname defined for 'SparkLAN'
The same issue also happens with my original profile:
Unexpected Error: no Hostname defined for 'RawDGXSpark'
I have redacted usernames/IPs below.
Environment:
Client: macOS
App: NVIDIA Sync
NVIDIA Sync version: 0.97.6
NVIDIA Sync build: 0.97.6.2466
Device: DGX Spark
DGX hostname: spark-xxxx.local
LAN IP: 192.168.x.x
DGX user: <dgx-user>
Sync config path: ~/Library/Application Support/NVIDIA/Sync/config/
The issue started after updating NVIDIA Sync to 0.97.6. I did not intentionally change the DGX Spark SSH server configuration at the same time.
Initial recovery attempt:
rm -rf ~/Library/Application\ Support/NVIDIA/Sync/config/*
ssh-keygen -R 192.168.x.x
ssh <dgx-user>@192.168.x.x
This restored normal Terminal SSH, but NVIDIA Sync still failed.
I then verified SSH using NVIDIA Sync’s own private key:
ssh -i "$HOME/Library/Application Support/NVIDIA/Sync/config/nvsync.key" \
-o IdentitiesOnly=yes \
-o BatchMode=yes \
-o ConnectTimeout=5 \
<dgx-user>@192.168.x.x 'hostname && whoami'
Output:
spark-xxxx
<dgx-user>
I also verified SSH through NVIDIA Sync’s own ssh_config:
ssh -F "$HOME/Library/Application Support/NVIDIA/Sync/config/ssh_config" SparkLAN \
'hostname && whoami'
Output:
spark-xxxx
<dgx-user>
For the fresh LAN-IP profile, NVIDIA Sync’s state-store.json contains:
alias: SparkLAN
hostname: 192.168.x.x
status: disconnected
error: Unexpected Error: no Hostname defined for 'SparkLAN'
NVIDIA Sync’s ssh_config contains:
Host SparkLAN
### CreatedBy: NVIDIA Sync
### UsedBy: NVIDIA Sync
HostName 192.168.x.x
IdentityFile "~/Library/Application Support/NVIDIA/Sync/config/nvsync.key"
Port 22
User <dgx-user>
But after clicking Connect, NVIDIA Sync’s log repeatedly shows:
timeout exceeded: connection refused
url: /status
Then the per-device daemon reports:
{
"message": "daemon left an error message",
"hostname": "SparkLAN",
"details": "no Hostname defined for 'SparkLAN'"
}
followed by:
{
"message": "could not verify that started daemon is up, stopping daemon",
"error": "Unexpected Error: no Hostname defined for 'SparkLAN'",
"alias": "SparkLAN"
}
Things checked/tried:
-
Verified direct SSH to LAN IP works.
-
Verified direct SSH to mDNS hostname works.
-
Verified SSH works with NVIDIA Sync’s private key.
-
Verified OpenSSH can use NVIDIA Sync’s own ssh_config.
-
Verified known_hosts contains the LAN hostname/IP.
-
Verified state-store.json contains the device hostname.
-
Verified Sync ssh_config contains HostName, IdentityFile, Port, and User.
-
Created a fresh manual LAN-IP profile called SparkLAN.
-
Tried both the original profile and the fresh LAN-IP profile.
-
Tried changing ssh_config field casing from Hostname to HostName.
-
Cleared only the cached error field in state-store.json and restarted Sync.
Additional note:
I found related forum posts about NVIDIA Sync, ssh_config, known_hosts, hostname/IP mismatch, and macOS daemon startup issues, but I could not find this exact “no Hostname defined” case.
Current conclusion:
This does not look like a DGX Spark reachability or SSH server issue, because SSH works with the same host/user/key outside the Sync UI.
It looks like the NVIDIA Sync per-device daemon is either not reading the same config that the UI writes, or is failing to parse/resolve the host alias during Connect.
Question for the community:
Has anyone seen NVIDIA Sync on macOS 0.97.6 report:
no Hostname defined for '<device alias>'
even though both state-store.json and NVIDIA Sync’s ssh_config contain the hostname?
Also, does anyone know whether the per-device Sync daemon reads:
~/Library/Application Support/NVIDIA/Sync/config/ssh_config
or normal:
~/.ssh/config
or state-store.json directly?
Any workaround would be appreciated before I try a full Sync reset.
The screenshot below shows the fresh LAN-IP profile “SparkLAN” failing with the same “no Hostname defined” error after clicking Connect.
