Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error updating Home Assistant Operating System: Cannot connect to host github.com:443 #3571

Open
p-mitana opened this issue Sep 1, 2024 · 2 comments

Comments

@p-mitana
Copy link

p-mitana commented Sep 1, 2024

Describe the issue you are experiencing

In short – Home Assistant lists an available update, but I cannot install it – it says it cannot connect to GitHub. Running ha os update command also fails. Copying the link and downloading the file via wget works fine though, the file starts being downloaded:

obraz

There already has been an issue for that – #3525 – but it has been closed and said to apparently be a network error. Also there were suspicions that it could be related but some GitHub problems. However:

  • I don't expect it to be a network problem, as I can fetch the exact same file from the same terminal session that I cannot update via from which the ha os update command fails
  • I don't also expect it to be related with any GitHub failure, as a couple of weeks have passed and the problem persists
  • Also, after 12.4 -> 13.0 update failed, the 13.1 came out and I still cannot update from 12.4.
  • Also, I have seen other reports from other users in the forum having the same problem – for example in this topic.

What operating system image do you use?

ova (for Virtual Machines)

What version of Home Assistant Operating System is installed?

12.4

Did the problem occur after upgrading the Operating System?

No

Hardware details

USB devices – 2x SkyConnect. HAOS is installed in a VM. Host is Ubuntu 24.04 on a NUC type x86-64 computer. Hypervisor is KVM I expect.

Steps to reproduce the issue

  1. Enter terminal
  2. Run ha os update
  3. Alternatively, just try to update OS via GUI

Anything in the Supervisor logs that might be useful for us?

2024-09-01 11:49:19.304 INFO (MainThread) [supervisor.api.middleware.security] /os/update access from a0d7b954_ssh
2024-09-01 11:49:22.992 INFO (MainThread) [supervisor.os.manager] Fetch OTA update from https://os-artifacts.home-assistant.io/13.1/haos_ova-13.1.raucb
2024-09-01 11:50:28.257 ERROR (MainThread) [supervisor.os.manager] Can't fetch OTA update from https://os-artifacts.home-assistant.io/13.1/haos_ova-13.1.raucb: Cannot connect to host github.com:443 ssl:default [None]
2024-09-01 11:51:15.845 INFO (MainThread) [supervisor.api.middleware.security] /os/update access from a0d7b954_ssh
2024-09-01 11:51:19.532 INFO (MainThread) [supervisor.os.manager] Fetch OTA update from https://os-artifacts.home-assistant.io/13.1/haos_ova-13.1.raucb
2024-09-01 11:52:23.235 ERROR (MainThread) [supervisor.os.manager] Can't fetch OTA update from https://os-artifacts.home-assistant.io/13.1/haos_ova-13.1.raucb: Cannot connect to host github.com:443 ssl:default [None]
2024-09-01 12:04:39.779 INFO (MainThread) [supervisor.api.middleware.security] /os/update access from a0d7b954_ssh
2024-09-01 12:04:45.468 INFO (MainThread) [supervisor.os.manager] Fetch OTA update from https://os-artifacts.home-assistant.io/13.1/haos_ova-13.1.raucb
2024-09-01 12:05:49.202 ERROR (MainThread) [supervisor.os.manager] Can't fetch OTA update from https://os-artifacts.home-assistant.io/13.1/haos_ova-13.1.raucb: Cannot connect to host github.com:443 ssl:default [None]

Anything in the Host logs that might be useful for us?

I can't see anything related

System information

No response

Additional information

No response

@p-mitana p-mitana added the bug label Sep 1, 2024
@sairon
Copy link
Member

sairon commented Sep 2, 2024

There's indeed something fishy... I have replied on the community forums, let's follow up there.

@p-mitana
Copy link
Author

p-mitana commented Oct 7, 2024

This comment might help.

Actually my issue was solved by replacing a quite old router that I had. Still, I expect the issue is be relevant for some users and specific configurations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants