Skip to main content
Participating Frequently
August 6, 2008
Question

strange errors in Core and edges logs

  • August 6, 2008
  • 3 replies
  • 1630 views
Hi i'm running a core server and 2 edges servers conected to core and I'm using Flash Media Live Encoder to encode a live stream to core. Clients are always connect to edge servers. However from time to time i have the following errors in logs :

2008-08-06 17:21:38 2514 (e)2581279 Assert failed in /server/core/FcLiveStream.cpp line 1627 -

And one more strange error:

2008-08-06 16:02:22 2514 (w)2641213 Connection rejected by server. Reason : [ Server.Reject ] : Edge loop detected. Rejecting connection. -

The edge is configured by adding a route in Vhost.xml something like this:
<RouteEntry>edge1.mydomain.ro:1935;master.mydomain.ro:1935</RouteEntry>

When the error "Edge loop detected" appears clients are unable to connect to edge.

Thanks ,
Mihai
    This topic is closed to new replies. Start a new post to keep the conversation going.

    3 replies

    Participating Frequently
    August 8, 2008
    One thing to try (without knowing what steps you have taken to setup this edge origin configuration) is to check the name resolution of your edge and origin servers. The <RouteEntry> tag says : all data received on edge1.mydomain.ro:1935 will be forwarded to master.mydomain.ro:1935. If the edge server thinks master.mydomain.ro is itself, it will be in a loop. If this is the case modify your /etc/hosts file to point master.mydomain.ro to the ip of the server you are forwarding it to.
    Participating Frequently
    August 6, 2008
    You also need to check the following section in Vhost.xml

    <!-- A vhost may be configured to run apps locally or remotely. -->
    <!-- A vhost that is not explicitly defined gets aliased to -->
    <!-- the default vhost and is configured as such. A proxy server -->
    <!-- runs all its apps remotely, while a normal server runs all -->
    <!-- its apps locally. The following parameter defines whether -->
    <!-- this vhost is running local or remote apps, the default is -->
    <!-- local. It may be set to either local or remote -->
    <Mode>local</Mode>
    In your case it should be set to remote.

    Thanks
    Participating Frequently
    August 7, 2008
    Mode is set to remote in Vhost.xml and the errors still appear.
    <Mode>remote</Mode>