R Shiny App Deployment issue: Error in curl::curl_fetch_memory(url, handle = handle) : Could not resolve host: api.shinyapps.io

I have deployed my app several times before but this time I received this error:

Error in curl::curl_fetch_memory(url, handle = handle) :
Could not resolve host: api.shinyapps.io

I reinstalled rsconnect and encounter no error with rsconnect::setAccountInfo()

Recently I updated my system to Windows 11, the only change I could think of.

Would anyone have any ideas about how to address this error? Thank you


edit: the issue resolved itself