2.3.4.115 fails to update due to bad JSON

I'm running a C5 on version 2.3.4.115 and I know I should be updating more often, but I forget about it.

Anyway, my z-wave lights have recently become inverted for some reason - at the scheduled time to turn on, they turn off instead. And when they're supposed to turn off, they instead turn on. I set up the rules a while ago and haven't touched anything until today.

Tried to see if there was an update that might help solve this, and it sat for a long time trying to see if an update exists. Luckily, I was smart enough to check dev tools and noticed that it was looping on a JSON parse error. As a result, it never finds an update.

What can I do about this? Is there an alternate way to download a specific version and load the update via file?

The forum won't let me embed an image, but here's what the error message is: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data

Do you have anything "manual" configured in Settings > Network Setup? The most common culprit is misconfigured DNS. If you're all DHCP (or just want to try), try a network reset. If you have something configured, make sure it's all correct but especially the above.

1 Like

Welcome to the Hubitat community!

As a new forum member, you don't have picture posting permissions. You can fix that by joining the Owner group here: Hubitat 24

No, there isn't a download to something like your computer which you then apply to the hub. The hub pulls the downloads. There are a couple ways to do that, see below.

The normal cause of not getting updates is you don't have an internet connection. Typically it is caused by misconfiguring the hub using a Static IP on the hub. It is much better to do an address reservation on your internet router.

You could try a couple things. There are network testing utilities in the Settings tab, Network menu. You could try pinging Hubitat.com, or Amazon or something like that to verify you have an outside connection.

You could also try the download via the Diagnostics Tool. That can be accessed by putting :8081 on the end of your hub IP address. For example, mine would look like 192.168.1.185:8081 Have your hub's MAC address handy (copying/paste it is easiest) to access that menu.

See if any of that helps.

I've got a static IP using a wired connection. I have Google WiFi if that might be the issue.

The static IP is set from my router - I'm very particular about what types of devices get what addresses, so I manage it all.

The diagnostic tool failed with the error message: Could not fetch latest version information. And then it just hangs.

Here's the most recent logs:

Seems like a network configuration problem, again likely DNS unless you have any "blocks" or other unusual set up on your router. The network test tools in the top right (also documented on the page I linked to above) may help you figure something out, or maybe you can start by manually specifying valid DVD servers just to see if that helps.

2 Likes

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.