Error processing NFC tag

Recently the NFC tag in my car and my wife’s car has stopped working. When I scan the tag with my phone I get Error processing NFC tag. I checked the companion app which said tag not scanned to HA. I rre-created/wrote the tag using my phone which gave me a success full message. Unfortunately when I scan the tag I get the same Error processing NFC tag message. Here are the full logs from my companion app after I’ve re-created the NFC tag.
It’s happening on two tags and on both mine and my wife’s phone’s.

10-26 10:40:10.964  8029  8029 E TagReaderActivity: Unable to handle url (nfc}): https://www.home-assistant.io/tag/accord-tag
10-26 10:40:10.964  8029  8029 E TagReaderActivity: kotlinx.coroutines.JobCancellationException: Job was cancelled; job=SupervisorJobImpl{Cancelling}@e0d5643
10-26 10:40:10.964  8029  8029 E TagReaderActivity: Tag not scanned to HA
10-26 10:40:10.964  8029  8029 E TagReaderActivity: io.homeassistant.companion.android.common.data.integration.IntegrationException: kotlinx.coroutines.JobCancellationException: Job was cancelled; job=SupervisorJobImpl{Cancelling}@e0d5643
10-26 10:40:10.964  8029  8029 E TagReaderActivity: 	at io.homeassistant.companion.android.common.data.integration.impl.IntegrationRepositoryImpl.scanTag(IntegrationRepositoryImpl.kt:337)
10-26 10:40:10.964  8029  8029 E TagReaderActivity: 	at io.homeassistant.companion.android.common.data.integration.impl.IntegrationRepositoryImpl$scanTag$1.invokeSuspend(Unknown Source:15)
10-26 10:40:10.964  8029  8029 E TagReaderActivity: 	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
10-26 10:40:10.964  8029  8029 E TagReaderActivity: 	at kotlinx.coroutines.DispatchedTaskKt.resume(DispatchedTask.kt:235)
10-26 10:40:10.964  8029  8029 E TagReaderActivity: 	at kotlinx.coroutines.DispatchedTaskKt.resumeUnconfined(DispatchedTask.kt:191)
10-26 10:40:10.964  8029  8029 E TagReaderActivity: 	at kotlinx.coroutines.DispatchedTaskKt.dispatch(DispatchedTask.kt:163)
10-26 10:40:10.964  8029  8029 E TagReaderActivity: 	at kotlinx.coroutines.CancellableContinuationImpl.dispatchResume(CancellableContinuationImpl.kt:474)
10-26 10:40:10.964  8029  8029 E TagReaderActivity: 	at kotlinx.coroutines.CancellableContinuationImpl.cancel(CancellableContinuationImpl.kt:217)
10-26 10:40:10.964  8029  8029 E TagReaderActivity: 	at kotlinx.coroutines.CancellableContinuationImpl.parentCancelled$kotlinx_coroutines_core(CancellableContinuationImpl.kt:224)
10-26 10:40:10.964  8029  8029 E TagReaderActivity: 	at kotlinx.coroutines.ChildContinuation.invoke(JobSupport.kt:1450)
10-26 10:40:10.964  8029  8029 E TagReaderActivity: 	at kotlinx.coroutines.JobSupport.notifyCancelling(JobSupport.kt:1477)
10-26 10:40:10.964  8029  8029 E TagReaderActivity: 	at kotlinx.coroutines.JobSupport.tryMakeCancelling(JobSupport.kt:799)
10-26 10:40:10.964  8029  8029 E TagReaderActivity: 	at kotlinx.coroutines.JobSupport.makeCancelling(JobSupport.kt:759)
10-26 10:40:10.964  8029  8029 E TagReaderActivity: 	at kotlinx.coroutines.JobSupport.cancelImpl$kotlinx_coroutines_core(JobSupport.kt:675)
10-26 10:40:10.964  8029  8029 E TagReaderActivity: 	at kotlinx.coroutines.JobSupport.parentCancelled(JobSupport.kt:641)
10-26 10:40:10.964  8029  8029 E TagReaderActivity: 	at kotlinx.coroutines.ChildHandleNode.invoke(JobSupport.kt:1439)
10-26 10:40:10.964  8029  8029 E TagReaderActivity: 	at kotlinx.coroutines.JobSupport.notifyCancelling(JobSupport.kt:1477)
10-26 10:40:10.964  8029  8029 E TagReaderActivity: 	at kotlinx.coroutines.JobSupport.tryMakeCompletingSlowPath(JobSupport.kt:904)
10-26 10:40:10.964  8029  8029 E TagReaderActivity: 	at kotlinx.coroutines.JobSupport.tryMakeCompleting(JobSupport.kt:867)
10-26 10:40:10.964  8029  8029 E TagReaderActivity: 	at kotlinx.coroutines.JobSupport.cancelMakeCompleting(JobSupport.kt:700)
10-26 10:40:10.964  8029  8029 E TagReaderActivity: 	at kotlinx.coroutines.JobSupport.cancelImpl$kotlinx_coroutines_core(JobSupport.kt:671)
10-26 10:40:10.964  8029  8029 E TagReaderActivity: 	at kotlinx.coroutines.JobSupport.cancelInternal(JobSupport.kt:636)
10-26 10:40:10.964  8029  8029 E TagReaderActivity: 	at kotlinx.coroutines.JobSupport.cancel(JobSupport.kt:621)
10-26 10:40:10.964  8029  8029 E TagReaderActivity: 	at kotlinx.coroutines.JobKt__JobKt.cancel(Job.kt:564)
10-26 10:40:10.964  8029  8029 E TagReaderActivity: 

Update, tag works fine when I’m connected to my home wifi. Tag does not work while away. I use nabu casa cloud. The app itself works fine while away. I can view and control my home. From what I can tell only the tag function is not working.

i have a feeling sensor updates may also not be working when the tag is not working? do you see other errors in the logs?

The only one really popping out to me (hard to disect on mobile) is this

10-26 11:51:14.404  6916  7043 E LocBroadcastReceiver: Could not update location for 3.
10-26 11:51:14.404  6916  7043 E LocBroadcastReceiver: io.homeassistant.companion.android.common.data.integration.IntegrationException: java.io.InterruptedIOException: timeout
10-26 11:51:14.404  6916  7043 E LocBroadcastReceiver: 	at io.homeassistant.companion.android.common.data.integration.impl.IntegrationRepositoryImpl.updateLocation(IntegrationRepositoryImpl.kt:264)
10-26 11:51:14.404  6916  7043 E LocBroadcastReceiver: 	at io.homeassistant.companion.android.common.data.integration.impl.IntegrationRepositoryImpl$updateLocation$1.invokeSuspend(Unknown Source:15)
10-26 11:51:14.404  6916  7043 E LocBroadcastReceiver: 	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
10-26 11:51:14.404  6916  7043 E LocBroadcastReceiver: 	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
10-26 11:51:14.404  6916  7043 E LocBroadcastReceiver: 	at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:115)
10-26 11:51:14.404  6916  7043 E LocBroadcastReceiver: 	at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:103)
10-26 11:51:14.404  6916  7043 E LocBroadcastReceiver: 	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
10-26 11:51:14.404  6916  7043 E LocBroadcastReceiver: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
10-26 11:51:14.404  6916  7043 E LocBroadcastReceiver: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
10-26 11:51:14.404  6916  7043 E LocBroadcastReceiver: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
10-26 11:51:14.404  6916  7043 E LocBroadcastReceiver: Caused by: java.io.InterruptedIOException: timeout

I think you’re right about the sensors. With my phone not connected to wifi I just checked some of the states of my phone. It shows its still connected to wifi on my dashboard. I also just put my phone on a charger but state still shows discharging.

try to log out of hte app and log back in making sure to enter your credentials instead of using something like trusted networks or the like.

Unfortunately that didn’t seem to help.

timeouts seem to be some network error, have you tried rebooting things like your server?

1 Like

Wow, thanks a lot! I rebooted my HA VM and now tags and sensors are working again.

**Note if anyone comes across this in the future. Simply restartig HA didn’t work, I had to restart the entire VM.

1 Like