Could not resolve host github

Hi I’m running HA on a Raspberry pi and for some reason it is unable to download from github. I have tried all the suggestions on this forum - restarting and resetting the dns etc. In terminal I am able to ping github. Reading the logs it looks like some sort of rate limit - I’ve tried numerous times to download is there anything I can do?

This is the message in HA and below that the log entry.

INFO ESPHome 2023.9.3
INFO Reading configuration /config/esphome/nspanel.yaml...
INFO Cloning https://github.com/Blackymas/NSPanel_HA_Blueprint@main
Failed config

packages: [source /config/esphome/nspanel.yaml:16]
  
  unable to access 'https://github.com/Blackymas/NSPanel_HA_Blueprint/': Could not resolve host: github.com.
  remote_package: 
    url: https://github.com/Blackymas/NSPanel_HA_Blueprint
    ref: main
    files: 
      - nspanel_esphome.yaml
    refresh: 300s

Log Entry

This error originated from a custom integration.

Logger: custom_components.hacs
Source: custom_components/hacs/base.py:464
Integration: HACS (documentation, issues)
First occurred: October 10, 2023 at 6:03:17 PM (1006 occurrences)
Last logged: 5:23:30 PM

Request exception for 'https://api.github.com/rate_limit' with - Cannot connect to host api.github.com:443 ssl:default [Try again]
Traceback (most recent call last):
  File "/config/custom_components/hacs/base.py", line 464, in async_can_update
    response = await self.async_github_api_method(self.githubapi.rate_limit)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/hacs/base.py", line 522, in async_github_api_method
    raise HacsException(_exception)
custom_components.hacs.exceptions.HacsException: Request exception for 'https://api.github.com/rate_limit' with - Cannot connect to host api.github.com:443 ssl:default [Try again]