Getting an error opening Hubitat Package Manager

I am getting the following error when trying to run the Package Manager. I did update it to version 1.8.8. Any idea what the issue is? I am including screenshots of the error and the log entries.


Thanks

app:1342023-05-01 03:32:57.422 PMerrorjava.lang.NullPointerException: Cannot get property 'repositories' on null object on line 3937 (method prefSettings)

app:1342023-05-01 03:32:57.403 PMinfoSkip download of https://raw.githubusercontent.com/HubitatCommunity/hubitat-packagerepositories/master/repositories.json: java.net.UnknownHostException: raw.githubusercontent.com: Temporary failure in name resolution Please notify the package developer.

app:1342023-05-01 03:32:57.391 PMinfoRefreshing repository list

The answer is in the error... your hub has no DNS to resolve names.

Go to Settings: Network Setup: Network Test and try the Ping test to GitHub for example:

Screenshot 2023-05-01 at 1.45.53 PM

That's an example of it working. You're looking to confirm that it's doing a Name to IP Address lookup successfully.

1 Like

Here is the error I get:

ping: github.com: Temporary failure in name resolution

I can ping it from my computer.

I changed the DNS server address to the Google servers. That resolved the issue. Not sure why the other did not work.

1 Like

Do you have your hub set to a static ip or is it using a DHCP reservation or both?

It is set to static. My internet provider had to change my equipment and it affected a number of devices I have. So I decided to go the static route to get a bit more control over my network.

Ok likely you didn't add in the dns settings then (sometimes it may look like they're there but they aren't)

In general, for 2020's the use of a dynamic reservation is the better solution. It centralizes management and you don't have to learn 5 different GUI menus to find the static IP fields.

The downside is that if that DHCP device fails, you lose the reservations in the replacement. DHCP and DNS, and really all the backbone of modern networking, is able to be redundant. I have two DHCP servers in my home along with dual DNS, dual NTP, and so on. One set is running on an always-on Linux box with a second (redundant) running on an always-on headless Mac Mini. Doesn't help at all when the power fails because they both shutdown... but it's great for upgrades. :smiley:

I'm not recommending this.. just making note of the fact that it is possible and for the right person, FUN. :slight_smile:

3 Likes

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