Skip to main content
Participant
May 27, 2011
Question

Need help with Edge/Origin server configurations

  • May 27, 2011
  • 1 reply
  • 569 views

I've been trying now for few days to configure an Edge server that would connect to our working Origin server.

I have not changed anything on the Origin server and media are served properly

I can easily play all media from the videoPlayer.html sample app distributed with the server.

http://10.0.9.19:8134/samples/videoPlayer/videoplayer.html

using the media;

rtmp://10.0.9.19/vod/stories/Test/test

Now I have installed a fresh version of FMS on a second machine and configured the Edge server as follow;

        <Proxy>

                <Mode>remote</Mode>

                <RequestTimeout>5</RequestTimeout>

                <Anonymous>false</Anonymous>

                <CacheDir enabled="true" useAppName="true">

                        <Path>c:\fmscache\</Path>

                        <MaxSize>32</MaxSize>

                </CacheDir>

                <LocalAddress></LocalAddress>

                <RouteTable protocol="">

                        <RouteEntry>*:*;10.0.9.19:*</RouteEntry>

                </RouteTable>

                <EdgeAutoDiscovery>

                        <Enabled>false</Enabled>

                        <AllowOverride>true</AllowOverride>

                        <WaitTime>5000</WaitTime>

                </EdgeAutoDiscovery>

                <AggregateMessages enabled="true">

                </AggregateMessages>

        </Proxy>

Now if I try to connect to rtmp://10.0.9.20/vod/stories/Test/test i simply get an error saying that it cannot connect to the network...

I also tried rtmp://10.0.9.20/?rtmp://10.0.9.19/vod/stories/Test/test

That is using the videoPlayer.html sample and/or our app.

What I am doing wrong?

    This topic has been closed for replies.

    1 reply

    Participating Frequently
    May 27, 2011

    Are you using Developer Editions? Also if you are usign Developer Edition - do you see errors in server logs? And just in case if you are using Streaming Edition of server - would like to inform that they cannot be configured an Edge Server.

    Participant
    May 27, 2011

    Yes using developer editions on both.

    I dont see any errors in the logs.

    We eventually be using the Amazon FMS eventually as our origin server or edge to our origin??

    and there will be edge server chaining to the AWS Edge servers.

    Participant
    May 27, 2011

    Ok, it seem that I just found something;

    If I launch the browser on the same machine as the edge and use "localhost" instead of IP it works.

    So

    http://localhost:8134/samples/videoPlayer/videoplayer.html?source=rtmp://localhost/vod/stories/Test/test

    works while

    http://localhost:8134/samples/videoPlayer/videoplayer.html?source=rtmp://10.0.9.19/vod/stories/Test/test

    don't!
    So there must be a config I am missing to tell the Edge to listen on ALL IP...

    ok, that is all good if the browser is ran from the same machine as the Edge server but still not working if the browser is launched from my desktop

    Message was edited by: André Couture