• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Setup for edge and origin server

Guest
Nov 10, 2009 Nov 10, 2009

Copy link to clipboard

Copied


Hey,

I am trying to setup edge and origin server on windows server and trying to run FMIS on it. I am going through many problems, my first problem is I could not understand given command for implicit connection

Use the following syntax in a client-side NetConnection.connect() call to make an implicit connection to an edge server:

rtmp://edge/app/appinstance.
Over here what does app means does it mean application (example vod) ?? What does app instance means(no clue I guess video file)

I am just curious how can I connect from flash cs4(my client) to edge server with the help of command inspector and give path for file or do i need to run
action script every time.

If yes, where can I find client-side and server side action script or I can direclty used it from Flash cs4 no need for script.

Please let me know as fast as possibe, Thanks in advance.





Views

7.8K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Nov 11, 2009 Nov 11, 2009

Copy link to clipboard

Copied

Well,

There are two ways to do edge/origin

1.  You include the entire edge/origin connection line in the URL i.e.

rtmp://edgeServer/app/?rtmp://originServer/app/

or

2.  You build a routing table into the configuration for your edge

rtmp://edgeServer/app

and then the app server's routing table directs to the origin.

What are you trying to accomplish here.  An invisible setup or one where you can specify the whole thingy?

Asa

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Nov 11, 2009 Nov 11, 2009

Copy link to clipboard

Copied

Hey Asa,


      Thanks a lot for replying, Let me give details of my whole set up and problem

1) Set-up

       

  -  I am trying to install FMIS with edge and origin server. I have got three machine one windows xp( client), Windows server2003(Edge server) and another Windows 2003(Origin server). 

-   I am running Flash CS4  on windows client and trying to run vidoe from my edge sever and which can redirect to Origin Server.

-  I want to run implicit connection(invisible to my client)


2)  Testing

  - So I am trying to get video which is not present in edge server but present in origin server. For example I have got file Legend.flv in  an Origin Server. So From component Inspector in Flash CS4 source path I am giving this source path rtmp://10.11.100.100/Vod/Legend, 10.11.100.100(ip of edge server) and expecting origin server to reply instead of Edge server and caching data in my Edge server. My client would have no idea data is obtained from Origin Server as it is implicit connection.


-  I am not sure do i need to use ACTION SCRIPT instead of COMPONET INSPECTOR if yes which is the right ACTION SCRIPT I need to use.

- My another problem is what does is difference between this 2 command

      a)   rtmp://fms.foo.com/app/inst used for directly contacting to the server(no concept of origin or edge)

   b)

rtmp://edge/app/appinstance used for edge and orgin server.

what is differnece between inst and appinstance.


3)   Summary

I have made all config in Vhost.xml file in Edge server, my edge and orgin server can talk with each other.

I can get directly get file form origin server

Only problem is if am asking for any video which is not in edge server and present in origin server, it does not work.

In log files, I am getting error like Server.Reject from c:\\Document and setting something like that.

Please do help me as fast as possibe, I highly appreciate your work and Thanks in advance

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Nov 12, 2009 Nov 12, 2009

Copy link to clipboard

Copied

FMS edge/origin won't work in quite the fashion you're thinking

There is no

  1. Auto discovery - originally this feature was planned and removed, hence all your communication will go to the edge directly
  2. Redirecting - same deal as above

What happens is that you ALWAYS must know the connection path of the whole chain, consequently there's two ways you can do this

1.  Make the client aware of the whole path at first

rtmp://edgeserver/?rtmp://originserver/appname

This way the connection arrives at the edge, it looks at the second half and completes the circuit to the origin.

2.  Configure the edge's routing table so that it knows where to send people.  If you've looked in VHost.xml then you've seen the routing table.  It works like direct thisHost;thisPort to thatHost;thatPort.  So typically you'd end up sending everything from an edge to an origin and doing so this way *:* to origin:1935.  In the actual config there's no to it's specified by a semicolon, so like this *:*;origin:1935.

I'd do the second as if you connect to the edge like this  rtmp://edge/appName, then the redirect will take care of the rest.

By the way there's no difference between appInstance and instance.   It's just two ways to refer to the same thing.

Asa

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Nov 12, 2009 Nov 12, 2009

Copy link to clipboard

Copied

Hey Asa,

   Thanks a lot for your reply, I highly appreciate. So if I am not wrong auto-discovery means my edge server would cache the data and If i want same data next time it would serve locally. I guess so my edge and orgin server just do work of load balancing, so everytime it would redirect my request to origin server doesn't matter if I have previously obtained any data so no caching of data. I am just curious is it command given rtmp://edge/appName I can give it from component Inspector rite ?? or I need to you scripting for connecting it.

Thanks

Rush

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Nov 12, 2009 Nov 12, 2009

Copy link to clipboard

Copied

Hey Asa,

  I tried conncecting with this command from my client(flash cs4) component inspector rtmp://10.11.100.100/?rtmp://10.11.191.19/vod/Legend, I am getting following error

hu 04:53:53 PM: Connection rejected by server. Reason : [ Server.Reject ] : Rejecting connection from file:///C|/Documents and Settings/Administrator/Desktop/FMS TESTING.swf to rtmp://10.11.191.19/vod.
Thu 04:53:55 PM: Rejecting connection from file:///C|/Documents and Settings/Administrator/Desktop/FMS TESTING.swf to rtmp://10.11.191.19/vod.
Thu 04:53:55 PM: Connection rejected by server. Reason : [ Server.Reject ] : Rejecting connection from file:///C|/Documents and Settings/Administrator/Desktop/FMS TESTING.swf to rtmp://10.11.191.19/vod.

not sure about reason behind this error.

Thanks

Rush

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Nov 12, 2009 Nov 12, 2009

Copy link to clipboard

Copied

I am really not sure why you should get that error. Are you you using FLVPlayback component or FLVPlayback 2.5 component. If you are using latter, just see all are default setting , i mean make isDVR and isLive to false and try.

By the way where are you seeing the errors, on edge server logs or origin server logs or is it something at client end. Please check your security settings at client end. I mean just try simple connect via edge-origin , does that succeed atleast. Can you just tell what configuration have you made , can you pass me you vhost.xml file is possible , i mean just attach it here.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Nov 13, 2009 Nov 13, 2009

Copy link to clipboard

Copied

Hey SE_08,

  Thanks a lot, well I am using FLV playback component live is set to False and I am not sure how to make it to DVR. I can connect directly from Client to Edge Server and Cleint to Origin Server.

I can even connect betwen Edge and Origin Server, so for connecting from Edge to Origin Server I just go inside sample---> Video Player---> Videoplayer.html and just put syntax and it works.

I cannot see any caching of file in Edge Server.

But only concern is when I am trying to connect from my Client to  Edge Server and making redirect to Origin Server it does not work. I am getting error.

Error is seen in Edge Server Log, when I am trying to connect from my Client to Edge Server and redirecting to Origin Server at that time there is no load going in Origin Server, means my Orgin Server even doesn't know someone is trying to connect him.

Above is Vhost.xml file

<VirtualHost> 
    <Proxy>
        <Mode>remote</Mode>
        <Anonymous>true</Anonymous>
        <CacheDir enabled="true" useAppName="true"></CacheDir>
        <LocalAddress>10.11.100.100</LocalAddress>
        <RouteTable protocol="rtmp">
            <RouteEntry>*:*;10.11.191.19:1935</RouteEntry>
            <RouteEntry>*:*;10.11.191.19:80</RouteEntry>
        </RouteTable>
        <EdgeAutoDiscovery>
            <Enabled>true</Enabled>
            <AllowOverride>true</AllowOverride>
            <WaitTime>1000</WaitTime>
        </EdgeAutoDiscovery>        
    </Proxy>
</VirtualHost>

I highly appreiciate your help, Thanks in advance for helping me.

Thanks

Rush

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Nov 13, 2009 Nov 13, 2009

Copy link to clipboard

Copied

Hey,

  One another thing my Edge server is working on Vmware over which windows server 2003 is running I guess it is not issue, as I can connect directly from Client to Origin Server.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Nov 13, 2009 Nov 13, 2009

Copy link to clipboard

Copied

Hey,

  I am getting following error on client side

Attemping to launch and connect to Player using URL C:\Documents and Settings\Administrator\Desktop\New Folder (2)\FMS TESTING.swf
[SWF] C:\Documents and Settings\Administrator\Desktop\New Folder (2)\FMS TESTING.swf - 127284 bytes after decompression
*** Security Sandbox Violation ***
Connection to rtmp://10.11.100.100/vod halted - not permitted from file:///C|/Documents%20and%20Settings/Administrator/Desktop/New%20Folder%20%282%29/FMS%20TESTING.swf
-- Untrusted local SWFs may not contact the Internet.
SecurityError: Error #2028: Local-with-filesystem SWF file file:///C|/Documents%20and%20Settings/Administrator/Desktop/New%20Folder%20%282%29/FMS%20TESTING.swf cannot access Internet URL rtmp://10.11.100.100/vod.
    at flash.net::NetConnection/connect()
    at fl.video::NCManager/http://www.adobe.com/2007/flash/flvplayback/internal::nextConnect()
    at fl.video::NCManager/http://www.adobe.com/2007/flash/flvplayback/internal::connectRTMP()
    at fl.video::NCManager/connectToURL()
    at fl.video::VideoPlayer/http://www.adobe.com/2007/flash/flvplayback/internal::_load()
    at fl.video::VideoPlayer/load()
    at fl.video::FLVPlayback/doContentPathConnect()
Cannot display source code at this location.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Nov 13, 2009 Nov 13, 2009

Copy link to clipboard

Copied

Hey,

I have removed security error for below, but I am seeing same error but  i am getting same error server rejected

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Nov 16, 2009 Nov 16, 2009

Copy link to clipboard

Copied

Hey guys,

If you can reply me fast above question, I would highly appreciate.

Thanks

Rush

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Nov 16, 2009 Nov 16, 2009

Copy link to clipboard

Copied

Hi Rush,

I saw your post and newly added information, but forum site seem to be down

and now when its up its little erratic , i cant seem to log-in.

As you said you were able to get around security issue at client side - that

was like how i said was Flash Player security issue

Regarding error you are still facing , its simple typo i suppose,

Your entry shows this:

:;10.11.191.19:1935:;10.11.191.19:1935</RouteEntry>

Replace .(dot) with : (colon)

Make that changes in both your RouteEntry lines , restart your server and i

think it should work.

Please let me know.

Regards

SE_0208

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Nov 17, 2009 Nov 17, 2009

Copy link to clipboard

Copied

Hey SE_08,

Thanks for reply, but I did not get your point what I should convert dot to colon becuase I have already colon between ip and port number. Can you give me details by giving example of my route entry what I should do, it would be great help.

Thanks

Rush

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Nov 17, 2009 Nov 17, 2009

Copy link to clipboard

Copied

Sorry my apologies, i thought for a while that you had put dot in RouteEntry instead of colon. But I think you're settings seem to be correct. I tried same set-up as yours except i used combination of Linux CentOS as edge server and Win 2008 as origin and it worked for me. But i don't think it should be platform issue. Can you tell me exact URL you use in your client with respect yo your example and which application are you trying to connect , your own application or application which come in installation like vod. Also can you paste exact error logs and which file do you get it - core.00.log or edge.00.log

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Nov 17, 2009 Nov 17, 2009

Copy link to clipboard

Copied

Hey SE_08,

  I have put output of my client(flash cs4) and edge server log.

so for Syntax, I generally go to Flash cs4 ---> window---> componet Inspector---> source ---> rtmp://10.11.100.100/vod/Legend.flv

I am trying to connect Legend.flv video which is present in my origin server in Vod folder.

I am not using any action scripts

Output of Flash CS4 client

Attemping to launch and connect to Player using URL C:\Documents and Settings\Administrator\Desktop\adobe\FMS TESTING.swf
[SWF] C:\Documents and Settings\Administrator\Desktop\adobe\FMS TESTING.swf - 127257 bytes after decompression
[SWF] C:\Documents and Settings\Administrator\Desktop\adobe\SkinUnderAllNoFullNoCaption.swf - 25739 bytes after decompression


access .00

Date: 2009-11-17
#Fields: x-category    x-event    date    time    x-pid    c-ip    cs-bytes    sc-bytes    x-sname    sc-stream-bytes    x-file-size    x-file-length    x-status    x-comment
session    connect    2009-11-17    10:25:45    3944    10.11.191.18    3073    3358    -    -    -    -    400    -
session    disconnect    2009-11-17    10:25:45    3944    10.11.191.18    3073    3358    -    -    -    -    200    -
session    connect    2009-11-17    10:27:32    3944    10.11.191.18    3073    3414    -    -    -    -    400    -
session    disconnect    2009-11-17    10:27:32    3944    10.11.191.18    3073    3414    -    -    -    -    200    -
session    connect    2009-11-17    10:27:33    3944    10.11.191.18    3073    3415    -    -    -    -    400    -
session    disconnect    2009-11-17    10:27:33    3944    10.11.191.18    3073    3415    -    -    -    -    200    -

admin.00

Fields: date    time    x-pid    x-status    x-ctx    x-comment
2009-11-17    10:20:39    1472    (i)2581173    Host: localrsp IPv4: 10.11.100.100    -
2009-11-17    10:20:39    1472    (i)2571011    Server starting...    -
2009-11-17    10:20:39    1472    (i)2631174    Listener started ( FCSAdminIpcProtocol ) : localhost:11110/v4    -
2009-11-17    10:20:40    1472    (i)2631174    Listener started ( FCSAdminAdaptor ) : 1111/v4    -
2009-11-17    10:20:41    1472    (i)2571111    Server started (C:\Program Files\Adobe\Flash Media Server 3.5\conf\server.xml).    -
2009-11-17    10:25:45    1472    (i)2581241    Connection to admin received.    -
2009-11-17    10:25:45    1472    (i)2581243    Connection from core 3944 received.    -
2009-11-17    10:25:45    1472    (i)2581244    Connection from core 3944 accepted.    -


core.00

2009-11-17    10:25:45    3944    (i)2581237    Starting admin app on core (3944).    -
2009-11-17    10:25:45    3944    (i)2581238    Core (3944) connecting to admin.    -
2009-11-17    10:25:45    3944    (i)2581231    Core (3944) connected to admin.    -
2009-11-17    10:25:45    3944    (i)2581246    Core (3944) sending register cmd to edge.    -
2009-11-17    10:25:45    3944    (i)2581234    Core (3944) connection to admin accepted.    -
2009-11-17    10:25:45    3944    (i)2701039    Rejecting connection from res://RESOURCE_ID_5004 to rtmp://10.11.100.100/vod.    -
2009-11-17    10:25:45    3944    (w)2641213    Connection rejected by server. Reason : [ Server.Reject ] : Rejecting connection from res://RESOURCE_ID_5004 to rtmp://10.11.100.100/vod.    -
2009-11-17    10:26:32    3944    (i)2701039    Rejecting connection from file:///C|/Documents and Settings/Administrator/Desktop/adobe/FMS TESTING.swf to rtmp://10.11.100.100/vod.    -
2009-11-17    10:26:32    3944    (w)2641213    Connection rejected by server. Reason : [ Server.Reject ] : Rejecting connection from file:///C|/Documents and Settings/Administrator/Desktop/adobe/FMS TESTING.swf to rtmp://10.11.100.100/vod.    -
2009-11-17    10:26:34    3944    (i)2701039    Rejecting connection from file:///C|/Documents and Settings/Administrator/Desktop/adobe/FMS TESTING.swf to rtmpt://10.11.100.100/vod.    -
2009-11-17    10:26:34    3944    (w)2641213    Connection rejected by server. Reason : [ Server.Reject ] : Rejecting connection from file:///C|/Documents and Settings/Administrator/Desktop/adobe/FMS TESTING.swf to rtmpt://10.11.100.100/vod.    -

edge.00

Fields: date    time    x-pid    x-status    x-ctx    x-comment
2009-11-17    10:20:48    2640    (i)2581173    Host: localrsp IPv4: 10.11.100.100    -
2009-11-17    10:20:49    2640    (i)2631174    Listener started ( _defaultRoot__edge1 ) : localhost:19350/v4    -
2009-11-17    10:20:49    2640    (i)2581252    Registering core (2656).    -
2009-11-17    10:20:50    2640    (i)2631174    Listener started ( _defaultRoot__edge1 ) : 80/v4    -
2009-11-17    10:20:50    2640    (i)2631174    Listener started ( _defaultRoot__edge1 ) : 1935/v4    -
2009-11-17    10:25:45    2640    (i)2581252    Registering core (3944).

master.00

Fields: date    time    x-pid    x-status    x-ctx    x-comment
2009-11-17    10:20:39    1460    (i)2581173    Host: localrsp IPv4: 10.11.100.100    -
2009-11-17    10:20:39    1460    (i)2571011    Server starting...    -
2009-11-17    10:20:47    1460    (i)2581413    C:\Program Files\Adobe\Flash Media Server 3.5\Apache2.2\bin\httpd -f ./conf/httpd.conf -d "C:\Program Files\Adobe\Flash Media Server 3.5\Apache2.2" -n FMSHttpd -k start returned 0:     -
2009-11-17    10:20:47    1460    (i)2581224    Edge (2640) started, arguments : -edgeports ":1935,80" -coreports "localhost:19350" -conf "C:\Program Files\Adobe\Flash Media Server 3.5\conf\server.xml" -adaptor "_defaultRoot_" -name "_defaultRoot__edge1".    -
2009-11-17    10:20:47    1460    (i)2581221    Core (2656) started, arguments : -adaptor "_defaultRoot_" -vhost "_defaultVHost_" -app "registry" -inst "registry" -tag  -conf "C:\Program Files\Adobe\Flash Media Server 3.5\conf\server.xml" -name "_defaultRoot_:_defaultVHost_:registry:registry:".    -
2009-11-17    10:20:47    1460    (i)2571111    Server started (C:\Program Files\Adobe\Flash Media Server 3.5\conf\server.xml).    -
2009-11-17    10:25:44    1460    (i)2581221    Core (3944) started, arguments : -adaptor "_defaultRoot_" -vhost "_defaultVHost_" -app  -inst  -tag "_1" -conf "C:\Program Files\Adobe\Flash Media Server 3.5\conf\server.xml" -name "_defaultRoot_:_defaultVHost_:::_1".    -

Thanks for your help

Thanks

Rush

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Nov 17, 2009 Nov 17, 2009

Copy link to clipboard

Copied

Hi Rush,

It really sounds strange, according to me what your are doing is all fine , server as well as client-end , I did same thing as you are doing and it works fine for me. I am really not able to reproduce your issue. For me it looks like more of  security issue than FMS issue, can you just cross check following

1.There is no firewall issue, i mean be sure no where firewall is enabled.

2. Make sure you have not modified allowedSWFdomains.txt & allowedHTMLdomains.txt present in VOD folder , by default they allow all domains until unless you modify them

I am passing you sample player swf , can you try with that too and let me know your result.

You just need to put : - rtmp://10.11.100.100/vod in URL text box and stream name as :- legend (put just legend and not legend.flv)

Click on Connect and then click on Play.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Nov 18, 2009 Nov 18, 2009

Copy link to clipboard

Copied

Hey SE_08,

  Thanks for reply I really appreciate you are helping me. I tried to use your player I am getting following error in client side

NetConnection info.code:NetConnection.Connect.Rejected

NetConnection info.description:undefined

NetConnection.objectEncoding:0

NetConnection info.code:NetConnection.Connect.Closed

NetConnection info.description:undefined

NetConnection.objectEncoding:0

NetConnection info.code:NetConnection.Connect.Rejected

NetConnection info.description:undefined

NetConnection.objectEncoding:0

NetConnection info.code:NetConnection.Connect.Closed

NetConnection info.description:undefined

NetConnection.objectEncoding:0

Another error in client is

typeError: Error #1009: Cannot access a property or method of a null object reference.

at AS3_FLVStreamPlayer_fla::MainTimeline/doSeek()

same error in server
I had one thing to say I dont have internet access on edge server, but I don't think it should be issue as it can directly connect to edge server. But to make sure I am giving you this details
Thanks
Rush

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Nov 19, 2009 Nov 19, 2009

Copy link to clipboard

Copied

Hey Asa or SE_08,

  I would highly appreciate if you can help me to figure out above error for Net connection(), Please let me know if it's possible. My another question is do I need to use action script because above error seems like its trying to reference file and he could not find file. I am not sure I have to use action script or not because I don't have idea about it.

Thanks

Rush

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Nov 23, 2009 Nov 23, 2009

Copy link to clipboard

Copied

I'm thinking that you may have configured your _defaultVHost_ to be an edge but you're instead connecting to it as an origin.  I know that you've been trying to use one of these as an edge - origin and we've probably got our wires crossed here.

  1. If we're using this as an origin then please make sure that the mode in VHost.xml is local and connect as such
  2. If we're doing the redirect table approach we spoke of earlier and this is supposed to be an edge, please make sure the mode is remote

I'm speaking of this tag within your VHost.xml for _defaultVHost_

<Proxy>
        <!-- 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>

This being mismatched would cause that reject error.


Asa

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Nov 23, 2009 Nov 23, 2009

Copy link to clipboard

Copied

Hey Asa,

   Thanks for reply, I highly appreciate. But I am try to run my machine as edge only so I have put remote in Vhost file and I did not change anything in my Origin server. So I guess that should be not an issue.

Thanks

Rush

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Nov 23, 2009 Nov 23, 2009

Copy link to clipboard

Copied

Hi Rush,

I know its frustrating that you are still running into the issue and none of our replies have helped you so far. Probably we are missing some information - i dont know what it is. I know its stupid thing to suggest but there no is big deal in trying it. I assume its not production environment and you are just trying out things. Can you just do following steps:

1. Stop you origin and edge server.

2. Uninstall FMS at both origin and edge.

3. Restart your both machines.

4. make sure no firewalls are up after restart.

5. Install FMS fresh on both origin and edge.

6. No setting needs to be done at origin

7. Configure your edge server like you have done before , but i would suggest try below settings first

<VirtualHost> 
    <Proxy>
        <Mode>remote</Mode>
        <Anonymous>true</Anonymous>
        <CacheDir enabled="true" useAppName="true"></CacheDir>
        <LocalAddress>10.11.100.100</LocalAddress>
        <RouteTable protocol="">
            <RouteEntry>*:1935*;10.11.191.19:1935</RouteEntry>
            <RouteEntry>*:80;10.11.191.19:80</RouteEntry>
        </RouteTable>
        <EdgeAutoDiscovery>
            <Enabled>false</Enabled>
            <AllowOverride>true</AllowOverride>
            <WaitTime>1000</WaitTime>
        </EdgeAutoDiscovery>        
    </Proxy>
</VirtualHost>

(Note : before you make above changes, try making connect to Edge server machine (at its default origin setting to make sure there are no issues with connecting to this machine)

8. Start your both servers.

9. Connect to Origin directly - to make sure it works properly.

10. Now try connecting from client and try with "rtmp" first.

Let me know if still there is issue. Really sorry for suggesting such stupid steps but its worth trying something stupid then just waiting.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Apr 13, 2010 Apr 13, 2010

Copy link to clipboard

Copied

Hey,

         I had just curious question. I wanted to connect 100 client on my site with adobe edge and origin server. I am just curious how big edge and origin  do I need to connect for 100 client?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Nov 12, 2009 Nov 12, 2009

Copy link to clipboard

Copied

Hi rush,

Auto-discovery does not mean that. Auto-discovery is when edge detects nearest origin server automatically and serves from that Origin. This is what is disabled according to Asa.Am i correct Asa? If not please correct me.

To second point you are asking about, auto-discovery is nothing to with serving from edge , current set-up will do that. If data is cached at edge , no request would be send to Origin , it will serve it locally.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Apr 13, 2010 Apr 13, 2010

Copy link to clipboard

Copied

I wanted to connect setting up 100 stream splits, please let me know as fast as possible.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines