Troubleshooting
connect() fails with an attestation error
These come from App Attest or Play Integrity, so you won't see them on the brokered route.
attestationRejected / AttestationRejected
The attestation reached Wi-DAS but didn't match a registered app.
- Android — the wrong certificate. Easily the most common cause. Register Google's app-signing cert SHA-256, not your upload cert. See the Play App Signing trap.
- iOS — the app isn't registered. Confirm your Team ID + bundle ID are registered against
your
clientId. - A bundle or package mismatch. The attested identity has to match your registry entry exactly.
Fix the registration; there's nothing to retry.
attestationUnavailable / AttestationUnavailable
The platform couldn't produce an attestation at all.
- iOS — you're on the Simulator. App Attest isn't available there. Test on a real device.
- Android — no Google Play Services. Play Integrity depends on it, so de-Googled devices can't attest. Issue through a Broker if you need to reach those devices.
Degrade the UI here. Don't loop on it.
connect() fails with entitlementMissing / EntitlementMissing
Both SDKs check the causes you can fix yourself before any network call, attestation or key generation, so this one often fires instantly rather than after a round trip. That's deliberate: failing at the last step would mean the server had already issued — and burned — a certificate your app could never install.
Work through these in order:
- Is a
clientIdactually configured? Whitespace counts as blank, which is what an unsubstituted build placeholder collapses to. - iOS — are the entitlements on?
com.apple.developer.networking.HotspotConfigurationalways, andcom.apple.developer.devicecheck.appattest-environmenttoo if you issue through App Attest. - Android — did
android.permission.CHANGE_WIFI_STATEsurvive the merge? The SDK declares it, but manifest-merger rules in a host app can strip it back out. - Otherwise it came from the server, which means your Client is unknown, or the Client or its
parent Partner has been disabled. On the brokered route it can also mean Wi-DAS answered
brokerNotAuthorised: your Broker isn't registered to issue for thisclientId, or it's been disabled. Either way, that one needs your Wi-DAS technical contact.
The error code deliberately doesn't distinguish these, but the SDK logs which it was — the
com.widas.sdk subsystem in Console on iOS, Logcat on Android. Check the log before escalating.
passpointInstallFailed / PasspointInstallFailed
The certificate was issued, but the profile wouldn't install.
- iOS — check the Hotspot Configuration entitlement and that the Keychain access group you
passed matches your Keychain Sharing group. The client cert and Secure Enclave key have to share it
so a
SecIdentitycan form. - Android — check the Wi-Fi permissions merged and that the device supports Passpoint suggestions.
The certificate installs but the device won't join Wi-Fi
Start with debugInfo(). This is the case it was built for: your app succeeded, so
the disagreement sits between the configuration Wi-DAS resolved for your Client and what your network
expects, and the payload puts both halves side by side. Ask your Wi-DAS technical contact to enable
DevMode for your Client first, or the call comes back empty.
Check radius.realm against what your RADIUS estate expects. Then check passpoint.homeFqdn is set
and holds a different value from the realm. They're two names doing two jobs, and EAP-TLS fails the
server-name check when they're confused for one another.
Beyond that, this one is usually a network-side trust issue on the RADIUS end.
- RADIUS rejects EC certificates. The SDK defaults to EC P-256. If your Wi-DAS RADIUS server doesn't accept EC EAP-TLS client certificates, the key algorithm needs to fall back to RSA-2048. Confirm during on-device testing.
- Server-trust path can't build. The profile anchors server trust on the supplied
serverCaPemand refuses to install without it. Your AAA/RADIUS server has to present its full intermediate chain in the handshake. Send only the leaf and path-building fails. It's a network configuration detail, not an SDK bug.
status() keeps returning valid from local data
When the status lookup is unavailable, status() falls back to the validity window it stored
locally, which is expected. The real revocation check happens at RADIUS: a revoked certificate can't
complete EAP-TLS whatever status() says. So treat status() as advisory UI, and lean on the
network for the truth.
A user has more than one valid certificate
This is expected. Wi-DAS keeps one valid certificate per device, not per user, so someone with a phone and a laptop holds two. A user can also end up with an extra certificate on the same handset:
- iOS — the keychain is wiped. The SDK keeps its device identifier in the keychain, which normally outlives your app being reinstalled. It's lost when the keychain itself is wiped, for example by erasing all content and settings. After that, Wi-DAS sees a new device.
- Android — a reinstall or cleared app data. The SDK's device identifier is deleted when your app is uninstalled or its data is cleared, so the app enrols as a new device. If your app's Auto Backup restores the SDK's preferences on reinstall, the identifier comes back with them.
Nothing replaces the old certificate, so it stays valid until its own expiry and then lapses. You don't need to clean it up. It's usually unusable in the meantime too, because its private key was wiped along with the identifier.
Restoring onto a new iPhone also counts as a new device, but nothing is left behind. The old phone keeps its own working certificate until it's disconnected or the certificate expires, just like any user with two devices.
If you want a particular old certificate revoked before it expires, or certificates keep piling up for
one user without reinstalls or wipes to explain them, send the serial or serials to your Wi-DAS
technical contact. You get the serial from connect() and status().
If you'd rather the window were shorter for all your users, you have two options:
- Pass a shorter
requestedValiditytoconnect(). Wi-DAS never issues for longer than you ask. - Ask your Wi-DAS technical contact for a lower validity cap on your Partner, which applies whatever your app requests.
Either way, the SDK doesn't renew on its own. Your app has to call connect() when status()
reports the certificate has expired, so a shorter validity means your users re-enrol more often.
Retry, or fix the config?
| Symptom | Retry? |
|---|---|
network / Network | ✅ Retry with backoff. |
serviceUnavailable / ServiceUnavailable | ✅ Retry with backoff. |
passpointInstallFailed / PasspointInstallFailed | ⚠️ Once. If it persists, it's entitlements or permissions. |
attestationRejected, entitlementMissing, issuanceRejected | ❌ Fix registration/config first. |
attestationUnavailable | ❌ Unsupported environment; degrade the UI. |
revoked / Revoked | ❌ disconnect() and tell the user. |
internal / Internal | ❌ Report it, with the underlying cause the error carries. |
Still stuck?
If none of the above fixes it, contact your Wi-DAS technical contact with the error code, the platform, and whether you're testing on a real device.
Attach a debugInfo() payload if you can. It saves a round of emails establishing
whether the server-side configuration even matches what your device installed, and it carries no
secrets, so it needs no redaction. You'll need DevMode enabled on your Client to capture one — ask for
it in the same message.