mod_rtmp: "Read error" when attempting calls from FS to RTMP client.
Hi, I have a strange issue when I attempt to bridge a call from FS out to an RTMP client. As soon as the call is offered up to the client, the call is disconnected immediately i.e at the "ringing" stage. The strange thing is that as soon as I issue an "fsctl loglevel 9" then everything is fine. I don't know whether this is because of any additional load, as nothing above "ERR" is printed in each case. When the call is cleared immediately then I am getting "[ERR] rtmp.c:713 Read error" in the logs. mod_rtmp is compiled from today's git. Is there a possibility something is trying to happen too quickly in the handshake before data has been received from the client? Outbound calls from client to FS work flawlessly and incoming calls too, so long as I seem to have debug logging enabled. I'm not sure if it's relevant, but I'm bridging to the UUID of the session AKA "<action application="bridge" data="rtmp/cd421c76-1614-11e1-be92-397d873fd9b8"/>" Cheers, Neil. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/mod-rtmp-Read-error-when-attem... Sent from the freeswitch-users mailing list archive at Nabble.com.
Sorry, can I bump this? I've tried everything I'm capable of, but can't get a call from mod_rtmp out to the client without keeping the box logging in debug mode! As soon as I bring the log level down I get the issue, but of course can't get any more debug for this specific issue. I've looked at the code but don't know enough C to make any changes. Thanks, Neil. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/mod-rtmp-Read-error-when-attem... Sent from the freeswitch-users mailing list archive at Nabble.com.
For what it's worth, I am getting the exact same read error and it is closing my socket when I dial into FS from RTMP client, but only in certain browsers it seems. It's a read error on the same line of code. Description of the issue and debug lines are listed in this JIRA: http://jira.freeswitch.org/browse/FS-3729 On Thu, Dec 1, 2011 at 9:24 AM, peely <freeswitch@peely.com> wrote:
Sorry, can I bump this?
I've tried everything I'm capable of, but can't get a call from mod_rtmp out to the client without keeping the box logging in debug mode! As soon as I bring the log level down I get the issue, but of course can't get any more debug for this specific issue.
I've looked at the code but don't know enough C to make any changes.
Thanks,
Neil.
-- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/mod-rtmp-Read-error-when-attem... Sent from the freeswitch-users mailing list archive at Nabble.com.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Also worthwhile to note that the 'fsctl loglevel 9' does not make it work for me, and the read error occurs still: 2011-12-01 16:34:39.226836 [ERR] rtmp.c:713 Read error Also, even on Chrome (which is working), the read error does occur upon hangup On Thu, Dec 1, 2011 at 10:50 AM, Matt Stockton <mstockton@harqen.com> wrote:
For what it's worth, I am getting the exact same read error and it is closing my socket when I dial into FS from RTMP client, but only in certain browsers it seems. It's a read error on the same line of code.
Description of the issue and debug lines are listed in this JIRA: http://jira.freeswitch.org/browse/FS-3729
On Thu, Dec 1, 2011 at 9:24 AM, peely <freeswitch@peely.com> wrote:
Sorry, can I bump this?
I've tried everything I'm capable of, but can't get a call from mod_rtmp out to the client without keeping the box logging in debug mode! As soon as I bring the log level down I get the issue, but of course can't get any more debug for this specific issue.
I've looked at the code but don't know enough C to make any changes.
Thanks,
Neil.
-- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/mod-rtmp-Read-error-when-attem... Sent from the freeswitch-users mailing list archive at Nabble.com.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
On Fri, Dec 2, 2011 at 12:35 AM, Matt Stockton <mstockton@harqen.com> wrote:
Also, even on Chrome (which is working), the read error does occur upon hangup
Oh i also ran into this. I got a "Your Linode, linodexxxx, has exceeded the notification threshold (90) for CPU Usage by averaging 104.6% for the last 2 hours" and that is when i noticed it in the logs. -- David Wafula
I also get : 2011-11-30 16:04:55.108875 [ERR] rtmp.c:678 Read error each time an rtmp session from a browser FS Flex client is ended. It doesn't seem to bother anything. Jack On 12/1/2011 2:35 PM, Matt Stockton wrote:
Also worthwhile to note that the 'fsctl loglevel 9' does not make it work for me, and the read error occurs still: 2011-12-01 16:34:39.226836 [ERR] rtmp.c:713 Read error
Also, even on Chrome (which is working), the read error does occur upon hangup
On Thu, Dec 1, 2011 at 10:50 AM, Matt Stockton <mstockton@harqen.com <mailto:mstockton@harqen.com>> wrote:
For what it's worth, I am getting the exact same read error and it is closing my socket when I dial into FS from RTMP client, but only in certain browsers it seems. It's a read error on the same line of code.
Description of the issue and debug lines are listed in this JIRA: http://jira.freeswitch.org/browse/FS-3729
On Thu, Dec 1, 2011 at 9:24 AM, peely <freeswitch@peely.com <mailto:freeswitch@peely.com>> wrote:
Sorry, can I bump this?
I've tried everything I'm capable of, but can't get a call from mod_rtmp out to the client without keeping the box logging in debug mode! As soon as I bring the log level down I get the issue, but of course can't get any more debug for this specific issue.
I've looked at the code but don't know enough C to make any changes.
Thanks,
Neil.
-- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/mod-rtmp-Read-error-when-attem... Sent from the freeswitch-users mailing list archive at Nabble.com.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
I figured out what was happening for my specific problem that was closing the NetConnection. See my comment here: http://jira.freeswitch.org/browse/FS-3729 Basically, I was moving the flash widget to an off-screen location, and it doesn't look like Firefox likes this - Chrome and IE do not seem to care --- so there must be different rules in browsers for when Flash can operate --- Maybe your situation is similar? On Fri, Dec 2, 2011 at 3:49 PM, Jack <jack@livecall.com> wrote:
I also get : 2011-11-30 16:04:55.108875 [ERR] rtmp.c:678 Read error each time an rtmp session from a browser FS Flex client is ended. It doesn't seem to bother anything. Jack
On 12/1/2011 2:35 PM, Matt Stockton wrote:
Also worthwhile to note that the 'fsctl loglevel 9' does not make it work for me, and the read error occurs still: 2011-12-01 16:34:39.226836 [ERR] rtmp.c:713 Read error
Also, even on Chrome (which is working), the read error does occur upon hangup
On Thu, Dec 1, 2011 at 10:50 AM, Matt Stockton <mstockton@harqen.com>wrote:
For what it's worth, I am getting the exact same read error and it is closing my socket when I dial into FS from RTMP client, but only in certain browsers it seems. It's a read error on the same line of code.
Description of the issue and debug lines are listed in this JIRA: http://jira.freeswitch.org/browse/FS-3729
On Thu, Dec 1, 2011 at 9:24 AM, peely <freeswitch@peely.com> wrote:
Sorry, can I bump this?
I've tried everything I'm capable of, but can't get a call from mod_rtmp out to the client without keeping the box logging in debug mode! As soon as I bring the log level down I get the issue, but of course can't get any more debug for this specific issue.
I've looked at the code but don't know enough C to make any changes.
Thanks,
Neil.
-- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/mod-rtmp-Read-error-when-attem... Sent from the freeswitch-users mailing list archive at Nabble.com.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services:consulting@freeswitch.orghttp://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Serverhttp://www.cudatel.com
Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.com
FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
I doubt it, as stated in my OP, my control works perfectly when the debug level is set top maximum on FreeSWITCH, it's only when the debug level is lowered. Plus I use exactly the same control for making and receiving calls, making calls from the client is fine, but receiving a call fails. In both situations I don;t move the control after initialising it, everything else is controlled through JS with in headless. I'm really stuck and am having to rethink how I use the control to get around this as there doesn't seem to be any activity. I'm thinking even when I want to receive a call I'll have to somehow initiate a call and park it, then switch an incoming call into that session or something. It's definitely something going on in mod_rtmp. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/mod-rtmp-Read-error-when-attem... Sent from the freeswitch-users mailing list archive at Nabble.com.
participants (4)
-
David Wafula
-
Jack
-
Matt Stockton
-
peely