ESP32-MiniWebRadio icon indicating copy to clipboard operation
ESP32-MiniWebRadio copied to clipboard

setSocketOption(): fail on 0, errno: 9, "Bad file number"

Open Jimbobnz opened this issue 1 year ago • 1 comments

What do I need to do to fix this?

08:53:44 StationName: 08:53:44 AUDIO_info: buffers freed, free Heap: 142575 bytes 08:53:44 AUDIO_info: connect to: "digitalstreams-edge-lb.mediaworks.nz" on port 443 path "/edge_net/playlist.m3u8" 08:53:44 AUDIO_info: SSL has been established in 546 ms, free Heap: 142547 bytes 08:53:44 lastURL: .. https://digitalstreams-edge-lb.mediaworks.nz/edge_net/playlist.m3u8 08:53:45 AUDIO_info: connect to: "https://digitalstreams-edge-lb.mediaworks.nz/edge_net/playlist.m3u8?listeningSessionID=66ea2c7b0168ff6f_2489181_MNwY5eX7_MTcyLjIzLjE2LjYy_0000000sNDn&downloadSessionID=0" [718741][E][NetworkClient.cpp:319] setSocketOption(): fail on 0, errno: 9, "Bad file number" 08:53:45 AUDIO_info: The host has disconnected, reconnecting 08:53:47 AUDIO_info: media sequence number: 216138991 08:53:47 StreamTitle: Eminem & Jelly Roll - Somebody Save Me - Eminem & Jelly Roll - Somebody Save Me 08:53:47 AUDIO_info: connect to: "https://digitalstreams-master-lb-cf.mediaworks.nz/iZLupWgkWAkp-216138991-8000.aac" 08:53:47 StreamTitle: HTTP/1.1 404 Not Found 08:53:47 StationName: 08:53:47 StationName:

Jimbobnz avatar Oct 16 '24 20:10 Jimbobnz

With Accept-Encoding: identity;q=1,*;q=0 I inform the server that I want to receive unpacked data packets. The server then sends HTTP 404. With gzip the server would send me data packages that I cannot unpack fast enough on the ESP32. https://digitalstreams-edge-lb.mediaworks.nz/edge_net/playlist.m3u8 is one of the stations that does not work here

schreibfaul1 avatar Oct 18 '24 06:10 schreibfaul1

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

github-actions[bot] avatar Nov 18 '24 02:11 github-actions[bot]

Could there be a code enhancement better handle the 404 http as it locks up the web interface.

Jimbobnz avatar Nov 18 '24 02:11 Jimbobnz

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

github-actions[bot] avatar Dec 21 '24 02:12 github-actions[bot]

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

github-actions[bot] avatar Jan 04 '25 02:01 github-actions[bot]