Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

Connecttohost only https:// works #27

Open
bergvdna opened this issue Jun 30, 2022 · 4 comments
Open

Connecttohost only https:// works #27

bergvdna opened this issue Jun 30, 2022 · 4 comments

Comments

@bergvdna
Copy link

Hello,
I have enjoyed using your VS1053-ext library for years.
But with minor changes to the application, what the library uses it for, I kept getting ssl problems.
Only when I went back to Espressif version 2.0 in PlatformIO did I not get the error message and everything went well.
But now I thought I should give it some time to upgrade to Espressif 4.0 and now also use the latest version of VS1053-ext (last update now 4 days ago).
Connectto speech is going well.
I have not tested ConnecttoSd.
Connecttohost does NOT work for all the example channels below that are in your example code except those with https:// (mp3.connecttohost("https://icecast.omroepvenray.nl/lov.mp3");).
The last one works, the others give "Request .......... failed!"
I would like to ask you to test this yourself and if you find the same problem, find out and fix the problem?

Note:
This one also works (also a https://).
mp3.connecttohost("https://download-a.akamaihd.net/files/media_publication/30/pksjj_O_133.mp3");

Thank you very much indeed.
Below is the code and the results of my test.

Code:

//The setup function is called once at startup of the sketch
void setup() {
//pinMode(SD_CS, OUTPUT); digitalWrite(SD_CS, HIGH);
Serial.begin(115200);
Serial.println("setup");
SPI.begin(VS1053_SCK, VS1053_MISO, VS1053_MOSI);
//SD.begin(SD_CS);
WiFi.disconnect();
WiFi.mode(WIFI_STA);
WiFi.begin(ssid, password);
while (WiFi.status() != WL_CONNECTED) delay(1500);
Serial.println("wifi verbonden");
vTaskDelay(1000);
mp3.begin();
Serial.println("mp3 gestart");
vTaskDelay(1000);
mp3.setVolume(volume);
//mp3.connecttohost("streambbr.ir-media-tec.com/berlin/mp3-128/vtuner_web_mp3/");
//mp3.connecttohost("stream.landeswelle.de/lwt/mp3-192"); // mp3 192kb/s
//mp3.connecttohost("listen.ai-radio.org:8000/320.ogg?cc=DE&now=1511557873.987&"); // ogg
//mp3.connecttohost("tophits.radiomonster.fm/320.mp3"); //bitrate 320k
//mp3.connecttohost("hellwegradiowest.radiovonhier.de/high/stream.mp3"); // Transfer Encoding: chunked

//mp3.connecttohost("https://icecast.omroepvenray.nl/lov.mp3"); // ssl
//mp3.connecttoSD("320k_test.mp3"); // SD card
mp3.connecttospeech("Wenn die Hunde schlafen, kann der Wolf gut Schafe stehlen.", "de");
Serial.println("setup einde");

}

// The loop function is called in an endless loop
void loop()
{
//Serial.println("loop");
mp3.loop();
}

End code

Tests of your examples:
mp3.connecttohost("streambbr.ir-media-tec.com/berlin/mp3-128/vtuner_web_mp3/");
mp3.connecttohost("stream.landeswelle.de/lwt/mp3-192"); // mp3 192kb/s
mp3.connecttohost("listen.ai-radio.org:8000/320.ogg?cc=DE&now=1511557873.987&"); // ogg
mp3.connecttohost("tophits.radiomonster.fm/320.mp3"); //bitrate 320k
mp3.connecttohost("hellwegradiowest.radiovonhier.de/high/stream.mp3"); // Transfer Encoding: chunked
mp3.connecttohost("https://icecast.omroepvenray.nl/lov.mp3"); // ssl
NOT TESTED >>> mp3.connecttoSD("320k_test.mp3"); // SD card
mp3.connecttospeech("Wenn die Hunde schlafen, kann der Wolf gut Schafe stehlen.", "de");

mp3.connecttohost("streambbr.ir-media-tec.com/berlin/mp3-128/vtuner_web_mp3/");
Does not work
DEBUG: Request streambbr.ir-media-tec.com/berlin/mp3-128/vtuner_web_mp3/ failed!

Executing task: C:\Users\berga.platformio\penv\Scripts\platformio.exe device monitor <

--- Available filters and text transformations: colorize, debug, default, direct, esp32_exception_decoder, hexlify, log2file, nocontrol, printable, send_on_enter, time
--- More details at https://bit.ly/pio-monitor-filters
--- Miniterm on COM4 115200,8,N,1 ---
--- Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
setup
[ 84][E][esp32-hal-cpu.c:110] addApbChangeCallback(): duplicate func=400DBD5C arg=3FFBDBCC
wifi verbonden
mp3 gestart
DEBUG: Song stopped incorrectly!
DEBUG: after sond stopped incorrectly
DEBUG: REG dec bin hex
DEBUG: ----------- ------- ---------------- -------
DEBUG: MODE 02056 0000100000001000 0808
DEBUG: STATUS 00051 0000000000110011 0033
DEBUG: BASS 00000 0000000000000000 0000
DEBUG: CLOCKF 24576 0110000000000000 6000
DEBUG: DECODE_TIME 00000 0000000000000000 0000
DEBUG: AUDATA 08000 0001111101000000 1F40
DEBUG: WRAM 04369 0001000100010001 FFFF
DEBUG: WRAMADDR 22528 0101100000000000 5800
DEBUG: HDAT0 00000 0000000000000000 0000
DEBUG: HDAT1 00000 0000000000000000 0000
DEBUG: AIADDR 00000 0000000000000000 0000
DEBUG: VOL 07710 0001111000011110 1E1E
DEBUG: AICTRL0 00000 0000000000000000 0000
DEBUG: AICTRL1 00000 0000000000000000 0000
DEBUG: AICTRL2 00000 0000000000000000 0000
DEBUG: AICTRL3 00000 0000000000000000 0000
DEBUG: PSRAM not found, inputBufferSize: 11903 bytes
DEBUG: Connect to new host: "streambbr.ir-media-tec.com/berlin/mp3-128/vtuner_web_mp3/"
DEBUG: Connect to "streambbr.ir-media-tec.com" on port 80, extension "/berlin/mp3-128/vtuner_web_mp3/"
We gaan verbinden met <<<streambbr.ir-media-tec.com>>>.
DEBUG: Request streambbr.ir-media-tec.com/berlin/mp3-128/vtuner_web_mp3/ failed!
STATION:
STREAMTITLE:
Homepage:
setup einde

mp3.connecttohost("stream.landeswelle.de/lwt/mp3-192"); // mp3 192kb/s
Does not work
DEBUG: Request stream.landeswelle.de/lwt/mp3-192 failed!

Executing task: C:\Users\berga.platformio\penv\Scripts\platformio.exe device monitor <

--- Available filters and text transformations: colorize, debug, default, direct, esp32_exception_decoder, hexlify, log2file, nocontrol, printable, send_on_enter, time
--- More details at https://bit.ly/pio-monitor-filters
--- Miniterm on COM4 115200,8,N,1 ---
--- Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
setup
[ 84][E][esp32-hal-cpu.c:110] addApbChangeCallback(): duplicate func=400DBD5C arg=3FFBDBCC
wifi verbonden
mp3 gestart
DEBUG: Song stopped incorrectly!
DEBUG: after sond stopped incorrectly
DEBUG: REG dec bin hex
DEBUG: ----------- ------- ---------------- -------
DEBUG: MODE 02056 0000100000001000 0808
DEBUG: STATUS 00051 0000000000110011 0033
DEBUG: BASS 00000 0000000000000000 0000
DEBUG: CLOCKF 24576 0110000000000000 6000
DEBUG: DECODE_TIME 00000 0000000000000000 0000
DEBUG: AUDATA 08000 0001111101000000 1F40
DEBUG: WRAM 04369 0001000100010001 FFFF
DEBUG: WRAMADDR 22528 0101100000000000 5800
DEBUG: HDAT0 00000 0000000000000000 0000
DEBUG: HDAT1 00000 0000000000000000 0000
DEBUG: AIADDR 00000 0000000000000000 0000
DEBUG: VOL 07710 0001111000011110 1E1E
DEBUG: AICTRL0 00000 0000000000000000 0000
DEBUG: AICTRL1 00000 0000000000000000 0000
DEBUG: AICTRL2 00000 0000000000000000 0000
DEBUG: AICTRL3 00000 0000000000000000 0000
DEBUG: PSRAM not found, inputBufferSize: 11903 bytes
DEBUG: Connect to new host: "stream.landeswelle.de/lwt/mp3-192"
DEBUG: Connect to "stream.landeswelle.de" on port 80, extension "/lwt/mp3-192"
We gaan verbinden met <<<stream.landeswelle.de>>>.
DEBUG: Request stream.landeswelle.de/lwt/mp3-192 failed!
STATION:
STREAMTITLE:
Homepage:
setup einde

mp3.start often took a long time.
Disabling loadUserCode(); // load in VS1053B if you want to play flac solved that.

//
// UITGEZET 20220630 loadUserCode
// loadUserCode(); // load in VS1053B if you want to play flac
//

mp3.connecttohost("listen.ai-radio.org:8000/320.ogg?cc=DE&now=1511557873.987&"); // ogg
Does not work
DEBUG: Request listen.ai-radio.org:8000/320.ogg?cc=DE&now=1511557873.987& failed!

Executing task: C:\Users\berga.platformio\penv\Scripts\platformio.exe device monitor <

--- Available filters and text transformations: colorize, debug, default, direct, esp32_exception_decoder, hexlify, log2file, nocontrol, printable, send_on_enter, time
--- More details at https://bit.ly/pio-monitor-filters
--- Miniterm on COM4 115200,8,N,1 ---
--- Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
tsetup
[ 84][E][esp32-hal-cpu.c:110] addApbChangeCallback(): duplicate func=400DBCD8 arg=3FFBDBCC
wifi verbonden
mp3 gestart
DEBUG: Song stopped incorrectly!
DEBUG: after sond stopped incorrectly
DEBUG: REG dec bin hex
DEBUG: ----------- ------- ---------------- -------
DEBUG: MODE 02056 0000100000001000 0808
DEBUG: STATUS 00051 0000000000110011 0033
DEBUG: BASS 00000 0000000000000000 0000
DEBUG: CLOCKF 24576 0110000000000000 6000
DEBUG: DECODE_TIME 00000 0000000000000000 0000
DEBUG: AUDATA 44101 1010110001000101 AC45
DEBUG: WRAM 00081 0000000000010001 0051
DEBUG: WRAMADDR 07686 0001111000000110 1E06
DEBUG: HDAT0 00000 0000000000000000 0000
DEBUG: HDAT1 00000 0000000000000000 0000
DEBUG: AIADDR 00000 0000000000000000 0000
DEBUG: VOL 07710 0001111000011110 1E1E
DEBUG: AICTRL0 00000 0000000000000000 0000
DEBUG: AICTRL1 00000 0000000000000000 0000
DEBUG: AICTRL2 00000 0000000000000000 0000
DEBUG: AICTRL3 00000 0000000000000000 0000
DEBUG: PSRAM not found, inputBufferSize: 11903 bytes
DEBUG: Connect to new host: "listen.ai-radio.org:8000/320.ogg?cc=DE&now=1511557873.987&"
DEBUG: Connect to "listen.ai-radio.org" on port 8000, extension "/320.ogg?cc=DE&now=1511557873.987&"
We gaan verbinden met <<<listen.ai-radio.org>>>.
DEBUG: Request listen.ai-radio.org:8000/320.ogg?cc=DE&now=1511557873.987& failed!
STATION:
STREAMTITLE:
Homepage:
setup einde

mp3.connecttohost("tophits.radiomonster.fm/320.mp3"); //bitrate 320k
Does not work
DEBUG: Request tophits.radiomonster.fm/320.mp3 failed!

Executing task: C:\Users\berga.platformio\penv\Scripts\platformio.exe device monitor <

--- Available filters and text transformations: colorize, debug, default, direct, esp32_exception_decoder, hexlify, log2file, nocontrol, printable, send_on_enter, time
--- More details at https://bit.ly/pio-monitor-filters
--- Miniterm on COM4 115200,8,N,1 ---
--- Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
setup
[ 84][E][esp32-hal-cpu.c:110] addApbChangeCallback(): duplicate func=400DBCFC arg=3FFBDBCC
wifi verbonden
mp3 gestart
DEBUG: Song stopped incorrectly!
DEBUG: after sond stopped incorrectly
DEBUG: REG dec bin hex
DEBUG: ----------- ------- ---------------- -------
DEBUG: MODE 02056 0000100000001000 0808
DEBUG: STATUS 00051 0000000000110011 0033
DEBUG: BASS 00000 0000000000000000 0000
DEBUG: CLOCKF 24576 0110000000000000 6000
DEBUG: DECODE_TIME 00000 0000000000000000 0000
DEBUG: AUDATA 44101 1010110001000101 AC45
DEBUG: WRAM 00081 0010000001010001 2051
DEBUG: WRAMADDR 07686 0001111000000110 1E06
DEBUG: HDAT0 00000 0000000000000000 0000
DEBUG: HDAT1 00000 0000000000000000 0000
DEBUG: AIADDR 00000 0000000000000000 0000
DEBUG: VOL 07710 0001111000011110 1E1E
DEBUG: AICTRL0 00000 0000000000000000 0000
DEBUG: AICTRL1 00000 0000000000000000 0000
DEBUG: AICTRL2 00000 0000000000000000 0000
DEBUG: AICTRL3 00000 0000000000000000 0000
DEBUG: PSRAM not found, inputBufferSize: 11903 bytes
DEBUG: Connect to new host: "tophits.radiomonster.fm/320.mp3"
hostwoext: tophits.radiomonster.fm
extension /320.mp3
DEBUG: Connect to "tophits.radiomonster.fm" on port 80, extension "/320.mp3"
We gaan verbinden met <<<tophits.radiomonster.fm>>>.
DEBUG: Request tophits.radiomonster.fm/320.mp3 failed!
STATION:
STREAMTITLE:
Homepage:
setup einde

mp3.connecttohost("hellwegradiowest.radiovonhier.de/high/stream.mp3"); // Transfer Encoding: chunked
Does not work
DEBUG: Request hellwegradiowest.radiovonhier.de/high/stream.mp3 failed!

Executing task: C:\Users\berga.platformio\penv\Scripts\platformio.exe device monitor <

--- Available filters and text transformations: colorize, debug, default, direct, esp32_exception_decoder, hexlify, log2file, nocontrol, printable, send_on_enter, time
--- More details at https://bit.ly/pio-monitor-filters
--- Miniterm on COM4 115200,8,N,1 ---
--- Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
esetup
[ 84][E][esp32-hal-cpu.c:110] addApbChangeCallback(): duplicate func=400DBCFC arg=3FFBDBCC
wifi verbonden
mp3 gestart
DEBUG: Song stopped incorrectly!
DEBUG: after sond stopped incorrectly
DEBUG: REG dec bin hex
DEBUG: ----------- ------- ---------------- -------
DEBUG: MODE 02056 0000100000001000 0808
DEBUG: STATUS 00051 0000000000110011 0033
DEBUG: BASS 00000 0000000000000000 0000
DEBUG: CLOCKF 24576 0110000000000000 6000
DEBUG: DECODE_TIME 00000 0000000000000000 0000
DEBUG: AUDATA 44101 1010110001000101 AC45
DEBUG: WRAM 00081 0010000000010001 0051
DEBUG: WRAMADDR 07686 0001111000000110 1E06
DEBUG: HDAT0 00000 0000000000000000 0000
DEBUG: HDAT1 00000 0000000000000000 0000
DEBUG: AIADDR 00000 0000000000000000 0000
DEBUG: VOL 07710 0001111000011110 1E1E
DEBUG: AICTRL0 00000 0000000000000000 0000
DEBUG: AICTRL1 00000 0000000000000000 0000
DEBUG: AICTRL2 00000 0000000000000000 0000
DEBUG: AICTRL3 00000 0000000000000000 0000
DEBUG: PSRAM not found, inputBufferSize: 11903 bytes
DEBUG: Connect to new host: "hellwegradiowest.radiovonhier.de/high/stream.mp3"
hostwoext: hellwegradiowest.radiovonhier.de
extension /high/stream.mp3
DEBUG: Connect to "hellwegradiowest.radiovonhier.de" on port 80, extension "/high/stream.mp3"
We gaan verbinden met <<<hellwegradiowest.radiovonhier.de>>>.
[ 6266][E][WiFiGeneric.cpp:1360] hostByName(): DNS Failed for hellwegradiowest.radiovonhier.de
DEBUG: Request hellwegradiowest.radiovonhier.de/high/stream.mp3 failed!
STATION:
STREAMTITLE:
Homepage:
setup einde

mp3.connecttohost("https://icecast.omroepvenray.nl/lov.mp3"); // ssl
Works !!!!!!

Executing task: C:\Users\berga.platformio\penv\Scripts\platformio.exe device monitor <

--- Available filters and text transformations: colorize, debug, default, direct, esp32_exception_decoder, hexlify, log2file, nocontrol, printable, send_on_enter, time
--- More details at https://bit.ly/pio-monitor-filters
--- Miniterm on COM4 115200,8,N,1 ---
--- Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
setup
[ 84][E][esp32-hal-cpu.c:110] addApbChangeCallback(): duplicate func=400DBCFC arg=3FFBDBCC
wifi verbonden
mp3 gestart
DEBUG: Song stopped incorrectly!
DEBUG: after sond stopped incorrectly
DEBUG: REG dec bin hex
DEBUG: ----------- ------- ---------------- -------
DEBUG: MODE 02056 0000100000001000 0808
DEBUG: STATUS 00051 0000000000110011 0033
DEBUG: BASS 00000 0000000000000000 0000
DEBUG: CLOCKF 24576 0110000000000000 6000
DEBUG: DECODE_TIME 00000 0000000000000000 0000
DEBUG: AUDATA 44101 1010110001000101 AC45
DEBUG: WRAM 00081 0000000000010001 0051
DEBUG: WRAMADDR 07686 0001111000000110 1E06
DEBUG: HDAT0 00000 0000000000000000 0000
DEBUG: HDAT1 00000 0000000000000000 0000
DEBUG: AIADDR 00000 0000000000000000 0000
DEBUG: VOL 07710 0001111000011110 1E1E
DEBUG: AICTRL0 00000 0000000000000000 0000
DEBUG: AICTRL1 00000 0000000000000000 0000
DEBUG: AICTRL2 00000 0000000000000000 0000
DEBUG: AICTRL3 00000 0000000000000000 0000
DEBUG: PSRAM not found, inputBufferSize: 11903 bytes
DEBUG: Connect to new host: "https://icecast.omroepvenray.nl/lov.mp3"
hostwoext: icecast.omroepvenray.nl
extension /lov.mp3
DEBUG: Connect to "icecast.omroepvenray.nl" on port 443, extension "/lov.mp3"
We gaan verbinden met <<<icecast.omroepvenray.nl>>>.
DEBUG: SSL has been established in 7833 ms, free Heap: 201696 bytes
setup einde
DEBUG: HTTP/1.0 200 OK
DEBUG: server: Icecast 2.4.4
DEBUG: date: Thu, 30 Jun 2022 13:36:55 GMT
DEBUG: content-type: audio/mpeg, format is mp3
DEBUG: icy-metadata:1
DEBUG: icy-name: Omroep Venray
STATION: Omroep Venray
DEBUG: Switch to DATA, metaint is 16000
lastURL: https://icecast.omroepvenray.nl/lov.mp3
Homepage:
DEBUG: stream ready
DEBUG: buffer filled in 9 ms
DEBUG: StreamTitle='BASTILLE - REMIND ME'
STREAMTITLE: BASTILLE - REMIND ME
DEBUG: slow stream, dropouts are possible
DEBUG: slow stream, dropouts are possible
DEBUG: slow stream, dropouts are possible
DEBUG: slow stream, dropouts are possible
DEBUG: slow stream, dropouts are possible
DEBUG: slow stream, dropouts are possible
DEBUG: slow stream, dropouts are possible
DEBUG: slow stream, dropouts are possible
DEBUG: slow stream, dropouts are possible
DEBUG: slow stream, dropouts are possible
DEBUG: slow stream, dropouts are possible
DEBUG: StreamTitle='RIHANNA - UMBRELLA'
STREAMTITLE: RIHANNA - UMBRELLA
DEBUG: slow stream, dropouts are possible
DEBUG: StreamTitle='BLACK PUMAS - COLORS'
STREAMTITLE: BLACK PUMAS - COLORS
DEBUG: slow stream, dropouts are possible
DEBUG: StreamTitle='ADINA HOWARD - FREAK LIKE ME'
STREAMTITLE: ADINA HOWARD - FREAK LIKE ME
DEBUG: StreamTitle='THE POLICE - ROXANNE'
STREAMTITLE: THE POLICE - ROXANNE
DEBUG: StreamTitle='DI RECT - THROUGH THE LOOKING GLASS'
STREAMTITLE: DI RECT - THROUGH THE LOOKING GLASS
DEBUG: slow stream, dropouts are possible
DEBUG: StreamTitle='JOE COCKER - UNCHAIN MY HEART'
STREAMTITLE: JOE COCKER - UNCHAIN MY HEART
DEBUG: slow stream, dropouts are possible
DEBUG: StreamTitle='RECLAME'
STREAMTITLE: RECLAME
DEBUG: StreamTitle='1LIMBURG HEADLINES'
STREAMTITLE: 1LIMBURG HEADLINES
DEBUG: StreamTitle='NOS JOURNAAL'
STREAMTITLE: NOS JOURNAAL
DEBUG: slow stream, dropouts are possible
DEBUG: StreamTitle='ANWB VERKEERSINFORMATIE'
STREAMTITLE: ANWB VERKEERSINFORMATIE
DEBUG: StreamTitle='RECLAME'
STREAMTITLE: RECLAME
DEBUG: StreamTitle='SHEPPARD - COMING HOME'
STREAMTITLE: SHEPPARD - COMING HOME
DEBUG: StreamTitle='MASSIVE ATTACK - UNFINISHED SYMPATHY'
STREAMTITLE: MASSIVE ATTACK - UNFINISHED SYMPATHY
DEBUG: StreamTitle='GEORGE EZRA - ANYONE FOR YOU'
STREAMTITLE: GEORGE EZRA - ANYONE FOR YOU
DEBUG: StreamTitle='ANNA KENDRICK - CUPS (PITCH PERFECTS WHEN I'M GONE)'
STREAMTITLE: ANNA KENDRICK - CUPS (PITCH PERFECTS WHEN I'M GONE)
DEBUG: StreamTitle='THE KOOKS - OOH LA'
STREAMTITLE: THE KOOKS - OOH LA
DEBUG: StreamTitle='CHAKA KHAN - I'M EVERY WOMAN'
STREAMTITLE: CHAKA KHAN - I'M EVERY WOMAN
DEBUG: StreamTitle='SWEDISH HOUSE MAFIA/THE WEEKND - MOTH TO A FLAME'
STREAMTITLE: SWEDISH HOUSE MAFIA/THE WEEKND - MOTH TO A FLAME

mp3.connecttospeech("Wenn die Hunde schlafen, kann der Wolf gut Schafe stehlen.", "de");

Executing task: C:\Users\berga.platformio\penv\Scripts\platformio.exe device monitor <

--- Available filters and text transformations: colorize, debug, default, direct, esp32_exception_decoder, hexlify, log2file, nocontrol, printable, send_on_enter, time
--- More details at https://bit.ly/pio-monitor-filters
--- Miniterm on COM4 115200,8,N,1 ---
--- Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
setup
[ 84][E][esp32-hal-cpu.c:110] addApbChangeCallback(): duplicate func=400DBF34 arg=3FFBDBCC
wifi verbonden
mp3 gestart
DEBUG: Song stopped incorrectly!
DEBUG: after sond stopped incorrectly
DEBUG: REG dec bin hex
DEBUG: ----------- ------- ---------------- -------
DEBUG: MODE 02056 0000100000001000 0808
DEBUG: STATUS 00051 0000000000110011 0033
DEBUG: BASS 00000 0000000000000000 0000
DEBUG: CLOCKF 24576 0110000000000000 6000
DEBUG: DECODE_TIME 00000 0000000000000000 0000
DEBUG: AUDATA 44101 1010110001000101 AC45
DEBUG: WRAM 00019 0010000000010001 0051
DEBUG: WRAMADDR 07686 0001111000000110 1E06
DEBUG: HDAT0 00000 0000000000000000 0000
DEBUG: HDAT1 00000 0000000000000000 0000
DEBUG: AIADDR 00000 0000000000000000 0000
DEBUG: VOL 07710 0001111000011110 1E1E
DEBUG: AICTRL0 00000 0000000000000000 0000
DEBUG: AICTRL1 00000 0000000000000000 0000
DEBUG: AICTRL2 00000 0000000000000000 0000
DEBUG: AICTRL3 00000 0000000000000000 0000
DEBUG: PSRAM not found, inputBufferSize: 11903 bytes
DEBUG: SSL has been established, free Heap: 203156 bytes
setup einde
DEBUG: HTTP/1.1 200 OK
DEBUG: content-type: audio/mpeg, format is mp3
DEBUG: date: Thu, 30 Jun 2022 14:29:07 GMT
DEBUG: cross-origin-opener-policy: same-origin; report-to="TranslateApiHttp"
DEBUG: content-security-policy: script-src 'report-sample' 'nonce-i0sJJnuNRsVmOFRyX_NkGA' 'unsafe-inline';object-src 'none';base-uri 'self';report-uri //TranslateApiHttp/cspreport;worker-src 'self'
DEBUG: content-security-policy: require-trusted-types-for 'script';report-uri /
/TranslateApiHttp/cspreport
DEBUG: cross-origin-resource-policy: cross-origin
DEBUG: report-to: {"group":"TranslateApiHttp","max_age":2592000,"endpoints":[{"url":"https://csp.withgoogle.com/csp/report-to/TranslateApiHttp/external"}]}
DEBUG: permissions-policy: ch-ua-arch=, ch-ua-bitness=, ch-ua-full-version=, ch-ua-full-version-list=, ch-ua-model=, ch-ua-platform=, ch-ua-platform-version=*
DEBUG: accept-ch: Sec-CH-UA-Arch, Sec-CH-UA-Bitness, Sec-CH-UA-Full-Version, Sec-CH-UA-Full-Version-List, Sec-CH-UA-Model, Sec-CH-UA-Platform, Sec-CH-UA-Platform-Version
DEBUG: chunked data transfer
DEBUG: server: ESF
DEBUG: x-xss-protection: 0
DEBUG: x-frame-options: SAMEORIGIN
DEBUG: x-content-type-options: nosniff
DEBUG: alt-svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
DEBUG: Switch to DATA, metaint is 0
lastURL: Wenn die Hunde schlafen, kann der Wolf gut Schafe stehlen.
STATION:
Homepage:
STREAMTITLE:
DEBUG: stream ready
DEBUG: buffer filled in 7 ms
DEBUG: file has no mp3 tag, skip metadata
DEBUG: Audio-Length: 19392
DEBUG: Song stopped incorrectly!
DEBUG: after sond stopped incorrectly
DEBUG: REG dec bin hex
DEBUG: ----------- ------- ---------------- -------
DEBUG: MODE 02056 0000100000001000 0808
DEBUG: STATUS 00051 0000000000110011 0033
DEBUG: BASS 00000 0000000000000000 0000
DEBUG: CLOCKF 24576 0110000000000000 6000
DEBUG: DECODE_TIME 00004 0000000000000100 0004
DEBUG: AUDATA 24000 0101110111000000 5DC0
DEBUG: WRAM 00081 0000000001010001 0051
DEBUG: WRAMADDR 07686 0001111000000110 1E06
DEBUG: HDAT0 00000 0000000000000000 0000
DEBUG: HDAT1 00000 0000000000000000 0000
DEBUG: AIADDR 00000 0000000000000000 0000
DEBUG: VOL 07710 0001111000011110 1E1E
DEBUG: AICTRL0 00000 0000000000000000 0000
DEBUG: AICTRL1 00000 0000000000000000 0000
DEBUG: AICTRL2 00000 0000000000000000 0000
DEBUG: AICTRL3 00000 0000000000000000 0000
DEBUG: End of speech: "Wenn die Hunde schlafen, kann der Wolf gut Schafe stehlen."
end of speech:Wenn die Hunde schlafen, kann der Wolf gut Schafe stehlen.

@nodoubtman
Copy link

Hey, i had the same problem, edit the : vs1053_ext.h file and

CHANGE

uint16_t m_timeout_ms = 250;

for

uint16_t m_timeout_ms = 2500;

Should be working now :)

Just tell me how it goes.
Thanks.
Marc.

@schreibfaul1
Copy link
Owner

Sorry for the late reply, I didn't get the email notification. There are problems with the timeout when establishing the connection, see espressif/arduino-esp32#7057. I have now import some routines from my I2S Lib, so some other errors have been eliminated.

@bergvdna
Copy link
Author

bergvdna commented Aug 23, 2022 via email

@bergvdna
Copy link
Author

bergvdna commented Oct 11, 2022 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants