karlheyes / icecast-kh

KH branch of icecast
GNU General Public License v2.0
298 stars 106 forks source link

client_read_bytes reading from connection failed #246

Closed mylselgan closed 4 years ago

mylselgan commented 5 years ago

System Debian Stretch (GNU/Linux 4.9.0-8-amd64 x86_64 Icecast KH version: icecast-2.4.0-kh10 Log level:4 Problem: not able to connect via butt. It shows always "Connecting" but when using wrong credential it exists with invalid user/password!.

[2019-02-26 04:54:04] DBUG stats/process_source_stat new node on /1 "user_agent" (butt 0.1.16) [2019-02-26 04:54:04] INFO source/source_read listener count on /1 now 0 [2019-02-26 04:54:04] DBUG stats/process_source_stat new node on /1 "listeners" (0) [2019-02-26 04:54:04] DBUG stats/stats_global_calc update global clients (1) [2019-02-26 04:54:04] DBUG stats/stats_global_calc update global connections (1) [2019-02-26 04:54:04] DBUG stats/stats_global_calc update global source_client_connections (1) [2019-02-26 04:54:04] DBUG stats/stats_global_calc update global source_total_connections (1) [2019-02-26 04:54:04] DBUG stats/stats_global_calc update global sources (1) [2019-02-26 04:54:05] DBUG client/client_read_bytes reading from connection 0 from 153.54.114.240 has failed [2019-02-26 04:54:05] INFO source/source_read End of Stream /1 [2019-02-26 04:54:05] INFO source/source_shutdown Source "/1" exiting [2019-02-26 04:54:05] DBUG stats/modify_node_event update "/1" outgoing_kbitrate (0) [2019-02-26 04:54:05] DBUG stats/modify_node_event update "/1" incoming_bitrate (0) [2019-02-26 04:54:05] DBUG stats/modify_node_event update "/1" total_bytes_read (0) [2019-02-26 04:54:05] DBUG stats/modify_node_event update "/1" total_bytes_sent (0) [2019-02-26 04:54:05] DBUG stats/modify_node_event update "/1" total_mbytes_sent (0) [2019-02-26 04:54:05] DBUG stats/modify_node_event update "/1" queue_size (0) [2019-02-26 04:54:05] DBUG stats/modify_node_event update "/1" connected (1) [2019-02-26 04:54:05] INFO source/source_set_fallback No fallback on /1 [2019-02-26 04:54:05] DBUG source/drop_source_from_tree stats still referenced on /1 [2019-02-26 04:54:05] DBUG stats/_free_source_stats delete source node /1 [2019-02-26 04:54:05] DBUG source/drop_source_from_tree removed source /1 (0x7f41d8001360) from tree [2019-02-26 04:54:05] INFO source/source_client_read no more listeners on /1 [2019-02-26 04:54:05] DBUG source/source_clear_source clearing source "/1" 0x7f41d8001360 [2019-02-26 04:54:05] INFO source/_free_source freeing source "/1" [2019-02-26 04:54:05] DBUG client/worker 0x556ec3e71320 now has 0 clients [2019-02-26 04:54:05] DBUG yp/yp_pending_update running through YP changes [2019-02-26 04:54:05] DBUG yp/yp_pending_update Processed 1 changes [2019-02-26 04:54:05] DBUG client/worker_add_pending_clients Added 1 pending clients to 0x556ec3e71320 [2019-02-26 04:54:05] DBUG client/worker 0x556ec3e71320 now has 1 clients [2019-02-26 04:54:06] INFO connection/_handle_source_request Source logging in at mountpoint "/1" [2019-02-26 04:54:06] DBUG source/source_format_init parser found for /1 [2019-02-26 04:54:06] INFO format-mp3/format_mp3_get_plugin Created format details for /1 [2019-02-26 04:54:06] DBUG stats/stats_handle new source stat /1 [2019-02-26 04:54:06] INFO source/source_startup sources count is now 1

mylselgan commented 5 years ago

I found one strange behavior :), Butt connects when I logged in to http://IP:8000/admin/stats.xsl

karlheyes commented 5 years ago

I just tried with my latest work with butt 0.1.17 and it seemed to connect as an ic2 source ok. The message you highlighted would tend to support a problem reading from the incoming socket, so unsure at the moment.

karl.