HA timeout

I hope this is the correct category! I have an iMac M1 running Monterey. I have a Raspberry Pi 400 with HA loaded on it. I have been trying for a week to connect, but to no avail. I checked the IP address and I can ping it from my Mac, but I can not seem to connect. When I try homeassistant.local:8123 I get the message " homeassistant.local refused to connect." I get the same thing with the IP address and it happens on all of my devices (iPhone, iPad). When I try to connect using the app I get a similar: NSURLErrorDomain -1001.

Any ideas? I know the networks are OK and the IP is right. I am not using a firewall and can’t figure out what else might be the cause?

Thanks in advance for any help you can give!!

Are you trying to connect via http (correct), or https (wrong)?

I have tried both, but I assumed that http was correct.

That’s odd.
Could it be:

  1. that the Settings → System → Network contains bad info?
    Maybe both (internet and local network set with the same dns name?

  2. that you connect your pi400 through WiFi and that WiFi is “isolated”?
    Don’t know what it was/is called any more, but one can prevent systems to connect to each other wirelessly. Perhaps connect the Pi to a wire to check/validate.

  3. If the above is all not the case.
    Can you do a port scan to see what ports are listening?
    In case you do have local access (using the Pi400 and a screen), are there any errors in the log?

I see there are a few people that have experienced the same issue, but non are resolved: Search results for 'NSURLErrorDomain -1001' - Home Assistant Community

For what it’s worth: https://www.reddit.com/r/homeassistant/comments/r5ifag/homeassistant_app_doesnt_work_on_new_phone_while/

If nothing is working, perhaps you should try a reinstall.

Thanks for your assistance. I have a log from when I tried to connect from my Mac. Just need to upload it.

OK, I guess I don’t know where to upload it!? I’m sure I am just missing it! Can you point me in the right direction?

Thanks,

Roy

Just so I understand, if I can ping the Raspberry from my Mac, would that mean that your first two questions would be answered?

I created a new image on a new SD card and it seems to be working now! Nothing else changed.

What do I have to do to let the others know about this, in case it helps them as well?

Thanks for the assistance.

Roy

So it seems like it’s caused by corrupt data. Either during the write of the image or in a later stage.
That makes sense since the reports at the forum also speak of this happening while the system was just running properly.

Thanks for reporting that back.

To just response to all questions, I numbered them below. So in response to your question number:

  1. Maybe your Pi400 has a USB port that you can connect. You might also be able to access the log by putting the SD card in your Mac.
  2. The usual approach is to copy past the relevant log lines into a post. For readability you can use the pre-formatted text option.
  3. It depends in the implementation of the vendor. ICMP is something different than an tcp connection.
    So with ICMP (ping) you verify the route but not necessarily that it can be accessed on any port. A test on the AP isolation could be to see if you can connect any other two wireless devices to each other. So say you connect with your mac-book to your TV (in case they are both wireless connected).
  4. That’s great. Maybe something went wrong at writing the image the first time.