schreibfaul1 / ESP32-MiniWebRadio

Internetradio with ESP32, I2S DAC and SPI TFT Display with Touchpad
https://www.youtube.com/watch?v=6QbPee2583o
334 stars 83 forks source link

Refetch chunk hangup #463

Closed RobinMosedale closed 3 weeks ago

RobinMosedale commented 4 months ago

Wolle,

Recall the intent was receiving BBC HLS M3u8 playlist of TS segments

I've built two identical radios' Configuration: ESP32 Devkit S3 N32R8 ILI9341 PCM5012 Max 98306 12V to 5V 5A DC-DC Power Down Module Power Supply There is no Bluetooth, but left the pins defined

This occurs on BBC HLS Chunked sites. I haven't observed this on old 'shout-out' sites WIFI isn't perfect, but I've established a reliable beacon with reasonable power. This occurs on both of my units. A timeout can occur on fetching one of the .ts files defined in an M3U8 playlist. Occasionally I can see it recover with a reconnect. However, more often it gets stuck, and can only be released by manually switching station, and then switching back. Wifi connection hasn't been broken as I can receive data from the webpage with stack and que size responses from a ?. Switching station can be made either via the touchscreen or the WebServer. The hang ups can occur several times in a hour hour programme.

The attached shows the trace from a reasonably long successful connection, then a 20 minute hang up, followed by intervention via the touch screen, switching to another station stream, and then back.

I'm mindful that the BBC specification is very strict. Requests are strictly time limited in each playlist chunk, to prevent excessive requests. I'm not sure whether this is occurring.

Let me know if there are further diagnostics which may help pinpoint what is going on during the break.

(Forgive me, I've had to remove large areas of the log which were repetetive, as it exceeded the GIThub limit)

*  Executing task: C:\Users\robin\.platformio\penv\Scripts\platformio.exe device monitor --port COM4 

git version 2.45.2.windows.1
Cloning into 'C:\Users\robin\.platformio\.cache\tmp\pkg-installing-hjj26idh'...
warning: Could not find remote branch idf-v5.1.3 to clone.
fatal: Remote branch idf-v5.1.3 not found in upstream origin
Esp32ExceptionDecoder: disabling, exception while looking for addr2line: VCS: Could not process command ['git', 'clone', '--recursive', '--depth', '1', '--branch', 'idf-v5.1.3', 'https://github.com/espressif/esp32-arduino-libs.git', 'C:\\Users\\robin\\.platformio\\.cache\\tmp\\pkg-installing-hjj26idh']

Please build project in debug configuration to get more details about an exception.
See https://docs.platformio.org/page/projectconf/build_configurations.html

--- Terminal on COM4 | 115200 8-N-1
--- 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
--- Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
Octal Flash Mode Enabled
For OPI Flash, Use Default Flash Boot Mode
mode:SLOW_RD, clock div:1
load:0x3fce3818,len:0x508
load:0x403c9700,len:0x4
load:0x403c9704,len:0xad0
load:0x403cc700,len:0x29d8
entry 0x403c9880
[   618][I][esp32-hal-psram.c:92] psramInit(): PSRAM enabled

ESP32 Chip: ESP32-S3
Arduino Version: 3.0.0
ESP-IDF Version: 5.1.3
MiniWebRadio     Version 3.00o Mar 02/2024
ARDUINO_LOOP_STACK_SIZE 8192 words (32 bit)
FLASH size 33554432 bytes, speed 80 MHz
CPU speed 240 MHz
SDMMC speed 20 MHz
TFT speed 40 MHz
PSRAM total size: 8388608 bytes
RESET_REASON: Reset due to power-on event

00:00:00
00:00:00        ***************************    
00:00:00        *     MiniWebRadio V3     *    
00:00:00        ***************************    
00:00:00
00:00:00 setup: ....  Arduino is pinned to core 1
00:00:00 tft_info: .  init ILI9341
00:00:00 setup: ....  Init SD card
00:00:00 setup: ....  SD card found, 7498.9 MB by 7538.0 MB free
[   957][I][esp32-hal-ledc.c:131] ledcAttachChannel(): LEDC attached to pin 10 (channel 0, resolution 8)
00:00:00 setup: ....  seek for stations.csv
00:00:00 setup: ....  stations.csv found
00:00:00 setup: ....  seek for WiFi networks
[  1348][I][WiFiMulti.cpp:90] addAP(): [WIFI][APlistAdd] add SSID: TP-LINK_EB850C_Ext
[  1372][I][WiFiMulti.cpp:90] addAP(): [WIFI][APlistAdd] add SSID: TP-LINK_EB850C_Ext
[  1381][I][WiFiMulti.cpp:90] addAP(): [WIFI][APlistAdd] add SSID: Rose
[  1388][I][WiFiMulti.cpp:90] addAP(): [WIFI][APlistAdd] add SSID: Roise_4
[  1396][I][WiFiMulti.cpp:90] addAP(): [WIFI][APlistAdd] add SSID: TP-LINK_EB850C
[  1405][I][WiFiMulti.cpp:90] addAP(): [WIFI][APlistAdd] add SSID: Rose
[  1413][I][WiFiMulti.cpp:90] addAP(): [WIFI][APlistAdd] add SSID: Rosie_3
[  1420][I][WiFiMulti.cpp:90] addAP(): [WIFI][APlistAdd] add SSID: Rosiem
[  6280][I][WiFiMulti.cpp:134] run(): [WIFI] scan done
[  6286][I][WiFiMulti.cpp:139] run(): [WIFI] 5 networks found
[  6293][I][WiFiMulti.cpp:263] run(): [WIFI] Connecting BSSID: 60:E3:27:EB:85:0C SSID: TP-LINK_EB850C Channel: 1 (-54)
[  6304][W][STA.cpp:544] disconnect(): STA already disconnected.
[  6683][I][WiFiMulti.cpp:283] run(): [WIFI] Connecting done.
00:00:06 WiFI_info:   Connecting WiFi...
00:00:06 WiFI_info:   mDNS name: MiniWebRadio
00:00:06 setup: ....  connected to , IP address is 192.168.1.232
00:00:06 ftpServer:   Buffers allocated: 4622 bytes
00:00:06 rtime_info:  Initializing SNTP
00:00:06 rtime_info:  Waiting for system time to be set... (1/10)
00:00:08 rtime_info:  Waiting for system time to be set... (2/10)
00:00:10 rtime_info:  Waiting for system time to be set... (3/10)
00:00:12 rtime_info:  Waiting for system time to be set... (4/10)
12:49:49 rtime_info:  12:49:49
12:49:49 audiotask:   is pinned to core 0
12:49:49 audiotask:   priority is 2
12:49:49 setup: ....  Number of saved stations: 14
12:49:49 setup: ....  current station number: 8
12:49:49 setup: ....  current volume: 4
12:49:49 setup: ....  last connected host: http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_r a
dio_fourfm-audio%3d96000.norewind.m3u8
12:49:49 setup: ....  connection timeout: 500 ms
12:49:49 setup: ....  connection timeout SSL: 2000 ms
12:49:49 action: ...  current volume is 4
[ 15054][I][ArduinoOTA.cpp:141] begin(): OTA server at: MiniWebRadio.local:3232
12:49:49 action: ...  switch to station 8
12:49:49 AUDIO_info:  Connect to new host: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/ ... 96000.norewind.m3u8"
12:49:49 AUDIO_info:  PSRAM found, inputBufferSize: 638965 bytes
12:49:49 AUDIO_info:  buffers freed, free Heap: 171016 bytes
12:49:49 AUDIO_info:  Connection has been established in 28 ms, free Heap: 170548 bytes
12:49:49 lastURL: ..  http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_r ... d96000.norewind.m3u8
12:49:49 AUDIO_info:  media sequence number: 268818655
12:49:49 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818655.ts"
12:49:49 AUDIO_info:  file "/logo/s/BBC Radio 4.jpg" not found
12:49:49 AUDIO_info:  AACDecoder has been initialized, free Heap: 168176 bytes , free stack 5172 DWORDs
12:49:49 AUDIO_info:  syncword found at pos 0
E (29944) i2s_std: i2s_channel_reconfig_std_clock(265): invalid state, I2S should be disabled before reconfiguring the clock
12:49:49 AUDIO_info:  Channels: 2
12:49:49 AUDIO_info:  SampleRate: 48000
12:49:49 AUDIO_info:  BitsPerSample: 16
12:49:49 AUDIO_info:  BitRate: 121312
12:49:49 AUDIO_info:  AAC HeaderFormat: ADTS
12:49:49 AUDIO_info:  AAC Codec: MPEG-4 LowComplexity
12:49:50 AUDIO_info:  VBR recognized, audioFileDuration is estimated
12:49:50 ftpServer:   Ftp server waiting for connection on port 21
12:49:50 Audiocodec:  AAC
12:49:51 BT-Emitter:  KCX_BT_Emitter not found 
12:49:52 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818656.ts"
12:49:56 DLNA_server: [0] 192.168.1.102:60606  DMR-PWT550
12:49:57 DLNA_server: [1] 192.168.1.236:2869  ROSE: Robin:
12:49:57 DLNA_server: 2 media server found
12:49:59 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818657.ts"
12:50:06 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818658.ts"
12:50:13 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818659.ts"
12:50:20 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... 96000.norewind.m3u8"
12:50:20 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818660.ts"
12:50:27 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818661.ts"
12:50:34 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818662.ts"
12:50:41 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818663.ts"
12:50:48 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818664.ts"
12:50:54 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... 96000.norewind.m3u8"
12:50:55 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818665.ts"
12:51:01 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818666.ts"
12:51:08 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818667.ts"
12:51:15 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818668.ts"
12:51:22 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818669.ts"
12:51:29 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... 96000.norewind.m3u8"
[115242][W][Audio.cpp:2744] parsePlaylist_M3U8(): mediaseq 268818670 skipped
12:51:29 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818671.ts"
12:51:36 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818672.ts"
12:51:43 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818673.ts"
12:51:50 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818674.ts"
12:51:57 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818675.ts"
12:52:04 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... 96000.norewind.m3u8"
12:52:04 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818676.ts"
12:52:11 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818677.ts"
12:52:18 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818678.ts"
12:52:25 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818679.ts"
12:52:32 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818680.ts"
12:52:39 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... 96000.norewind.m3u8"
[184882][W][Audio.cpp:2744] parsePlaylist_M3U8(): mediaseq 268818681 skipped
12:52:39 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818682.ts"
12:52:46 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818683.ts"
12:52:53 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818684.ts"
12:53:00 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818685.ts"
12:53:07 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818686.ts"
12:53:14 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... 96000.norewind.m3u8"
12:53:14 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818687.ts"
12:53:21 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818688.ts"
12:53:28 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818689.ts"
12:53:35 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818690.ts"
12:53:42 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818691.ts"
12:53:49 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... 96000.norewind.m3u8"
12:53:49 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818692.ts"
12:53:56 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818693.ts"
12:54:03 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818694.ts"
12:54:10 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818695.ts"
12:54:17 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818696.ts"
12:54:24 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... 96000.norewind.m3u8"
[289430][W][Audio.cpp:2744] parsePlaylist_M3U8(): mediaseq 268818697 skipped
12:54:24 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818698.ts"
12:54:30 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818699.ts"
12:54:37 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818700.ts"
12:54:44 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818701.ts"
12:54:51 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818702.ts"
12:54:58 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... 96000.norewind.m3u8"
12:54:58 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818703.ts"
12:55:05 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818704.ts"
12:55:12 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818705.ts"
12:55:19 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818706.ts"
12:55:26 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818707.ts"
12:55:33 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... 96000.norewind.m3u8"
[359074][W][Audio.cpp:2744] parsePlaylist_M3U8(): mediaseq 268818708 skipped
..... and so on until...
13:02:59 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... 96000.norewind.m3u8"
[804891][W][Audio.cpp:2744] parsePlaylist_M3U8(): mediaseq 268818778 skipped
13:02:59 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818779.ts"
13:03:06 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818780.ts"
13:03:13 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818781.ts"
13:03:20 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818782.ts"
13:03:27 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818783.ts"
13:03:34 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... 96000.norewind.m3u8"
13:03:34 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818784.ts"
13:03:39 AUDIO_info:  slow stream, dropouts are possible
13:03:40 AUDIO_info:  slow stream, dropouts are possible
13:03:41 AUDIO_info:  slow stream, dropouts are possible
13:03:42 AUDIO_info:  slow stream, dropouts are possible
13:03:43 AUDIO_info:  Stream lost -> try new connection
13:03:43 AUDIO_info:  Connect to new host: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/ ... 96000.norewind.m3u8"
13:03:43 AUDIO_info:  buffers freed, free Heap: 168852 bytes
13:03:43 AUDIO_info:  Connection has been established in 317 ms, free Heap: 168612 bytes
13:03:43 lastURL: ..  http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_r ... d96000.norewind.m3u8
13:03:43 AUDIO_info:  media sequence number: 268818785
13:03:43 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818785.ts"
13:03:43 AUDIO_info:  AACDecoder has been initialized, free Heap: 166900 bytes , free stack 4980 DWORDs
13:03:43 AUDIO_info:  syncword found at pos 0
13:03:43 AUDIO_info:  slow stream, dropouts are possible
13:03:43 AUDIO_info:  Channels: 2
13:03:43 AUDIO_info:  SampleRate: 48000
13:03:43 AUDIO_info:  BitsPerSample: 16
13:03:43 AUDIO_info:  BitRate: 96750
13:03:43 AUDIO_info:  AAC HeaderFormat: ADTS
13:03:43 AUDIO_info:  AAC Codec: MPEG-4 LowComplexity
13:03:43 AUDIO_info:  VBR recognized, audioFileDuration is estimated
13:03:45 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818786.ts"
13:03:52 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818787.ts"
13:03:59 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818788.ts"
13:04:06 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818789.ts"
13:04:13 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... 96000.norewind.m3u8"
13:04:13 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818790.ts"
13:04:20 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818791.ts"
13:04:27 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818792.ts"
13:04:34 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818793.ts"
13:04:41 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818794.ts"
13:04:48 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... 96000.norewind.m3u8"
13:04:48 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818795.ts"
13:04:55 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818796.ts"
13:05:02 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818797.ts"
13:05:09 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268818798.ts"
... and so on until...
13:58:27 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268819298.ts"
13:58:34 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268819299.ts"
13:58:41 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... 96000.norewind.m3u8"
13:58:41 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268819300.ts"
13:58:48 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268819301.ts"
13:58:55 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268819302.ts"
13:59:02 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268819303.ts"
13:59:09 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268819304.ts"
13:59:16 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... 96000.norewind.m3u8"
[4183935][E][Audio.cpp:3679] parseHttpResponseHeader(): timeout
13:59:18 AUDIO_info:  Connect to new host: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/ ... 96000.norewind.m3u8"
13:59:18 AUDIO_info:  buffers freed, free Heap: 168864 bytes
[4190955][E][NetworkManager.cpp:125] hostByName(): DNS Failed for 'as-hls-ww-live.akamaized.net' with error '-5' and result '-1'
[4191470][I][NetworkClient.cpp:269] connect(): select returned due to timeout 500 ms for fd 53
13:59:26 AUDIO_info:  Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed!
13:59:26 StreamTitle:
13:59:53 Time: ...... Announcement at 14 o'clock is silent
[5456439][I][tft.cpp:5292] loop(): tp_pressed x=150, y=95
[5458705][I][tft.cpp:5292] loop(): tp_pressed x=137, y=204
14:20:33 action: ...  switch to station 7
14:20:33 AUDIO_info:  Connect to new host: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/ ... 96000.norewind.m3u8"
14:20:33 AUDIO_info:  buffers freed, free Heap: 168744 bytes
14:20:34 AUDIO_info:  Connection has been established in 801 ms, free Heap: 168444 bytes
14:20:34 lastURL: ..  http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_three/bbc_ra ... d96000.norewind.m3u8
14:20:34 AUDIO_info:  media sequence number: 268819505
14:20:34 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268819505.ts"
14:20:34 AUDIO_info:  file "/logo/s/BBC Radio 3.jpg" not found
14:20:34 AUDIO_info:  AACDecoder has been initialized, free Heap: 165984 bytes , free stack 4944 DWORDs
14:20:34 AUDIO_info:  syncword found at pos 0
14:20:34 AUDIO_info:  Channels: 2
14:20:34 AUDIO_info:  SampleRate: 48000
14:20:34 AUDIO_info:  BitsPerSample: 16
14:20:34 AUDIO_info:  BitRate: 101437
14:20:34 AUDIO_info:  AAC HeaderFormat: ADTS
14:20:34 AUDIO_info:  AAC Codec: MPEG-4 LowComplexity
14:20:34 AUDIO_info:  VBR recognized, audioFileDuration is estimated
14:20:34 Audiocodec:  AAC
14:20:36 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268819506.ts"
14:20:41 Webpage:     index.html
14:20:42 Script:      index.js
14:20:44 webSrv: ...  GetFolder "/"
14:20:44 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268819507.ts"
14:20:50 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268819508.ts"
14:20:57 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268819509.ts"
14:21:04 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... 96000.norewind.m3u8"
14:21:04 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268819510.ts"
14:21:11 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268819511.ts"
14:21:18 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268819512.ts"
14:21:25 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268819513.ts"
14:21:32 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268819514.ts"
14:21:39 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... 96000.norewind.m3u8"
[5525143][W][Audio.cpp:2744] parsePlaylist_M3U8(): mediaseq 268819515 skipped
14:21:39 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268819516.ts"
14:21:46 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268819517.ts"
14:21:53 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268819518.ts"
14:22:00 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268819519.ts"
14:22:07 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268819520.ts"
14:22:14 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... 96000.norewind.m3u8"
14:22:14 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268819521.ts"
14:22:21 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268819522.ts"
14:22:28 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268819523.ts"
14:22:35 AUDIO_info:  new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radi ... =96000-268819524.ts"
schreibfaul1 commented 4 months ago

I have also observed this, I suspect the name is not resolved, this is only since the last Arduino versions, "DNS failed for..." I hope the error is gone with Arduino V3..., but PlatformIO (still) causes problems with V3.

RobinMosedale commented 4 months ago

Thank you, Wolle. I have only ever built with your recommended method of Platform IO. I can't find Arduino v3, the latest is Arduino IDE 2.3.2. Do I have to install a specific version of Arduino as an extension within Platform IO? Could you point me to where I might find Arduino V3 and how to build with the parameters required under Platform IO

RobinMosedale commented 4 months ago

Seems quite a significant flaw, and requires manual intervention several times during a broadcast. Is it possible to revert to a previous Arduino and build with that? and how would one do it? Seems such a shame to waste to perfectly good builds

RobinMosedale commented 3 months ago

Some tests: A few tests on 2 identical units, with only the default WiFi beacon changed, in 2 different locations.

Within 2 metres of the fibre hub WiFi beacon, good signal. It experienced fetch dropouts, with several minutes attempting to recover. During which time, both the Web server became unresponsive, and the touch screen also. In a more challenging location with a weaker signal but where my android phone happily receives BBC Sounds broadcast. Spends most of the time recovering with lock out It's also noticed that the Web interface and touch screen is much less responsive even when not recovering and suspect that these function are on the same task as the WiFi rx function. Would it help if these functions were also separated as individual tasks?

Some tests have been performed. An esp32 NAT repeater was programmed for two purposes.

  1. The repeater can be moved to vary the quality of the signal, both from its origin hotspot AP, and varying the quality of the signal to the Webradio.
  2. Both the Webradio and the NAT repeater can be monitored via serial link simultaneously to observe what the NAT AP is seeing the Radio doing in a recovery.

The NAT repeater was positioned where the signal to the radio was OK, and was coping with distant origin Wifi AP. Once a packet was lost, the radio seems to be stuck attempting a reconnect making the same connect error. It can e recovered by cycling the repeater to force loss of the DNS address, and rassigning.

Here is the radio trace. --- Terminal on COM20 | 115200 8-N-1 --- 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 --- Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H 00:00:07 setup: .... 8 WiFi networks found 00:00:07 setup: .... TP-LINK_EB850C_Ext (-36) 00:00:07 setup: .... TP-LINK_EB850C (-45) 00:00:07 setup: .... ESP32_NAT_Router (-47) 00:00:07 setup: .... DIRECT-276C4D1D (-52) 00:00:07 setup: .... Roise_4 (-71) 00:00:07 setup: .... Rose (-77) 00:00:07 setup: .... podpoint (-87) 00:00:07 setup: .... Rosie_3 (-90) [ 14315][I][WiFiMulti.cpp:129] run(): [WIFI] scan done [ 14320][I][WiFiMulti.cpp:134] run(): [WIFI] 8 networks found [ 14327][I][WiFiMulti.cpp:249] run(): [WIFI] Connecting BSSID: FC:B4:67:74:59:A1 SSID: ESP32_NAT_Router Channel: 9 (-43) [ 14339][W][STA.cpp:537] disconnect(): STA already disconnected. [ 18373][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 15 - 4WAY_HANDSHAKE_TIMEOUT [ 18381][W][STA.cpp:537] disconnect(): STA already disconnected. [ 18668][I][WiFiMulti.cpp:272] run(): [WIFI] Connecting done. 00:00:18 WiFI_info: Connecting WiFi... 00:00:18 WiFI_info: mDNS name: MiniWebRadio 00:00:18 setup: .... connected to ESP32_NAT_Router, IP address is 192.168.4.2 [ 18708][I][ArduinoOTA.cpp:129] begin(): OTA server at: MiniWebRadio.local:3232 00:00:18 ftpServer: Buffers allocated: 4622 bytes 00:00:18 rtime_info: Initializing SNTP 00:00:18 rtime_info: Waiting for system time to be set... (1/10) 00:00:20 rtime_info: Waiting for system time to be set... (2/10) 16:41:34 rtime_info: 16:41:34 16:41:34 audiotask: is pinned to core 0 16:41:34 audiotask: priority is 2 16:41:34 AUDIO_info: commFMT = Philips 16:41:34 setup: .... Number of saved stations: 13 16:41:34 setup: .... current station number: 8 16:41:34 setup: .... current volume: 3 16:41:34 setup: .... last connected host: http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 16:41:34 setup: .... connection timeout: 2500 ms 16:41:34 setup: .... connection timeout SSL: 3500 ms 16:41:34 action: ... switch to station 8 16:41:34 AUDIO_info: PSRAM found, inputBufferSize: 638965 bytes 16:41:34 AUDIO_info: buffers freed, free Heap: 190144 bytes 16:41:34 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 16:41:34 AUDIO_info: Connection has been established in 61 ms, free Heap: 189700 bytes 16:41:34 lastURL: .. http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_r ... d96000.norewind.m3u8 16:41:35 AUDIO_info: media sequence number: 269239328 16:41:35 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=96000-269239328.ts" 16:41:35 AUDIO_info: AACDecoder has been initialized, free Heap: 187252 bytes , free stack 5116 DWORDs 16:41:35 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=96000-269239329.ts" 16:41:35 WiFI_info: RSSI is -40 dB 16:41:35 Audiocodec: AAC 16:41:35 ftpServer: Ftp server waiting for connection on port 21 16:41:36 AUDIO_info: stream ready 16:41:36 AUDIO_info: syncword found at pos 0 16:41:36 AUDIO_info: Channels: 2 16:41:36 AUDIO_info: SampleRate: 48000 16:41:36 AUDIO_info: BitsPerSample: 16 16:41:36 AUDIO_info: BitRate: 132375 16:41:36 AUDIO_info: AAC HeaderFormat: ADTS 16:41:36 AUDIO_info: AAC Codec: MPEG-4 LowComplexity 16:41:36 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=96000-269239330.ts" 16:41:36 BT-Emitter: KCX_BT_Emitter not found 16:41:41 DLNA_server: 0 media server found 16:41:43 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=96000-269239331.ts" 16:41:49 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=96000-269239332.ts" 16:41:55 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 16:41:55 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=96000-269239333.ts" 16:42:02 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=96000-269239334.ts" 16:42:08 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=96000-269239335.ts" 16:42:15 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 16:42:15 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=96000-269239336.ts" 16:42:21 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=96000-269239337.ts" 16:42:27 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=96000-269239338.ts" 16:42:34 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 16:42:34 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=96000-269239339.ts" 16:42:40 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=96000-269239340.ts" 16:42:43 WiFI_info: RSSI is -66 dB 16:42:44 WiFI_info: RSSI is -57 dB 16:42:47 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=96000-269239341.ts" 16:42:53 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 16:42:53 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=96000-269239342.ts" 16:42:59 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=96000-269239343.ts" 16:43:06 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=96000-269239344.ts" 16:43:12 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 16:43:12 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=96000-269239345.ts" 16:43:14 WiFI_info: RSSI is -70 dB 16:43:17 WiFI_info: RSSI is -55 dB 16:43:18 WiFI_info: RSSI is -45 dB 16:43:19 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=96000-269239346.ts" 16:43:21 WiFI_info: RSSI is -53 dB

...... and so on until:- 16:59:07 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=96000-269239496.ts" 16:59:14 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 16:59:14 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=96000-269239497.ts" 16:59:29 AUDIO_info: slow stream, dropouts are possible 16:59:30 AUDIO_info: slow stream, dropouts are possible 16:59:31 AUDIO_info: slow stream, dropouts are possible 16:59:32 AUDIO_info: Stream lost -> try new connection 16:59:32 AUDIO_info: buffers freed, free Heap: 189904 bytes 16:59:32 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" [1114745][E][NetworkManager.cpp:130] hostByName(): DNS Failed for 'as-hls-ww-live.akamaized.net' with error '-54' [1117758][I][NetworkClient.cpp:253] connect(): select returned due to timeout 3000 ms for fd 53 16:59:49 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [1117780][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 16:59:49 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 16:59:49 StationName: 16:59:49 StreamTitle: 16:59:49 WiFI_info: RSSI is -57 dB 16:59:50 AUDIO_info: buffers freed, free Heap: 189512 bytes 16:59:50 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" [1132826][E][NetworkManager.cpp:130] hostByName(): DNS Failed for 'as-hls-ww-live.akamaized.net' with error '-54' [1135839][I][NetworkClient.cpp:253] connect(): select returned due to timeout 3000 ms for fd 53 17:00:07 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [1135861][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 17:00:07 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 17:00:07 StationName: 17:00:07 StreamTitle: 17:00:08 AUDIO_info: buffers freed, free Heap: 189500 bytes 17:00:08 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" [1150826][E][NetworkManager.cpp:130] hostByName(): DNS Failed for 'as-hls-ww-live.akamaized.net' with error '-54' [1153839][I][NetworkClient.cpp:253] connect(): select returned due to timeout 3000 ms for fd 53 17:00:25 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [1153860][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 17:00:25 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 17:00:25 StationName: 17:00:25 StreamTitle: 17:00:26 AUDIO_info: buffers freed, free Heap: 189500 bytes 17:00:26 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" [1168826][E][NetworkManager.cpp:130] hostByName(): DNS Failed for 'as-hls-ww-live.akamaized.net' with error '-54' [1171839][I][NetworkClient.cpp:253] connect(): select returned due to timeout 3000 ms for fd 53 17:00:43 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [1171861][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 17:00:43 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 17:00:43 StationName: 17:00:43 StreamTitle: 17:00:43 WiFI_info: RSSI is -49 dB 17:00:44 AUDIO_info: buffers freed, free Heap: 189548 bytes 17:00:44 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" [1186826][E][NetworkManager.cpp:130] hostByName(): DNS Failed for 'as-hls-ww-live.akamaized.net' with error '-54' [1189839][I][NetworkClient.cpp:253] connect(): select returned due to timeout 3000 ms for fd 53 17:01:01 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [1189860][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 17:01:01 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 17:01:01 StationName: 17:01:01 StreamTitle: 17:01:02 AUDIO_info: buffers freed, free Heap: 189560 bytes 17:01:02 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" [1204826][E][NetworkManager.cpp:130] hostByName(): DNS Failed for 'as-hls-ww-live.akamaized.net' with error '-54' [1207839][I][NetworkClient.cpp:253] connect(): select returned due to timeout 3000 ms for fd 53 17:01:19 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [1207861][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 17:01:19 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 17:01:19 StationName: 17:01:19 StreamTitle: 17:01:20 AUDIO_info: buffers freed, free Heap: 189548 bytes 17:01:20 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" [1222827][E][NetworkManager.cpp:130] hostByName(): DNS Failed for 'as-hls-ww-live.akamaized.net' with error '-54' [1225840][I][NetworkClient.cpp:253] connect(): select returned due to timeout 3000 ms for fd 53 17:01:37 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [1225862][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 17:01:37 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 17:01:37 StationName: 17:01:37 StreamTitle: 17:01:38 AUDIO_info: buffers freed, free Heap: 189500 bytes 17:01:38 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" [1240826][E][NetworkManager.cpp:130] hostByName(): DNS Failed for 'as-hls-ww-live.akamaized.net' with error '-54' [1243839][I][NetworkClient.cpp:253] connect(): select returned due to timeout 3000 ms for fd 53 17:01:55 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [1243861][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 17:01:55 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 17:01:55 StationName: 17:01:55 StreamTitle: 17:01:56 AUDIO_info: buffers freed, free Heap: 189500 bytes 17:01:56 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" [1258826][E][NetworkManager.cpp:130] hostByName(): DNS Failed for 'as-hls-ww-live.akamaized.net' with error '-54' [1261839][I][NetworkClient.cpp:253] connect(): select returned due to timeout 3000 ms for fd 53 17:02:13 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [1261860][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 17:02:13 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 17:02:13 StationName: 17:02:13 StreamTitle: 17:02:14 AUDIO_info: buffers freed, free Heap: 189500 bytes 17:02:14 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" [1276826][E][NetworkManager.cpp:130] hostByName(): DNS Failed for 'as-hls-ww-live.akamaized.net' with error '-54' [1279839][I][NetworkClient.cpp:253] connect(): select returned due to timeout 3000 ms for fd 53 17:02:31 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [1279861][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 17:02:31 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 17:02:31 StationName: 17:02:31 StreamTitle: 17:02:32 AUDIO_info: buffers freed, free Heap: 189500 bytes 17:02:32 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" [1294826][E][NetworkManager.cpp:130] hostByName(): DNS Failed for 'as-hls-ww-live.akamaized.net' with error '-54' [1297839][I][NetworkClient.cpp:253] connect(): select returned due to timeout 3000 ms for fd 53 17:02:49 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [1297860][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 17:02:49 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 17:02:49 StationName: 17:02:49 StreamTitle: 17:02:50 AUDIO_info: buffers freed, free Heap: 189500 bytes 17:02:50 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" [1312826][E][NetworkManager.cpp:130] hostByName(): DNS Failed for 'as-hls-ww-live.akamaized.net' with error '-54' [1315839][I][NetworkClient.cpp:253] connect(): select returned due to timeout 3000 ms for fd 53 17:03:07 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [1315861][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 17:03:07 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 17:03:07 StationName: 17:03:07 StreamTitle: 17:03:08 AUDIO_info: buffers freed, free Heap: 189500 bytes 17:03:08 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" [1330826][E][NetworkManager.cpp:130] hostByName(): DNS Failed for 'as-hls-ww-live.akamaized.net' with error '-54' [1333839][I][NetworkClient.cpp:253] connect(): select returned due to timeout 3000 ms for fd 53 17:03:25 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [1333861][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 17:03:25 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 17:03:25 StationName: 17:03:25 StreamTitle: 17:03:26 AUDIO_info: buffers freed, free Heap: 189548 bytes 17:03:26 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" [1348877][E][NetworkManager.cpp:130] hostByName(): DNS Failed for 'as-hls-ww-live.akamaized.net' with error '-54' [1351890][I][NetworkClient.cpp:253] connect(): select returned due to timeout 3000 ms for fd 53 17:03:43 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [1351912][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 17:03:43 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 17:03:43 StationName: 17:03:43 StreamTitle: 17:03:44 AUDIO_info: buffers freed, free Heap: 189548 bytes 17:03:44 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" [1366871][E][NetworkManager.cpp:130] hostByName(): DNS Failed for 'as-hls-ww-live.akamaized.net' with error '-54' [1369884][I][NetworkClient.cpp:253] connect(): select returned due to timeout 3000 ms for fd 53 17:04:01 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [1369906][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 17:04:01 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 17:04:01 StationName: 17:04:01 StreamTitle: 17:04:02 AUDIO_info: buffers freed, free Heap: 189548 bytes 17:04:02 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" [1384877][E][NetworkManager.cpp:130] hostByName(): DNS Failed for 'as-hls-ww-live.akamaized.net' with error '-54'

The ESP NAT repeater is:- ` Erases specified namespace

namespace to be erased set_sta [-- ] [-- ] Set SSID and password of the STA interface SSID Password --, -u, ----username= Enterprise username --, -a, ----anan= Enterprise identity set_sta_static Set Static IP for the STA interface IP Subnet Mask Gateway Address set_ap Set SSID and password of the SoftAP SSID of AP Password of AP set_ap_ip Set IP for the AP interface IP portmap [add|del] [TCP|UDP] Add or delete a portmapping to the router [add|del] add or delete portmapping [TCP|UDP] TCP or UDP port external port number internal IP internal port number show Get status and config of the router esp32> Start scanning... scanning completed! Found 6 access points: I (459077) Web server/get_data_handler: Requesting scan aps Data I (521867) cmd_router: ssid Rose I (521867) cmd_router: passwd blanked out I (521867) cmd_router: ent_username I (521867) cmd_router: ap_ssid ESP32_NAT_Router I (521877) cmd_router: ap_passwd blanked out I (521877) cmd_router: custom_dns_ip 1.1.1.1 I (521887) cmd_router: ap_ip 192.168.4.1 I (521897) cmd_router: auth_username admin I (521897) cmd_router: auth_password blanked out I (521897) cmd_router: web_server 1 I (521907) cmd_router: led_enable 1 I (521907) cmd_router: custom_dns 0 I (521907) cmd_router: dark_mode 0 I (521917) cmd_router: randomize_mac 0 I (521917) cmd_router: mac_Filter 0 I (521927) utils/initialization: Initialization complected I (525667) wifi_event_handler: WiFi disconnected I (525667) wifi_event_handler: Authentication failed I (525667) wifi_event_handler: Retrying WiFi connection (1/3) I (528107) esp_netif_handlers: sta ip: 192.168.1.176, mask: 255.255.255.0, gw: 192.168.1.254 I (528107) wifi_event_handler: got ip:192.168.1.176 I (528117) wifi_event_handler: set dns to:192.168.1.254 I (1158457) wifi_event_handler: station disconnected - 1 remain I (1158497) wifi_event_handler: 2. station connected I (1158707) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2 I (1176547) wifi_event_handler: station disconnected - 1 remain I (1176567) wifi_event_handler: 2. station connected I (1176737) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2 I (1194537) wifi_event_handler: station disconnected - 1 remain I (1194567) wifi_event_handler: 2. station connected I (1194757) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2 I (1212537) wifi_event_handler: station disconnected - 1 remain I (1212567) wifi_event_handler: 2. station connected I (1212787) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2 I (1230537) wifi_event_handler: station disconnected - 1 remain I (1230577) wifi_event_handler: 2. station connected I (1230597) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2 I (1248537) wifi_event_handler: station disconnected - 1 remain I (1248577) wifi_event_handler: 2. station connected I (1248617) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2 I (1266537) wifi_event_handler: station disconnected - 1 remain I (1266577) wifi_event_handler: 2. station connected I (1266637) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2 I (1284537) wifi_event_handler: station disconnected - 1 remain I (1284567) wifi_event_handler: 2. station connected I (1284667) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2 I (1302537) wifi_event_handler: station disconnected - 1 remain I (1302567) wifi_event_handler: 2. station connected I (1302687) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2 I (1320537) wifi_event_handler: station disconnected - 1 remain I (1320567) wifi_event_handler: 2. station connected I (1320707) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2 I (1338537) wifi_event_handler: station disconnected - 1 remain I (1338567) wifi_event_handler: 2. station connected I (1338727) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2 I (1356537) wifi_event_handler: station disconnected - 1 remain I (1356567) wifi_event_handler: 2. station connected I (1356747) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2 I (1374537) wifi_event_handler: station disconnected - 1 remain I (1374567) wifi_event_handler: 2. station connected I (1374777) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2 I (1392587) wifi_event_handler: station disconnected - 1 remain I (1392617) wifi_event_handler: 2. station connected I (1392797) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2 I (1410587) wifi_event_handler: station disconnected - 1 remain I (1410607) wifi_event_handler: 2. station connected I (1410817) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2 I (1428587) wifi_event_handler: station disconnected - 1 remain I (1428617) wifi_event_handler: 2. station connected I (1428637) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2 I (1446547) wifi_event_handler: station disconnected - 1 remain I (1446577) wifi_event_handler: 2. station connected I (1446667) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2 I (1464537) wifi_event_handler: station disconnected - 1 remain I (1464567) wifi_event_handler: 2. station connected I (1464677) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2 ` It's clear that the WIFI NAT is receiving a disconnect, and connection is being reestablished, however the Radio WIFI WiFiMulti.cpp: routine is failing to recognise that. It has been reported that the ESP32 behaves exhibits this issue, whereas the ESP8266 version of the Espressif wifi routines do not. It seems that although the disconnect is achieved, the Espressif routine has not released the lease. Attempts to manually: ``` if(bestNetwork.ssid) { DEBUG_WIFI_MULTI("[WIFI] Connecting BSSID: %02X:%02X:%02X:%02X:%02X:%02X SSID: %s Channal: %d (%d)\n", bestBSSID[0], bestBSSID[1], bestBSSID[2], bestBSSID[3], bestBSSID[4], bestBSSID[5], bestNetwork.ssid, bestChannel, bestNetworkDb); ``` WiFi.disconnect(true); // <= Added this line WiFi.begin(bestNetwork.ssid, bestNetwork.passphrase, bestChannel, bestBSSID); see:- https://esp32.com/viewtopic.php?t=37331 https://github.com/espressif/arduino-esp32/issues/2269#top
schreibfaul1 commented 3 months ago

Thank you very much for your detailed experience report.

Currently 3 tasks are relevant for the execution. These are 1) Arduino loop task, controls the audio library (fills the InBuffer, takes care of the metadata, playlists, audio headers and events), the web server and the display including the touchpad 2) Audio task, fetches the data from the InBuffer within the audio library, decodes it and feeds I2S 3) Audio control task controls the audio library (fills the InBuffer, takes care of the metadata, playlists, audio headers and events) and provides sufficient stack All three tasks are assigned a core in the platformio.ini is assigned to all three tasks.

The Arduino loop task and the audio task should not run on the same core, otherwise the display will react very slowly.

I am amazed that you are still experiencing the DNS problem so often. With Arduino 3.0.4 this is no longer recognizable to me.

If I understood correctly in the last part, you have several APs distributed around the house. If the signal of the connected AP becomes weaker, the connection is disconnected, but no connection is established to another AP.

RobinMosedale commented 3 months ago

"If I understood correctly in the last part, you have several APs distributed around the house. If the signal of the connected AP becomes weaker, the connection is disconnected, but no connection is established to another AP."

Almost Wolle, but in this test all of the AP's in the network list had been commented out except this ESP NAT AP, so I could weaken the signal in a controlled manner. The second log in the above is the diagnostics from the ESP32 NAT which clearly shows the repeated disconnect by the radio, and reconnect with ip address. However, the RadioWifi reconnect seems not to realise that it has been successful on the original IP address.

HOWEVER

You've been really busy, I mean astonishingly busy. I checked my build and it had arduino_espressif_32 3.0.2 I've just rebuilt with 3.0.4, and my goodness the speed at start up is astonishing.

However, I'm still experiencing getting stuck on a reconnect loop, even though the signal seems good. The ESP32 NAT is sitting 25 cm away from the radio ESP32, and the NAT is connected to an ethernet wired WIFI beacon 40cm away. All excellent signal strength

Here is the ESP32 NAT Log: I (983567) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2 I (983847) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2 I (992427) wifi_event_handler: station disconnected - 2 remain I (1022807) wifi_event_handler: 3. station connected I (1024797) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2 I (1032007) wifi_event_handler: station disconnected - 2 remain I (1032097) wifi_event_handler: 3. station connected I (1034207) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2 I (1038207) wifi_event_handler: station disconnected - 2 remain I (1057127) wifi_event_handler: 3. station connected I (1059887) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2 I (1070227) wifi_event_handler: station disconnected - 2 remain I (1070347) wifi_event_handler: 3. station connected I (1071137) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2 I (1071467) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2 Here is the radio log (nice touch):- 20:58:25 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=96000-269255236.ts" 20:58:32 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=96000-269255237.ts" 20:58:39 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=96000-269255238.ts" 20:58:44 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=96000-269255239.ts" 20:58:49 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=96000-269255240.ts" 20:58:55 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 20:58:55 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=96000-269255241.ts" 20:59:03 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=96000-269255242.ts" 20:59:08 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=96000-269255243.ts" 20:59:14 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=96000-269255244.ts" 20:59:22 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 20:59:22 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=96000-269255245.ts" 20:59:32 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=96000-269255246.ts" 20:59:39 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=96000-269255247.ts" 20:59:46 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=96000-269255248.ts" 20:59:51 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=96000-269255249.ts" 20:59:53 Time: ...... Announcement at 21 o'clock is silent 20:59:56 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 20:59:56 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=96000-269255250.ts" 21:00:00 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=96000-269255251.ts" 21:00:06 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=96000-269255252.ts" 21:00:17 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=96000-269255253.ts" 21:00:32 AUDIO_info: slow stream, dropouts are possible 21:00:33 AUDIO_info: slow stream, dropouts are possible 21:00:34 AUDIO_info: slow stream, dropouts are possible 21:00:34 AUDIO_info: Stream lost -> try new connection 21:00:34 AUDIO_info: buffers freed, free Heap: 202436 bytes 21:00:34 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 21:00:37 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [219734][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 21:00:37 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 21:00:37 StationName: 21:00:37 StreamTitle: [229755][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 204 - HANDSHAKE_TIMEOUT [229763][W][STA.cpp:537] disconnect(): STA already disconnected. [231054][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 39 - TIMEOUT 21:00:51 WiFi : Reconnecting to WiFi... [233744][W][STA.cpp:537] disconnect(): STA already disconnected. 21:00:52 action: ... current volume is 5 [235667][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 205 - CONNECTION_FAIL [235675][W][STA.cpp:537] disconnect(): STA already disconnected. 21:00:54 AUDIO_info: buffers freed, free Heap: 201644 bytes 21:00:54 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 21:01:03 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [245925][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 21:01:03 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 21:01:03 StationName: 21:01:04 StreamTitle: 21:01:05 AUDIO_info: buffers freed, free Heap: 201284 bytes 21:01:05 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 21:01:08 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [250783][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 21:01:08 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 21:01:08 StationName: 21:01:08 StreamTitle: 21:01:11 AUDIO_info: buffers freed, free Heap: 201832 bytes 21:01:11 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 21:01:14 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [256783][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 21:01:14 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 21:01:14 StationName: 21:01:14 StreamTitle: [257803][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 2 - AUTH_EXPIRE [257810][W][STA.cpp:537] disconnect(): STA already disconnected. [258901][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 2 - AUTH_EXPIRE [258908][W][STA.cpp:537] disconnect(): STA already disconnected. [260756][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 39 - TIMEOUT 21:01:28 WiFi : Reconnecting to WiFi... [270747][W][STA.cpp:537] disconnect(): STA already disconnected. [272470][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 205 - CONNECTION_FAIL [272478][W][STA.cpp:537] disconnect(): STA already disconnected. [273544][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 2 - AUTH_EXPIRE [273551][W][STA.cpp:537] disconnect(): STA already disconnected. [274568][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 2 - AUTH_EXPIRE [274576][W][STA.cpp:537] disconnect(): STA already disconnected. 21:01:36 AUDIO_info: buffers freed, free Heap: 201140 bytes 21:01:36 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 21:01:46 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [288733][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 21:01:46 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 21:01:46 StationName: 21:01:46 StreamTitle: 21:01:47 AUDIO_info: buffers freed, free Heap: 201820 bytes 21:01:47 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 21:01:50 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [292787][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 21:01:50 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 21:01:50 StationName: 21:01:50 StreamTitle: 21:01:51 AUDIO_info: buffers freed, free Heap: 201048 bytes 21:01:51 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 21:01:54 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [296789][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 21:01:54 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 21:01:54 StationName: 21:01:54 StreamTitle: 21:02:08 WiFi : Reconnecting to WiFi... [310745][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 21:02:11 AUDIO_info: buffers freed, free Heap: 201696 bytes 21:02:11 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 21:02:15 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [317008][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 21:02:15 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 21:02:15 StationName: 21:02:15 StreamTitle: 21:02:15 AUDIO_info: buffers freed, free Heap: 200920 bytes 21:02:15 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 21:02:18 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [320788][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 21:02:18 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 21:02:18 StationName: 21:02:18 StreamTitle: [325423][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 15 - 4WAY_HANDSHAKE_TIMEOUT [325431][W][STA.cpp:537] disconnect(): STA already disconnected. [326486][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 2 - AUTH_EXPIRE [326493][W][STA.cpp:537] disconnect(): STA already disconnected. [327510][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 2 - AUTH_EXPIRE [327517][W][STA.cpp:537] disconnect(): STA already disconnected. [329195][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 39 - TIMEOUT 21:02:32 WiFi : Reconnecting to WiFi... [334747][W][STA.cpp:537] disconnect(): STA already disconnected. [336470][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 205 - CONNECTION_FAIL [336478][W][STA.cpp:537] disconnect(): STA already disconnected. 21:02:35 AUDIO_info: buffers freed, free Heap: 201680 bytes 21:02:35 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 21:02:36 AUDIO_info: Connection has been established in 1065 ms, free Heap: 201548 bytes 21:02:36 lastURL: .. http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_r ... d96000.norewind.m3u8 21:02:37 AUDIO_info: media sequence number: 269255275 21:02:37 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=96000-269255275.ts" 21:02:37 AUDIO_info: AACDecoder has been initialized, free Heap: 199412 bytes , free stack 4904 DWORDs 21:02:41 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=96000-269255276.ts" 21:02:50 AUDIO_info: stream ready 21:02:50 AUDIO_info: syncword found at pos 0 21:02:50 AUDIO_info: Channels: 2 21:02:50 AUDIO_info: SampleRate: 48000 21:02:50 AUDIO_info: BitsPerSample: 16 21:02:50 AUDIO_info: BitRate: 104812 21:02:50 AUDIO_info: AAC HeaderFormat: ADTS 21:02:50 AUDIO_info: Spectral band replication: upsampled SBR 21:02:50 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=96000-269255277.ts" 21:02:57 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=96000-269255278.ts" 21:03:00 Webpage: index.html 21:03:03 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=96000-269255279.ts" 21:03:06 Webpage: index.html [368611][E][NetworkClient.cpp:423] write(): fail on fd 56, errno: 104, "Connection reset by peer" [368621][E][websrv.cpp:98] show(): write error in webpage [368628][E][websrv.cpp:513] handleWS(): webSocketClient should be connected but is not! 21:03:07 webSrv: ... File not found "/stations.csv" 21:03:07 webSrv: ... GetFolder "/" 21:03:08 webSrv: ... File not found "/unknown.jpg" 21:03:10 Webpage: index.html 21:03:10 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 21:03:10 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=96000-269255280.ts" 21:03:16 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=96000-269255281.ts" 21:03:19 Script: index.js [382578][E][NetworkClient.cpp:423] write(): fail on fd 54, errno: 104, "Connection reset by peer" 21:03:21 webSrv: ... GetFolder "/" 21:03:22 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=96000-269255282.ts" 21:03:30 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=96000-269255283.ts" 21:03:40 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=96000-269255284.ts" 21:03:52 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 21:03:53 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 21:03:53 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 21:03:53 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 21:03:53 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 21:03:53 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 21:03:54 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" [420491][E][Audio.cpp:3812] parseHttpResponseHeader(): timeout 21:03:58 StationName: 21:03:58 AUDIO_info: buffers freed, free Heap: 192820 bytes 21:03:58 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 21:04:01 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [423645][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 21:04:01 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 21:04:01 StationName: 21:04:01 StreamTitle: [423674][E][NetworkClient.cpp:423] write(): fail on fd 55, errno: 113, "Software caused connection abort" 21:04:01 webSrv: ... File not found "/png/MiniWebRadioV3.png" [423687][E][websrv.cpp:513] handleWS(): webSocketClient should be connected but is not! 21:04:02 AUDIO_info: buffers freed, free Heap: 199408 bytes 21:04:02 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 21:04:05 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [427785][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 21:04:05 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 21:04:05 StationName: 21:04:05 StreamTitle: [428810][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 39 - TIMEOUT 21:04:19 WiFi : Reconnecting to WiFi... [441746][W][STA.cpp:537] disconnect(): STA already disconnected. [443469][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 205 - CONNECTION_FAIL [443477][W][STA.cpp:537] disconnect(): STA already disconnected. [445190][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 39 - TIMEOUT 21:04:33 WiFi : Reconnecting to WiFi... [455744][W][STA.cpp:537] disconnect(): STA already disconnected. [457267][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 205 - CONNECTION_FAIL [457275][W][STA.cpp:537] disconnect(): STA already disconnected. [458766][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 39 - TIMEOUT 21:04:47 WiFi : Reconnecting to WiFi... [469741][W][STA.cpp:537] disconnect(): STA already disconnected. [471464][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 205 - CONNECTION_FAIL [471472][W][STA.cpp:537] disconnect(): STA already disconnected. [472509][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 2 - AUTH_EXPIRE [472516][W][STA.cpp:537] disconnect(): STA already disconnected. [473677][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 39 - TIMEOUT 21:05:01 WiFi : Reconnecting to WiFi... [483748][W][STA.cpp:537] disconnect(): STA already disconnected. [485471][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 205 - CONNECTION_FAIL [485479][W][STA.cpp:537] disconnect(): STA already disconnected. [486498][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 2 - AUTH_EXPIRE [486505][W][STA.cpp:537] disconnect(): STA already disconnected. [487562][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 2 - AUTH_EXPIRE [487569][W][STA.cpp:537] disconnect(): STA already disconnected. [488585][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 2 - AUTH_EXPIRE [488592][W][STA.cpp:537] disconnect(): STA already disconnected. [489744][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 39 - TIMEOUT 21:05:15 WiFi : Reconnecting to WiFi... [497741][W][STA.cpp:537] disconnect(): STA already disconnected. [499264][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 205 - CONNECTION_FAIL [499272][W][STA.cpp:537] disconnect(): STA already disconnected. [500738][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 39 - TIMEOUT 21:05:29 WiFi : Reconnecting to WiFi... [511745][W][STA.cpp:537] disconnect(): STA already disconnected. [513268][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 205 - CONNECTION_FAIL [513276][W][STA.cpp:537] disconnect(): STA already disconnected. [514390][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 2 - AUTH_EXPIRE [514397][W][STA.cpp:537] disconnect(): STA already disconnected. [515414][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 2 - AUTH_EXPIRE [515421][W][STA.cpp:537] disconnect(): STA already disconnected. [516829][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 39 - TIMEOUT 21:05:43 WiFi : Reconnecting to WiFi... [525742][W][STA.cpp:537] disconnect(): STA already disconnected. [527465][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 205 - CONNECTION_FAIL [527473][W][STA.cpp:537] disconnect(): STA already disconnected. 21:05:49 AUDIO_info: buffers freed, free Heap: 200384 bytes 21:05:49 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 21:05:56 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [538652][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 21:05:56 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 21:05:56 StationName: 21:05:56 StreamTitle: 21:05:58 AUDIO_info: buffers freed, free Heap: 200528 bytes 21:05:58 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 21:06:01 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [543783][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 21:06:01 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 21:06:01 StationName: 21:06:01 StreamTitle: [545679][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 39 - TIMEOUT 21:06:15 WiFi : Reconnecting to WiFi... [557744][W][STA.cpp:537] disconnect(): STA already disconnected. [559467][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 205 - CONNECTION_FAIL [559475][W][STA.cpp:537] disconnect(): STA already disconnected. [560573][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 2 - AUTH_EXPIRE [560580][W][STA.cpp:537] disconnect(): STA already disconnected. 21:06:23 AUDIO_info: buffers freed, free Heap: 199512 bytes 21:06:23 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 21:06:32 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [574071][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 21:06:32 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 21:06:32 StationName: 21:06:32 StreamTitle: 21:06:33 AUDIO_info: buffers freed, free Heap: 199920 bytes 21:06:33 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 21:06:36 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [578784][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 21:06:36 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pooE (584238) wifi:addba response cb: sta bss deleted l_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 21:06:36 StationName: 21:06:36 StreamTitle: [579812][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 39 - TIMEOUT 21:06:50 WiFi : Reconnecting to WiFi... [592746][W][STA.cpp:537] disconnect(): STA already disconnected. [594469][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 205 - CONNECTION_FAIL [594477][W][STA.cpp:537] disconnect(): STA already disconnected. [595504][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 39 - TIMEOUT 21:07:04 WiFi : Reconnecting to WiFi... [606744][W][STA.cpp:537] disconnect(): STA already disconnected. [608467][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 205 - CONNECTION_FAIL [608475][W][STA.cpp:537] disconnect(): STA already disconnected. 21:07:09 AUDIO_info: buffers freed, free Heap: 200724 bytes 21:07:09 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 21:07:18 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [620303][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 21:07:18 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 21:07:18 StationName: 21:07:18 StreamTitle: 21:07:18 AUDIO_info: buffers freed, free Heap: 200676 bytes 21:07:18 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 21:07:21 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [623784][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 21:07:21 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 21:07:21 StationName: 21:07:21 StreamTitle: 21:07:24 AUDIO_info: buffers freed, free Heap: 200748 bytes 21:07:24 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 21:07:27 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [629785][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 21:07:27 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 21:07:27 StationName: 21:07:27 StreamTitle: [630807][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 2 - AUTH_EXPIRE [630814][W][STA.cpp:537] disconnect(): STA already disconnected. [631842][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 2 - AUTH_EXPIRE [631850][W][STA.cpp:537] disconnect(): STA already disconnected. [632867][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 2 - AUTH_EXPIRE [632874][W][STA.cpp:537] disconnect(): STA already disconnected. 21:07:36 AUDIO_info: buffers freed, free Heap: 199576 bytes 21:07:36 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 21:07:45 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [647233][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 21:07:45 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 21:07:45 StationName: 21:07:45 StreamTitle: 21:07:46 AUDIO_info: buffers freed, free Heap: 199972 bytes 21:07:46 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 21:07:49 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [651784][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 21:07:49 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 21:07:49 StationName: 21:07:49 StreamTitle: [652810][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 2 - AUTH_EXPIRE [652817][W][STA.cpp:537] disconnect(): STA already disconnected. [653859][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 2 - AUTH_EXPIRE [653866][W][STA.cpp:537] disconnect(): STA already disconnected. 21:07:59 AUDIO_info: buffers freed, free Heap: 200748 bytes 21:07:59 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 21:08:02 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [664787][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 21:08:02 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 21:08:02 StationName: 21:08:02 StreamTitle: [665807][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 2 - AUTH_EXPIRE [665814][W][STA.cpp:537] disconnect(): STA already disconnected. [666864][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 2 - AUTH_EXPIRE [666871][W][STA.cpp:537] disconnect(): STA already disconnected. [667888][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 2 - AUTH_EXPIRE [667895][W][STA.cpp:537] disconnect(): STA already disconnected. [668911][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 2 - AUTH_EXPIRE [668918][W][STA.cpp:537] disconnect(): STA already disconnected. [669935][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 2 - AUTH_EXPIRE [669942][W][STA.cpp:537] disconnect(): STA already disconnected. [670959][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 2 - AUTH_EXPIRE [670966][W][STA.cpp:537] disconnect(): STA already disconnected. [671983][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 2 - AUTH_EXPIRE [671990][W][STA.cpp:537] disconnect(): STA already disconnected. [673399][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 39 - TIMEOUT 21:08:16 WiFi : Reconnecting to WiFi... [678741][W][STA.cpp:537] disconnect(): STA already disconnected. [680464][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 205 - CONNECTION_FAIL [680472][W][STA.cpp:537] disconnect(): STA already disconnected. [681507][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 2 - AUTH_EXPIRE [681514][W][STA.cpp:537] disconnect(): STA already disconnected. 21:08:22 AUDIO_info: buffers freed, free Heap: 200336 bytes 21:08:22 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 21:08:31 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [693009][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 21:08:31 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 21:08:31 StationName: 21:08:31 StreamTitle: [693038][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 202 - AUTH_FAIL 21:08:44 WiFi : Reconnecting to WiFi... [706746][W][STA.cpp:537] disconnect(): STA already disconnected. [708469][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 205 - CONNECTION_FAIL [708477][W][STA.cpp:537] disconnect(): STA already disconnected. [709030][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 2 - AUTH_EXPIRE [709038][W][STA.cpp:537] disconnect(): STA already disconnected. [710285][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 39 - TIMEOUT 21:08:58 WiFi : Reconnecting to WiFi... [720745][W][STA.cpp:537] disconnect(): STA already disconnected. [722468][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 205 - CONNECTION_FAIL [722476][W][STA.cpp:537] disconnect(): STA already disconnected. 21:09:03 AUDIO_info: buffers freed, free Heap: 200952 bytes 21:09:03 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 21:09:10 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [732598][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 21:09:10 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 21:09:10 StationName: 21:09:10 StreamTitle: 21:09:13 AUDIO_info: buffers freed, free Heap: 199492 bytes 21:09:13 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 21:09:16 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [738787][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 21:09:16 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 21:09:16 StationName: 21:09:16 StreamTitle: [742619][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 15 - 4WAY_HANDSHAKE_TIMEOUT [742627][W][STA.cpp:537] disconnect(): STA already disconnected. [744337][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 39 - TIMEOUT 21:09:30 WiFi : Reconnecting to WiFi... [752743][W][STA.cpp:537] disconnect(): STA already disconnected. [754266][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 205 - CONNECTION_FAIL [754274][W][STA.cpp:537] disconnect(): STA already disconnected. 21:09:38 AUDIO_info: buffers freed, free Heap: 200388 bytes 21:09:38 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" [767772][E][NetworkManager.cpp:130] hostByName(): DNS Failed for 'as-hls-ww-live.akamaized.net' with error '-54' 21:09:48 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [770797][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 21:09:48 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 21:09:48 StationName: 21:09:48 StreamTitle: 21:09:50 AUDIO_info: buffers freed, free Heap: 199620 bytes 21:09:50 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 21:09:58 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [780796][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 21:09:58 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 21:09:58 StationName: 21:09:58 StreamTitle: 21:09:59 AUDIO_info: buffers freed, free Heap: 199904 bytes 21:09:59 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 21:10:02 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [784789][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 21:10:02 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 21:10:02 StationName: 21:10:02 StreamTitle: [785809][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 2 - AUTH_EXPIRE [785816][W][STA.cpp:537] disconnect(): STA already disconnected. 21:10:09 AUDIO_info: buffers freed, free Heap: 200188 bytes 21:10:09 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 21:10:12 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [794789][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 21:10:12 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pooE (800234) wifi:addba response cb: sta bss deleted l_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 21:10:12 StationName: 21:10:12 StreamTitle: [798591][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 15 - 4WAY_HANDSHAKE_TIMEOUT [798600][W][STA.cpp:537] disconnect(): STA already disconnected. [799676][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 2 - AUTH_EXPIRE [799683][W][STA.cpp:537] disconnect(): STA already disconnected. [800700][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 2 - AUTH_EXPIRE [800708][W][STA.cpp:537] disconnect(): STA already disconnected. 21:10:22 AUDIO_info: buffers freed, free Heap: 200164 bytes 21:10:22 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 21:10:29 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [811304][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 21:10:29 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 21:10:29 StationName: 21:10:29 StreamTitle: 21:10:30 AUDIO_info: buffers freed, free Heap: 199360 bytes 21:10:30 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 21:10:33 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [815787][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 21:10:33 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 21:10:33 StationName: 21:10:33 StreamTitle: [816813][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 39 - TIMEOUT 21:10:47 WiFi : Reconnecting to WiFi... [829747][W][STA.cpp:537] disconnect(): STA already disconnected. [831270][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 205 - CONNECTION_FAIL [831278][W][STA.cpp:537] disconnect(): STA already disconnected. 21:10:53 AUDIO_info: buffers freed, free Heap: 199428 bytes 21:10:53 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" [842777][E][NetworkManager.cpp:130] hostByName(): DNS Failed for 'as-hls-ww-live.akamaized.net' with error '-54' 21:11:03 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [845802][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 21:11:03 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 21:11:03 StationName: 21:11:03 StreamTitle: 21:11:04 AUDIO_info: buffers freed, free Heap: 200900 bytes 21:11:04 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 21:11:13 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [855437][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 21:11:13 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 21:11:13 StationName: 21:11:13 StreamTitle: 21:11:21 AUDIO_info: buffers freed, free Heap: 200396 bytes 21:11:21 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" [870770][E][NetworkManager.cpp:130] hostByName(): DNS Failed for 'as-hls-ww-live.akamaized.net' with error '-54' 21:11:31 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [873795][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 21:11:31 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 21:11:31 StationName: 21:11:31 StreamTitle: [873824][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 202 - AUTH_FAIL 21:11:45 WiFi : Reconnecting to WiFi... [887742][W][STA.cpp:537] disconnect(): STA already disconnected. [889265][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 205 - CONNECTION_FAIL [889273][W][STA.cpp:537] disconnect(): STA already disconnected. [889868][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 2 - AUTH_EXPIRE [889875][W][STA.cpp:537] disconnect(): STA already disconnected. 21:11:51 AUDIO_info: buffers freed, free Heap: 200748 bytes 21:11:51 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 21:12:00 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [902857][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 21:12:00 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 21:12:00 StationName: 21:12:00 StreamTitle: 21:12:02 AUDIO_info: buffers freed, free Heap: 200024 bytes 21:12:02 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 21:12:05 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [907787][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 21:12:05 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 21:12:05 SE (913246) wifi:addba response cb: sta bss deleted tationName: 21:12:05 StreamTitle: [908812][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 2 - AUTH_EXPIRE [908819][W][STA.cpp:537] disconnect(): STA already disconnected. [910685][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 39 - TIMEOUT 21:12:19 WiFi : Reconnecting to WiFi... [921747][W][STA.cpp:537] disconnect(): STA already disconnected. [923270][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 205 - CONNECTION_FAIL [923278][W][STA.cpp:537] disconnect(): STA already disconnected. [924469][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 39 - TIMEOUT 21:12:33 WiFi : Reconnecting to WiFi... [935744][W][STA.cpp:537] disconnect(): STA already disconnected. [937267][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 205 - CONNECTION_FAIL [937275][W][STA.cpp:537] disconnect(): STA already disconnected. 21:12:38 AUDIO_info: buffers freed, free Heap: 199776 bytes 21:12:38 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" [947770][E][NetworkManager.cpp:130] hostByName(): DNS Failed for 'as-hls-ww-live.akamaized.net' with error '-54' 21:12:48 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [950795][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 21:12:48 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 21:12:48 StationName: 21:12:48 StreamTitle: 21:12:51 AUDIO_info: buffers freed, free Heap: 200184 bytes 21:12:51 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 21:13:00 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [962290][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 21:13:00 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 21:13:00 StationName: 21:13:00 StreamTitle: [962319][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 202 - AUTH_FAIL 21:13:13 WiFi : Reconnecting to WiFi... [975748][W][STA.cpp:537] disconnect(): STA already disconnected. [977471][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 205 - CONNECTION_FAIL [977479][W][STA.cpp:537] disconnect(): STA already disconnected. 21:13:19 AUDIO_info: buffers freed, free Heap: 199828 bytes 21:13:19 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 21:13:26 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [988932][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 21:13:26 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 21:13:27 StationName: 21:13:27 StreamTitle: 21:13:27 AUDIO_info: buffers freed, free Heap: 200116 bytes 21:13:27 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 21:13:30 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [992786][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 21:13:30 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 21:13:30 StationName: 21:13:30 StreamTitle: [996366][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 15 - 4WAY_HANDSHAKE_TIMEOUT [996375][W][STA.cpp:537] disconnect(): STA already disconnected. [997411][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 2 - AUTH_EXPIRE [997419][W][STA.cpp:537] disconnect(): STA already disconnected. 21:13:37 AUDIO_info: buffers freed, free Heap: 200188 bytes 21:13:37 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 21:13:40 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [1002784][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 21:13:40 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/poE (1008231) wifi:addba response cb: sta bss deleted ol_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 21:13:40 StationName: 21:13:40 StreamTitle: 21:13:42 AUDIO_info: buffers freed, free Heap: 201080 bytes 21:13:42 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 21:13:45 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [1007785][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 21:13:45 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 21:13:45 StationName: 21:13:45 StreamTitle: 21:13:47 AUDIO_info: buffers freed, free Heap: 199972 bytes 21:13:47 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8"

RobinMosedale commented 3 months ago

Some more diagnostics and observations this afternoon. This using the latest build, with the separated tasks on both cores.

The test harness is the radio on PIO serial link, the ESP32 NAT adjacent to the radio, which in turn is logged on to an AP which derived from ethernet adjacent to the desk, and yet another Wifi repeater 60 cm away by the desk.

The radio netlist contains the log on details of all 3 AP's, and does successfully log on to each.

20240810_170914

The ESP32 NAT is also monitored on a serial link in order to monitor the allocation and release of IP address to the radio.

The radio is booted, and successfully logs on to the ESP32 NAT, and fetching of HLS chunks proceeds. The ESP32 NAT attached to a laptop is moved away, until the radio loses synch and connection failure. The ESP32 NAT logs the disconnect. The NAT is quickly brought back to the radio, and it can be observed that:-

  1. The NAT repeatedly logs IP allocation to the Radio, followed by release as disconnected. It's the same IP as originally allocated.
  2. The radio is stuck attempting to reconnect. The STA task is active believing already disconnected. The NAT allocation and release can clearly bee seen.
  3. Repeated failures to connect to the m3u8 playlist, however the radio is still connected as can be seen at:-
  4. 17:14:09 Webpage: index.html as the webserver responds.
  5. The NAT is clearly showing the repeated reconnection and re-assigning the IP, followed by release. The Web page does respond but slow, so it is connected. However, the Audio task seems to fail fetching the audio playlist.
  6. In any event, the radio WP task has 3 good AP beacons loud and clear, which it ignores of fails to log on.
  7. Once it gets into this state, the only method of freeing the loop is reset and repower up.

Hopefully these logs are less cluttered than previous data

Here is the ESP32 NAT log showing the assigning IP, and release repeated. `

esp32> show I (34068) cmd_router: ssid TP-LINK_EB850C I (34078) cmd_router: ent_username I (34078) cmd_router: passwd blanked I (34078) cmd_router: ap_ssid ESP32_NAT_Router I (34088) cmd_router: ap_passwd blanked STA SSID: TP-LINK_EB850C Password: blanked Enterprise: AP SSID: ESP32_NAT_Router Password: blanked AP IP address: 192.168.4.1 Uplink AP connected IP: 192.168.1.176 2 Stations connected esp32> I (46478) wifi_event_handler: station disconnected - 1 remain I (50528) wifi_event_handler: 2. station connected I (50748) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2 I (111558) wifi_event_handler: station disconnected - 1 remain I (115358) wifi_event_handler: 2. station connected I (116958) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2 I (117128) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2 I (120248) wifi_event_handler: station disconnected - 1 remain I (136038) wifi_event_handler: 2. station connected I (136148) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2 I (142608) wifi_event_handler: station disconnected - 1 remain I (142638) wifi_event_handler: 2. station connected I (142708) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2 I (154518) wifi_event_handler: station disconnected - 1 remain I (154548) wifi_event_handler: 2. station connected I (154578) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2 I (158198) wifi_event_handler: station disconnected - 1 remain I (158288) wifi_event_handler: 2. station connected I (158478) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2 I (162208) wifi_event_handler: station disconnected - 1 remain I (162258) wifi_event_handler: 2. station connected I (162618) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2 I (162768) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2 I (166668) wifi_event_handler: station disconnected - 1 remain I (166778) wifi_event_handler: 2. station connected I (167588) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2 I (171188) wifi_event_handler: station disconnected - 1 remain I (171218) wifi_event_handler: 2. station connected I (171568) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2 I (171768) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2 I (176228) wifi_event_handler: station disconnected - 1 remain I (177558) wifi_event_handler: 2. station connected I (177998) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2 I (178138) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2 I (181198) wifi_event_handler: station disconnected - 1 remain I (181268) wifi_event_handler: 2. station connected I (181488) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2 I (185198) wifi_event_handler: station disconnected - 1 remain I (185278) wifi_event_handler: 2. station connected I (188318) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2 I (188408) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2 I (193258) wifi_event_handler: station disconnected - 1 remain I (193278) wifi_event_handler: 2. station connected I (193728) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2 I (193798) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2 I (197198) wifi_event_handler: station disconnected - 1 remain I (197308) wifi_event_handler: 2. station connected I (197498) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2 I (201208) wifi_event_handler: station disconnected - 1 remain I (201268) wifi_event_handler: 2. station connected I (201598) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2 I (205208) wifi_event_handler: station disconnected - 1 remain I (205918) wifi_event_handler: 2. station connected I (206428) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2 I (206478) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2 I (210208) wifi_event_handler: station disconnected - 1 remain I (213798) wifi_event_handler: 2. station connected I (213978) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2 esp32> ` Here is the ESP32Miniwebradio log:

Note the webserver responding at the end while still failing to connect to the BBC Site: So the webradio is connecting, but the Audio task request fails

`Executing task: C:\Users\robin.platformio\penv\Scripts\platformio.exe device monitor --environment esp32s3 --port COM20

--- Logging an output to D:\ESP32Miniwebradio3\ESP32-MiniWebRadio\logs\device-monitor-240810-171007.log

Please build project in debug configuration to get more details about an exception. See https://docs.platformio.org/page/projectconf/build_configurations.html

--- Terminal on COM20 | 115200 8-N-1 --- 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 --- Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H [ 7241][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 15 - 4WAY_HANDSHAKE_TIMEOUT [ 7249][W][STA.cpp:537] disconnect(): STA already disconnected. 00:00:00 WiFI_info: Connecting WiFi... 00:00:00 WiFI_info: mDNS name: MiniWebRadio 00:00:00 setup: .... connected to ESP32_NAT_Router, IP address is 192.168.4.2, Received Signal Strength -25 dB 00:00:00 ftpServer: Buffers allocated: 4622 bytes 00:00:00 rtime_info: Initializing SNTP 00:00:00 audiotask: is pinned to core 0 00:00:00 audiotask: priority is 2 00:00:00 AUDIO_info: commFMT = Philips 00:00:00 setup: .... Number of saved stations: 13 00:00:00 setup: .... current station number: 8 00:00:00 setup: .... current volume: 5 00:00:00 setup: .... volume steps: 21 00:00:00 setup: .... last connected host: http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 00:00:00 setup: .... connection timeout: 2500 ms 00:00:00 setup: .... connection timeout SSL: 3500 ms 00:00:00 action: ... switch to station 8 00:00:00 AUDIO_info: PSRAM found, inputBufferSize: 638965 bytes 00:00:00 AUDIO_info: buffers freed, free Heap: 202984 bytes 00:00:00 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 00:00:00 AUDIO_info: Connection has been established in 42 ms, free Heap: 202540 bytes 00:00:00 lastURL: .. http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_r ... d96000.norewind.m3u8 00:00:00 AUDIO_info: media sequence number: 269266597 00:00:00 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=96000-269266597.ts" 00:00:00 AUDIO_info: AACDecoder has been initialized, free Heap: 200108 bytes , free stack 5136 DWORDs 00:00:00 Audiocodec: AAC 00:00:00 ftpServer: Ftp server waiting for connection on port 21 00:00:00 BT-Emitter: KCX_BT_Emitter not found 00:00:00 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=96000-269266598.ts" 17:10:25 AUDIO_info: stream ready 17:10:25 AUDIO_info: syncword found at pos 0 17:10:25 AUDIO_info: Channels: 2 17:10:25 AUDIO_info: SampleRate: 48000 17:10:25 AUDIO_info: BitsPerSample: 16 17:10:25 AUDIO_info: BitRate: 97125 17:10:25 AUDIO_info: AAC HeaderFormat: ADTS 17:10:25 AUDIO_info: Spectral band replication: upsampled SBR 17:10:25 DLNA_server: 0 media server found 17:10:26 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=96000-269266599.ts" 17:10:32 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=96000-269266600.ts" 17:10:38 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=96000-269266601.ts" 17:10:45 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 17:10:45 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=96000-269266602.ts" 17:10:51 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=96000-269266603.ts" 17:11:04 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=96000-269266604.ts" 17:11:11 AUDIO_info: slow stream, dropouts are possible 17:11:12 AUDIO_info: slow stream, dropouts are possible 17:11:13 AUDIO_info: slow stream, dropouts are possible 17:11:14 AUDIO_info: Stream lost -> try new connection 17:11:14 AUDIO_info: buffers freed, free Heap: 202144 bytes 17:11:14 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 17:11:18 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [ 68308][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 17:11:18 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 17:11:18 StationName: 17:11:18 StreamTitle: 17:11:24 AUDIO_info: buffers freed, free Heap: 201728 bytes 17:11:24 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 17:11:27 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [ 76991][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 17:11:27 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 17:11:27 StationName: 17:11:27 StreamTitle: [ 77020][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 202 - AUTH_FAIL 17:11:41 WiFi : Reconnecting to WiFi... [ 90906][W][STA.cpp:537] disconnect(): STA already disconnected. [ 92629][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 205 - CONNECTION_FAIL [ 92637][W][STA.cpp:537] disconnect(): STA already disconnected. 17:11:44 AUDIO_info: buffers freed, free Heap: 201132 bytes 17:11:44 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 17:11:49 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [ 99361][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 17:11:49 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 17:11:49 StationName: 17:11:49 StreamTitle: 17:11:50 AUDIO_info: buffers freed, free Heap: 201620 bytes 17:11:50 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 17:11:53 AUDIO_info: Connection has been established in 2893 ms, free Heap: 201380 bytes 17:11:53 lastURL: .. http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_r ... d96000.norewind.m3u8 17:11:54 AUDIO_info: media sequence number: 269266612 17:11:54 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=96000-269266612.ts" [108229][E][Audio.cpp:3812] parseHttpResponseHeader(): timeout 17:11:58 StationName: 17:11:58 AUDIO_info: buffers freed, free Heap: 201956 bytes 17:11:58 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 17:12:01 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [111273][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 17:12:01 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 17:12:01 StationName: 17:12:01 StreamTitle: 17:12:02 AUDIO_info: buffers freed, free Heap: 201112 bytes 17:12:02 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 17:12:05 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [114947][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 17:12:05 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 17:12:05 StationName: 17:12:05 StreamTitle: 17:12:06 AUDIO_info: buffers freed, free Heap: 201664 bytes 17:12:06 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 17:12:09 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [118948][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 17:12:09 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 17:12:09 StationName: 17:12:09 StreamTitle: 17:12:10 AUDIO_info: buffers freed, free Heap: 201456 bytes 17:12:10 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 17:12:13 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [123399][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 17:12:13 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 17:12:13 StationName: 17:12:13 StreamTitle: 17:12:15 AUDIO_info: buffers freed, free Heap: 201672 bytes 17:12:15 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 17:12:18 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [127944][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 17:12:18 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 17:12:18 StationName: 17:12:18 StreamTitle: 17:12:19 AUDIO_info: buffers freed, free Heap: 200768 bytes 17:12:19 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 17:12:22 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [131995][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 17:12:22 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 17:12:22 StationName: 17:12:22 StreamTitle: [133013][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 2 - AUTH_EXPIRE [133020][W][STA.cpp:537] disconnect(): STA already disconnected. 17:12:25 AUDIO_info: buffers freed, free Heap: 200408 bytes 17:12:25 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 17:12:28 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [137946][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 17:12:28 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 17:12:28 StationName: 17:12:28 StreamTitle: 17:12:29 AUDIO_info: buffers freed, free Heap: 200396 bytes 17:12:29 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 17:12:32 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [141942][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 17:12:32 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 17:12:32 StationName: 17:12:32 StreamTitle: 17:12:36 AUDIO_info: buffers freed, free Heap: 201516 bytes 17:12:36 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 17:12:40 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [150008][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 17:12:40 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 17:12:40 StationName: 17:12:40 StreamTitle: 17:12:41 AUDIO_info: buffers freed, free Heap: 201312 bytes 17:12:41 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 17:12:44 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [153948][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 17:12:44 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 17:12:44 StationName: 17:12:44 StreamTitle: 17:12:45 AUDIO_info: buffers freed, free Heap: 200392 bytes 17:12:45 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 17:12:48 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [157942][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 17:12:48 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 17:12:48 StationName: 17:12:48 StreamTitle: 17:12:49 AUDIO_info: buffers freed, free Heap: 200672 bytes 17:12:49 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 17:12:52 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [161947][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 17:12:52 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 17:12:52 StationName: 17:12:52 StreamTitle: 17:12:54 AUDIO_info: buffers freed, free Heap: 200964 bytes 17:12:54 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 17:12:57 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_four ... orewind.m3u8 failed! [166948][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE 17:12:57 AUDIO_info: Request http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 failed! 17:12:57 StatE (172172) wifi:addba response cb: sta bss deleted ionName: 17:12:57 StreamTitle: 17:13:02 AUDIO_info: buffers freed, free Heap: 200924 bytes 17:13:02 AUDIO_info: connect to: "as-hls-ww-live.akamaized.net" on port 80 path "/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8" 17:13:04 AUDIO_info: Connection has been established in 1591 ms, free Heap: 201184 bytes 17:13:04 lastURL: .. http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_r ... d96000.norewind.m3u8 17:13:05 AUDIO_info: media sequence number: 269266623 17:13:05 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=96000-269266623.ts" 17:13:05 AUDIO_info: AACDecoder has been initialized, free Heap: 199364 bytes , free stack 4796 DWORDs 17:14:09 Webpage: index.html [263919][E][websrv.cpp:98] show(): write error in webpage 17:14:34 Webpage: index.html 17:14:34 AUDIO_info: connect to: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=96000-269266624.ts" [264520][E][NetworkClient.cpp:423] write(): fail on fd 54, errno: 104, "Connection reset by peer" [264530][E][websrv.cpp:98] show(): write error in webpage`

I'm puzzled. It seems the Audio task is confused as to whether it is released or not registering that it has been reconnected with the same address. Moreover, when the ESP32 NAT is removed, it doesn't attempt to connect with the remaining two strong AP's in close proximity.

Nevertheless, this is testing connection recovery. When the Radio experiences no connection dropouts, it performs superbly, as does the one in the kitchen (as long as I don't turn up the Induction cooker to full power which swamps the spectrum).

Are the two task out of sync with registering the connection, STA.cpp and Audio_info?

Let me know if I can perform further diagnostics, Wolle.

Best wishes, and hope that we can overcome this otherwise excellent piece of HLS decoding.

Robin

RobinMosedale commented 3 months ago

Bump. Still a frequent issue

github-actions[bot] commented 2 months ago

This issue is stale because it has been open for 30 days with no activity.

RobinMosedale commented 2 months ago

Bump

github-actions[bot] commented 1 month ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 3 weeks ago

This issue was closed because it has been inactive for 14 days since being marked as stale.