Skip to main content
Participant
July 8, 2011
Question

Only allowing RTMPE connections to an edge server

  • July 8, 2011
  • 1 reply
  • 693 views

Hi,

I have a setup where I have some edge servers (as in <Mode>remote</Mode>) that pull content from an origin server. I only want to allow RTMPE connections to the edge server.

I'm trying to do this by using the <DisallowedProtocols> element on the origin server. I'm setting:

<DisallowedProtocols>rtmp,rtmps,rtmpt</DisallowedProtocols>

...in the relevant Vhost.xml on the origin server. However, when I do that, proxying through the edge server stops working. I get a "Connection attempt rejected by FMS server [ Server.Reject ] : Connection failed." from OSMFPlayer (which I'm using for testing) and these lines show up on the origin server's core.00.log file:

2011-07-08 17:44:02 6356 (i)2651107 Connection failed. -

2011-07-08 17:44:02 6356 (i)2641213 Connection rejected by server. Reason : [ Server.Reject ] : Connection failed. -

What am I doing wrong?

    This topic has been closed for replies.

    1 reply

    Participant
    July 11, 2011

    I think the issue here is that FMS just doesn't support server-to-server RTMPE connections. Quoting from this document: "Note: RTMPE cannot currently be used between servers or from edge to origin. In these cases, RTMPS can be used instead."

    So it looks like I'll have to use RTMPS.

    Participating Frequently
    July 11, 2011

    Yes what you read is right - as of now we dont support server to server RTMPE connections.