schreibfaul1 / ESP32-audioI2S

Play mp3 files from SD via I2S
GNU General Public License v3.0
993 stars 265 forks source link

Web radio request failed #768

Open ChassaB opened 2 weeks ago

ChassaB commented 2 weeks ago

Thanks for the great library. Having fun with it. Running happily on an LOLIN S3. With the web radio sketch I have tried connecting to many of the stations and nearly always get a request failed in the info messages. See attached.

Setting audio.setConnectionTimeout (500, 3000); seems to fix it for most of them. Is this the right way to fix it or is there something else? web radio error

schreibfaul1 commented 2 weeks ago

I can't say exactly what happens in the mbedtls area, but 4.6s for an SSL connection is too long. Could it be that the system clock is not 240MHz?

ChassaB commented 2 weeks ago

Here are my IDE settings. Not sure why it should take so long even if I am in Australia. Screenshot 2024-06-15 at 8 34 40 AM