r/k12sysadmin • • 15d ago

Assistance Needed DRC Insight PWA error

We're having random Chromebooks throwing, "Failed to Load Device Information" error and "A communication error occurred" when launching the PWA in Kiosk mode.

I've checked everything off the list I can think of; ChromeOS version is latest LTS, nothing is blocked, PWA is the latest version, configured correctly with extension and pointing to the correct DRC OUID, etc. We are not using caching (COS-SD) any longer and haven't for some time.

Our devices all get the same policies and app configs. We have mostly 4th gen Lenovo 300e's. Some work fine and some repeatedly throw this error. I've powerwashed and re-enrolled one of the problem devices and it still throws this error.

Anyone else encounter this issue or think of anything else to try?

10 Upvotes

31 comments sorted by

3

u/linus_b3 Tech Director 15d ago

Yes, random devices do this and a power wash doesn't fix it.  I can reboot and retry repeatedly and occasionally they work.  I have a case in with DRC because I am pretty confident it isn't on my end.  I have had an identical device in the same OU that works reliably right next to a problematic one before.

1

u/belt-plus-suspenders 14d ago

Same! My case is 566537 if you want to reference that in your case. So far they haven't been super helpful other than the usual; check your allow lists, try a hotspot, etc.

One problematic device can actually load the app successfully about 1 in 30 attempts. It passes all of the system checks at that point. Only to fail on subsequent attempts. Our wifi is solid and we have bandwidth to spare, so I'm not sure where the issue lies.

2

u/linus_b3 Tech Director 14d ago

We even tried it on a cellular hotspot with the same result.

1

u/belt-plus-suspenders 14d ago

I brought a problem device home with me tonight and it errors on 90% of the launches. This is 7:00pm MST, so should be a low utilization time for DRC systems.

2

u/bigt0242000 14d ago

We ran into similar issues at the start of the school year. The Readiness Check passed every time, whether we were going through our COS servers or not, yet students still got communication errors during testing. DRC had us try bypassing the COS servers entirely, and the errors continued. We even tried accessing the test over a cellular hotspot with the same results. The cause turned out to be a blank Registration URL in cos_configuration.json. DRC wasn’t pushing the value down, which kept our COS servers from decrypting the testing material.

1

u/belt-plus-suspenders 14d ago

In our case, it doesn't make it that far. This error occurs before the system check is available. On the rare occasions that it does load, we can get to the readiness check and it passes without issues. Then fails on the next attempt to launch the app.

1

u/millia13 Network Spec. 13d ago

he cause turned out to be a blank Registration URL in cos_configuration.json.

Where is this file? I can't find it in my Chrome-n-COS configuration, or any of the downloaded files.

1

u/bigt0242000 13d ago

It's on the COS server itself. I'll have to go back and find it.

1

u/millia13 Network Spec. 13d ago edited 13d ago

No worries. I've got a find command and grep command.

/edit: it's /opt/CentralOffice/management/cos_configuration.json on a linux box, and presume it's similar on windows. Sadly, I have registration values.

1

u/belt-plus-suspenders 13d ago

I realized there's a setting to enable Developer Tools in Kiosk mode, so I was able to collect HAR files with a successful launch and a failed one. I just sent them to DRC support. Quite odd that they've never asked for these to begin with.

Based on a comparison of the two HAR files, the issue is a client-side race condition in the Kiosk wrapper (postMessage / eventBridge communication) when initializing the web view. This according to someone much smarter than I.

1

u/belt-plus-suspenders 1d ago

Update: DRC support was finally able to reproduce the issue on their end and they are working on a fix. No ETA, as yet.

1

u/doctorcaligari 15d ago

I am getting the same “communication” errors in Riverside PWA for Cog-At testing. All of our sites ran fine except for one, and they are all the same configuration.

1

u/belt-plus-suspenders 14d ago

I launched that app a few times to test, but didn't encounter any errors with that one. I'll keep an eye on it.

1

u/SoggyEye6704 14d ago

Have you power washed the device yet? Also, are you on version 17? Go through the documentation again and just make sure you have everything set right.

2

u/belt-plus-suspenders 14d ago edited 14d ago

Yep, as noted in the original post. No dice with powerwashing and all are on v17.

Brought the device home with me, so off of the school network and filters and still got the same error. It does launch successfully maybe 10% of the time, but errors otherwise.

I've been over all the configs several times. Though if the app and/or policies were misconfigured, I'd expect it to fail the same for all devices, not just a few. Very puzzling!

1

u/dire-wabbit 14d ago edited 14d ago

One thing I noted last month, and several other tech directors in my area also verified they were seeing the same thing, was that that JSON attached to the kiosk apps to point to our DRC Central office servers had just up and disappeared from all of my DRC kiosk deployments in Google Admin. Might want to look at that.

The other thing is recommended 2-hour wait after inital launch the app for it to "validate" the client. For us that resulted in the Chromebook throwing and invalid client error.

1

u/belt-plus-suspenders 14d ago

You're referring to the Extension configuration, correct? We have our OUID set under the 'Policy for extensions'. DRC documentation doesn't indicate anything should be populated for JSON values, unless I'm missing something?

2

u/dire-wabbit 13d ago

Yes, it was the policy for extension JSON value--the OUID statement is in JSON format. It may have been just an issue with the Google console as it did appear the devices were still using the COS servers; but I am not sure.

1

u/millia13 Network Spec. 13d ago

Anybody had experience today after last night's DRC updates?

1

u/belt-plus-suspenders 13d ago

Still having the issue today.

I'm still seeing 17.0..0.38 on the Chrome Kiosk app and extension. I don't see anything under their 'Announcement' section, either. Can you point me to this update information, please?

2

u/millia13 Network Spec. 13d ago

It was the COS boxes that got the update- went from 10.0.996 to 10.0.1001.

1

u/belt-plus-suspenders 13d ago

Ah, gotcha. Thanks for that. We haven't been using those for at least a year or two. I'm not sure whether it would make a difference in this case.

2

u/millia13 Network Spec. 10d ago

We never had any issues with the COS boxes, peculiarly enough. Also, your user name is my favorite joke to teach about backups.

3

u/Digisticks 14d ago

Alabama is dealing with it too. As a state, we've been dealing with the communication issues since late October on iPad, Windows, and Chromebooks. DRC has deployed rapid updates and there is one tomorrow too, but no permanent fix so far.

1

u/Lilbc82 14d ago

I may be changing the subject some here but when you say communication issues do you mean like slowness?

2

u/Digisticks 14d ago

Nope. Everything is perfectly fine and DRC errors out and says communication error. In the box below it just says script error which isn't particularly helpful.

1

u/millia13 Network Spec. 13d ago

Any changes today for you?

1

u/Digisticks 13d ago

Our regular practice testing is finished. Everything else is irregular until the actual tests in spring.

1

u/adstretch 14d ago

What happens if you add a config to COS and point it directly at DRC’s servers? They’ve had us do that for one off problems in the past.

0

u/[deleted] 14d ago

[deleted] — view deleted comment

1

u/linus_b3 Tech Director 14d ago

In my case, this is enabled and the issues persist. I've run through and double-checked the setup step-by-step at least four times by now, completely redoing it twice.

1

u/Jremy333 14d ago

Ah sorry it was Cambium Assessments I was thinking of