When you start a relay connection, it is quite common to see an error message such as "RTC cannot connect to Discord because of the following error: The RTC library cannot connect". But don't worry. Here are some steps to get you through this issue:
1. Verify your internet connection is working properly and that you have a good enough internet speed.
2. Ensure the firewall settings on your device (PC or Mac) allow Discord's data to transmit over the internet.
3. Manually enter the IP address of your local network's gateway router in order to verify that it is functioning correctly and there is no problem with its design or software updates.
4. Verify that there are no other issues interfering with your connectivity.