Anki states no internet connection, unable to sync decks. How can i fix this

Please check your proxy settings or try a different network if available: How do I fix this error! - #10 by cikedi2

If that doesn’t help, try downgrading to Anki 23.12.1.