I've had that issue before and it's really frustrating. Usually, restarting the Discord app itself can help, so try closing it completely and then reopening it. If that doesn't work, you can try checking Discord's server status to see if there are any outages in your area. Sometimes, their servers can be down or experiencing issues, which would cause the awaiting endpoint error. You can also try resetting your internet connection by disabling and re-enabling your network adapter, or even trying a different network to see if the issue is specific to your current connection.