drachtio / drachtio-freeswitch-modules

A collection of open-sourced freeswitch modules that I use in various drachtio applications
MIT License
169 stars 114 forks source link

lws_glue.cpp:185 connection failed: read failed #142

Open abhishekknowlarity opened 9 months ago

abhishekknowlarity commented 9 months ago

Can anyone help me understand what might be going wrong here while starting audio stream?

de87b823-0697-4a47-a8ce-f686d0e7a670 2023-10-19 12:22:01.982887 [DEBUG] mod_audio_fork.c:89 calling fork_session_init. de87b823-0697-4a47-a8ce-f686d0e7a670 2023-10-19 12:22:01.982887 [DEBUG] lws_glue.cpp:261 (6) no resampling needed for this call de87b823-0697-4a47-a8ce-f686d0e7a670 2023-10-19 12:22:01.982887 [DEBUG] lws_glue.cpp:264 (6) fork_data_init 2023-10-19 12:22:01.982887 [NOTICE] lws_glue.cpp:291 de87b823-0697-4a47-a8ce-f686d0e7a670 after adding connect there are 1 pending connects

de87b823-0697-4a47-a8ce-f686d0e7a670 2023-10-19 12:22:01.982887 [DEBUG] mod_audio_fork.c:95 adding bug. de87b823-0697-4a47-a8ce-f686d0e7a670 2023-10-19 12:22:01.982887 [DEBUG] switch_core_media_bug.c:828 Attaching BUG to sofia/external/09627856216@10.60.65.26 de87b823-0697-4a47-a8ce-f686d0e7a670 2023-10-19 12:22:01.982887 [ALERT] switch_core_media.c:8839 sofia/external/09627856216@10.60.65.26 receive message [HARD_MUTE] de87b823-0697-4a47-a8ce-f686d0e7a670 2023-10-19 12:22:01.982887 [DEBUG] mod_audio_fork.c:99 setting bug private data. de87b823-0697-4a47-a8ce-f686d0e7a670 2023-10-19 12:22:01.982887 [DEBUG] mod_audio_fork.c:102 exiting start_capture. 2023-10-19 12:22:01.982887 [NOTICE] lws_glue.cpp:291 de87b823-0697-4a47-a8ce-f686d0e7a670 attempting connection, wsi is 0x7f28f8035020

de87b823-0697-4a47-a8ce-f686d0e7a670 2023-10-19 12:22:02.002884 [ALERT] switch_core_io.c:416 sofia/external/09627856216@10.60.65.26 receive message [TRANSCODING_NECESSARY] de87b823-0697-4a47-a8ce-f686d0e7a670 2023-10-19 12:22:02.002884 [DEBUG] mod_audio_fork.c:21 responseHandler: sending event payload: {"reason":"read failed"}. de87b823-0697-4a47-a8ce-f686d0e7a670 2023-10-19 12:22:02.002884 [NOTICE] lws_glue.cpp:185 connection failed: read failed de87b823-0697-4a47-a8ce-f686d0e7a670 2023-10-19 12:22:02.002884 [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8

longestsequence commented 7 months ago

Seems like a connection issue. You should check for network, firewalls, gateways, proxy servers involved