Getting NetConnection.Connect.Rejected

I signed up with a FMS hosting service. They have a nice
interface where I was able to install an application. I called it
"simple", cause its bare bones simple. After installing, it gives
me the rtmp connection string. Problem is - I get
NetConnection.Connect.Rejected every time. I tried removing it, and
installing again. But same thing.
This is in frame 1. Is there something wrong with this?
my_nc = new NetConnection();
my_nc.onStatus = function (info) {
switch(info.code)
case "NetConnection.Connect.Success":
textbox.text = "success" + "\n";
break;
case "NetConnection.Connect.Rejected":
textbox.text = "rejected" + "\n";
textbox.text += info.application.msg + "\n";
textbox.text += "Event: " + info.code + "\n";
textbox.text += "Type: " + info.level + "\n";
textbox.text += "Message:" + info.description + "\n";
break;
case "NetConnection.Connect.Failed":
textbox.text = "failed";
break;
case "NetConnection.Connect.Closed":
textbox.text += "Connection closed.";
break;
my_nc.connect("rtmp://exx3333.rtmphost.com/simple");
(I didn't put in the exact rtmp string in there, since this
is a public forum)
The result I get printed out in the text box is:
rejected
undefined
Event: NetConnection.Connect.Rejected
Type: error
Message:[ Server.Reject ] : (_defaultRoot_, _defaultVHost_) :
Application (simple) is not defined.
But - the hosting service's interface panel shows that
application "simple" is there. I sent the hosting service a support
request, but I probably won't hear back from them until
Monday.

Hi Cisco_s,
Your code looks good - I think there's nothing you can do
other than wait. Apparently there's something wrong with the VHOST
configuration on their side.

Similar Messages

  • Upgrade FMS2 - Streaming Server 3.5 - Video not streaming - NetConnection.Connect.Rejected

    I have Flash Media Server 2 set up with a simple bandwidth detection application (with serverside code), and a videoplayer application (no serverside code).    I have upgraded to Flash Media Streaming Server 3.5 and have managed to successfully get video to stream using the basic examples on the startup screen both locally and from another machine.  However, when I try and connect to either the bandwidth detection application, or the videoplayer I get the error message:
    NetConnection.Connect.Rejected
    [ Server.Reject ] : (_defaultRoot_, _defaultVHost_) : Application (**my appname**/) is not a valid signed application; loading access denied.
    I saw another post in this forum saying that for custom applications you need Flash Media Interactive Server instead of Streaming Server.  This worries me as I'm quite far down this route now and don't want to tell my boss that actually we need to find another £2k to make this a viable solution!  But looking at the credentials of Flash Media Streaming server (http://www.adobe.com/products/flashmediaserver/compare/), it seems to be that what I want to do is viable.  At worst I would have thought that only the bandwidth application would be a problem as it has serverside code.  But even so, the Streaming Server apparently does have bandwidth detection.  How does this work then?
    By having the Steaming Server am I somehow tied into Adobe video players if I want to use the streaming capabliities?  Am I not able to have my own named application?    Or is it simply likely that there is some setting somewhere I have missed which is causing the error.
    Any advice would be much appreciated as I'm struggling to get to the root of these answers on my own.

    You just need to define handlers specially onBWDone on client side to do Bandwidth detection. Just check example "Bandwidth" in documentation/samples/Bandwidth/Bandwidth.as.
    Since you are using VOD, i think you can just pass "true" as second parameter when you make nc.connect call in you client side and VOD application would make call to checkBandwidth and would call onBWDone when it finishes bandwidth detection. Read more about this in Client API documentation in SSLR.pdf and Dev_Guide.pdf.
    Also Adobe has come with advanced Bandwidth detection which you can do using client-side Flash Player API's - Please check this link for more info:http://www.adobe.com/devnet/flashmediaserver/articles/dynstream_on_demand.html
    Also you can NetStreamInfo documentation which should be present in AS3LR (check documentation folder of FMS)

  • NetConnection.Connect.Rejected in FMS 2

    I want to create Audio/video chat application.
    I have FMS 2.0.4 and XAMMP 1.6 installed on my computer
    locally.
    i use the following code to test a connection to the FMS:
    conn = new NetConnection();
    conn.connect("rtmp:/localhost/my_app");
    conn.onStatus = function(info) {
    trace ("Level: "+info.level+" Code: "+info.code);
    but it seems it cannot establish a connection to the FMS
    server and
    returned the following errors:
    Level: error Code: NetConnection.Connect.Rejected
    Level: status Code: NetConnection.Connect.Closed
    tried these other codes too on the connect function:
    conn.connect("rtmp://localhost/my_app");
    conn.connect("rtmp://127.0.0.1/my_app");
    conn.connect("rtmp:/127.0.0.1/my_app");
    conn.connect("rtmp:/my_app");
    but still no luck.
    What seems to be the problem in my configuration?
    By the way, I tried to disable the XAMMP but stll it cannot
    establish a connection?
    Tried to run it in macromedia flash 8 using alt+enter and
    through the
    webserver using the publish html and swf files but still the
    same.
    Ive been working on this for days.
    Im desperate,i need to start working on the application
    already.
    Somebody please help..
    tnx..

    also be sure to check your log files (or you can go in
    through the admin console and view the server log).
    with this particular error, i personally had:
    "Asynchronous I/O operation failed (Failed to attach to
    completion port: The parameter is incorrect."
    if you do a search on this error you will find not so much
    information. i was able to get my application working using the
    rtmpt protocol, but now, after coming back to work and booting my
    machine, it's not working again and i have the same error.
    things i've tried:
    1) i shut down all anti-virus and firewall applications and
    services
    2) run netstat -a to see what is running and what ports are
    being used
    3) try specifying a different port for FMS to run on (default
    = 1935). this can be changed via $InstallDirectory$\conf\fms.ini
    (in windows). Inside the file search for ADAPTOR.HOSTPORT and
    change the value to whatever port you want to try.
    4) try variations of the url e.g. rtmp:/ rtmpt:/
    rtmpt://localhost rtmpt://localhost:1935 etc.
    5) make sure you don't have programs like netlimiter
    installed as this is a known app that can cause problems w/ FMS by
    intercepting system calls on the machine.
    If you do find something that works, please contribute to
    this thread as it could become valuable for others having these
    issues.

  • Fms3.5 NetConnection.Connect.Rejected

    hi all,
    today I  install fms3.5 on my pc.
    1)I can use rtmp://localhost/vod/mp4:sample2_1000kbps.f4v , it works ok.
    But when I use rtmp://192.168.8.3/vod/mp4:sample2_1000kbps.f4v, I got Netconnect.connection.rejected. 192.168.8.3 is my fms server IP.
    I was first use fms, who can help me?
    2)When I set fms use port 1935 and 80, rtmp://192.168.8.3/vod/mp4:sample2_1000kbps.f4v works ok on other pc. But  using  wireshark(Wireshark is a network protocol analyzer for Unix and Windows.) I found , the flash player connect 1935 port at first, it send "connect",the server replay "connection.rejected" and "no scope "vod" on this server". Than it connect to 80 port, so I see the video is not send throw 1935 port with rtmp, but throw 80 port with rtmpt. Why? How can I see video throw rtmp?

    hi,the following is my edge.00.log
    #Version: 1.0
    #Start-Date: 2010-06-09 13:30:26
    #Software: Adobe Flash Media Server 3.5.2 r654
    #Date: 2010-06-09
    #Fields: date    time    x-pid    x-status    x-ctx    x-comment
    2010-06-09    13:30:21    4580    (i)2581173    Host: softwaretest-pc IPv4: 192.168.8.3    -
    2010-06-09    13:30:21    4580    (i)2631174    Listener started ( _defaultRoot__edge1 ) : localhost:19350/v4    -
    2010-06-09    13:30:22    4580    (i)2581252    Registering core (4600).    -
    2010-06-09    13:30:23    4580    (i)2631174    Listener started ( _defaultRoot__edge1 ) : 80/v4    -
    2010-06-09    13:30:23    4580    (i)2631174    Listener started ( _defaultRoot__edge1 ) : 1935/v4    -
    2010-06-09    13:30:23    4580    (i)2581252    Registering core (3252).    -
    2010-06-09    13:30:46    4580    (i)2581252    Registering core (5916).    -
    2010-06-09    14:00:53    4580    (i)2581250    Edge disconnected from core (5916).    -
    2010-06-09    14:16:29    4580    (i)2581250    Edge disconnected from core (3252).    -
    2010-06-09    14:16:30    4580    (i)2581250    Edge disconnected from core (4600).    -
    #Date: 2010-06-09
    #Fields: date    time    x-pid    x-status    x-ctx    x-comment
    2010-06-09    14:17:05    3388    (i)2581173    Host: softwaretest-pc IPv4: 192.168.8.3    -
    2010-06-09    14:17:06    3388    (i)2631174    Listener started ( _defaultRoot__edge1 ) : localhost:19350/v4    -
    2010-06-09    14:17:06    3388    (i)2581252    Registering core (3328).    -
    2010-06-09    14:17:07    3388    (i)2631174    Listener started ( _defaultRoot__edge1 ) : 192.168.8.3:1935/v4    -
    2010-06-09    14:17:07    3388    (i)2631174    Listener started ( _defaultRoot__edge1 ) : 1935/v4    -
    2010-06-09    16:19:50    3388    (w)2581171    System memory load (92) is high.    -
    2010-06-09    16:20:02    3388    (i)2581172    System memory load (87) is now below the maximum threshold.    -
    It display the fms is listene 1935 port. And I can get description: "no scope 'vod' on this server"
    , while I receive "NetConnection.connect.rejected" from fms.

  • Get More Info for NetConnection.Connect.Failed Error?

    I have a single server that runs IIS and FMS, both on port 80.  The server has two internal IPs assigned to it, one for IIS and the other for FMS.  I also have two static public IPs.  My router maps one public IP to IIS' internal IP and likewise for FMS.
    IIS works fine.  Using an online port scanner, I was able to determine that port 80 is responsive for both public IPs.  Before I had configured my Adapter.xml and fms.ini, only IIS' public IP was responsive.  This seems to indicate that FMS is fine.
    However, when my ActionScript creates a NetConnection and calls connect(), my netStatus callback takes about half a minute to be invoked, and I get "NetConnection.Connect.Failed".  Which is not very informative.  Is there a way to get more info about the cause of the error?  Also does anyone have suggestions for how to debug this issue?

    Hi,
    Thanks for trying out FMS..
    I can guide you with few checkpoints to first see where the problem might be.
    1. Go to the FMS installation directory and check for the logs folder. See all the logs (according to date) and find if the port bindings are all successful. This might tell us whether FMS actually has started or not.
    2. FMS works on port 1935 for RTMP streaming. It also gets bundled with apache (listening on 8134) but one of the fms processes also takes hold of 80 for its tunneling streaming as well as redirecting to apache. So either you remove this entry from fms.ini or change it to reflect to some other port. ADAPTER.HOSTPORT is the variable to look for.
    3. How are you making sure that FMS is working/not working ?
    4. Please turn off your firewall or other secutiry for testing purposes to see if you are able to hit the FMS .
    Let us know if any of the above are helpful in getting some more information.
    Thank you !

  • Rtmp flv stream problems (connection rejected for certain resource addresses)

    Hi all,
    I have a problem loading rtmp flv and mp4 files. Here are some example addresses I am trying to load:
    rtmp://s14swvywt7xype.cloudfront.net/cfx/st/leadersinfootball/Brett_Yormark_Powershift_Sta ndard_16_9.flv
    rtmp://s14swvywt7xype.cloudfront.net/cfx/st/leadersinfootball/Peter_Moore_Powershift_Stand ard_16_9.flv
    rtmp://s14swvywt7xype.cloudfront.net/cfx/st/leadersinfootball/Danny_Jordaan_Powershift_Sta ndard_16_9.flv
    rtmp://s14swvywt7xype.cloudfront.net/cfx/st/leadersinfootball/Lord_Mawhinney_Powershift_St andard_16_9.flv
    rtmp://s14swvywt7xype.cloudfront.net/cfx/st/mp4:114/114_640x368.mp4
    rtmp://s14swvywt7xype.cloudfront.net/cfx/st/mp4:boats-show-cannes-24-09-2010_1.mp4
    None of these appear to work, however they do work with the original streaming player I created. I'm using an adaptation of the Strobe Player and an unmodified version of the OSMF framework.
    I'm using a slightly modified version of the StreamingURLResource class when loading which adds some functionality overriding the mediaType getter, but I dont think that this is the cause because it simply returns the super.mediaType property unless the URL is a YouTube URL.
    When I break into the class responsible for creating the NetConnection I notice that I always get a net connection rejected status.
    Any help would be appreciated. You should find that this problem is reproducable with any of the example code on the OSMF website.
    Cheers,
    Mat

    Hi Mat,
    I didn't manage to get your assets load either. Are they still up?
    Ty the following assets with your modified Strobe Media Playback:
    http://osmf.org/dev/1.5.rc1/debug.html?src=rtmp://sz612asgrc6v4.cloudfront.net/cfx/st/andr ian_adina_1&urlIncludesFMSApplicationInstance=true
    http://osmf.org/dev/1.5.rc1/debug.html?src=rtmp://sz612asgrc6v4.cloudfront.net/cfx/st/mp4: Beowulf_1080p.mov&urlIncludesFMSApplicationInstance=true
    (mind urlIncludesFMSApplicationInstance setting, which you need for accessing cloudfront assets).
    Looking forward to your reply,
    Andrian

  • WEBLOGIC 5.1SP9 : ListenThread Connection rejected: 'Login timed out after 5000 msec.

    I'm running WL Express 5.1SP9 on a NT 4 server, Oracle 8.1.7 and an j2EE
    application from an editor.
    With the previous version of the application i wasn't having any problem,
    since I installed the new version in the same environnement, I'm getting the
    message when running the application :
    "<E> <ServletContext-General> Warning: One of the getParameter family of
    methods called after reading from the ServletInputStream(), can't mix these
    two! "
    "<W> <ListenThread> Connection rejected: 'Login timed out after 5000 msec.
    The socket came from [host=10.56.13.202,port=1539,localport=80] See property
    weblogic.login.readTimeoutMillis to increase of decrease timeout. See
    property weblogic.login.logReadTimeoutsProp to turn off these log
    messages.'"
    The editor says it comes from WL configuration
    Please Help !
    Christophe

    hi.
    I'm not clear on this - what do you mean you are running a J2EE application from
    an editor?
    Also the error is coming from a servlet. Is one of your servlets calling a
    getParameter() method after reading from the ServletInputStream()? If it is it
    should be corrected.
    Regards,
    Michael
    Christophe Chastang wrote:
    I'm running WL Express 5.1SP9 on a NT 4 server, Oracle 8.1.7 and an j2EE
    application from an editor.
    With the previous version of the application i wasn't having any problem,
    since I installed the new version in the same environnement, I'm getting the
    message when running the application :
    "<E> <ServletContext-General> Warning: One of the getParameter family of
    methods called after reading from the ServletInputStream(), can't mix these
    two! "
    "<W> <ListenThread> Connection rejected: 'Login timed out after 5000 msec.
    The socket came from [host=10.56.13.202,port=1539,localport=80] See property
    weblogic.login.readTimeoutMillis to increase of decrease timeout. See
    property weblogic.login.logReadTimeoutsProp to turn off these log
    messages.'"
    The editor says it comes from WL configuration
    Please Help !
    Christophe--
    Michael Young
    Developer Relations Engineer
    BEA Support

  • FMS 3.5 /  server/app1 - netconnect - server/app2 = NetConnect.Connect.FailedHello

    Hello all,
    I've hit a snag with my current FMS project and Im hoping someone out there might be able to help.
    I have a working FMS server with two applications:
    I'm trying to get application 2 to connect to application1.
    I can connect to app1 if i write up a quick client in as3... i CANT seem to connect from FMS server side code in app2. ( which is what I require )
    What am I doing wrong?  Is there something on the server that I need to configure to allow this?
    Do I need to specify something in one of the app's  Application.xml files?
    Thank you for taking the time to read this post,  code is below:
    other info:
         my development server url looks like this:    fms.internal.companyname.com
         my netConnection.uri is simply "rtmp://fms.internal.companyname.com/app1"
         running Flash Media Interactive Server 3.5
         server is working.  I can use live / vod / and some other custom apps that I've written so far.  Just app to app connections aren't functioning.
        I havn't done any other custom configuration to the server.  Its all stock.
    app1's code:
    application.allowDebug = true;
    application.onAppStart = function(){
         trace("[ Booting up app1 ]");
    application.onConnect = function( clientObj ){
        trace("onConnect detected: ");
         application.acceptConnection(clientObj);
    application.onStatus = function(statusObj){
         trace("onStatus detected:  "+ statusObj);
    app2's code:
    application.allowDebug = true;
    nc = new NetConnection();
    nc.onStatus = function(infoObj){
       trace(infoObj.code);
    application.onAppStart = function(){
         trace("[ Booting up app2 ]");
         nc.connect( "rtmp://server/app1");
    application.onStatus = function(statusObj){
         trace("[ onStatus: "+statusObj+" ]");
    So as you can see I'm having app2 connect up to app1 on startup.
    However, no matter what I do I can't seem to get them to connect!  Please help!
    App 2's log tells me that "NetConnection.Connect.Failed".
    When I check the over all server log I just get a "Connection failed"

    Thanks Chess,
    Ok.. sounds like I'm going about this all wrong... 
    I'm building out an Audio/Video Chat application.. ( who doesn't with FMS?    )
    My specific challenge with this project is that I need to pass the client app "secret" data that I can't allow other users to have access to.
    ( By secret I mean I need to push the username and password for another app down to the client. so I'll be using RTMPE or RTMPS by the time this goes live. )
    So how does the following sound?
    My client, ( a flex RIA )  will provide my server "myserver.com/ChatServer"  with a "token":String that can uniquely identify that user.
    So say clientA wants to connect to chat session "42"..   it connects up to "myserver.com/ChatServer/42"  and provides their token.
    1.     When ChatServer/42   onConnect Method fires it will take that token and will put the client into a pending state.
    2.     The server will then hit a webservice on another server with that user's token and the name of the instance.   ( "user_token", "42") and will get back a UserData object... or xml... or whatever FMS uses best for transmitting data i guess... ( would FMS work with ZendAMF?  I'd love to use typed objects for this!)
    3.     Once the ChatServer instance receives the UserData it will pass it back to the client via Client.Call("setClientCredentials", responder, clientData stuff);   // I need to get secret data back to the client that I don't want made available to other users.  ( their passwords etc... )
    4.     ChatServer will also accept the client connection at this point and Add this client to a Roster Shared Object along with some specifics from that ClientData... like name, avatar, etc.
    5.  Once the approved clients begin broadcasting I can then update that Roster_shared_object and use the .sync events to have all connected clients update and start sucking down those streams.
    Does this sound like a better FMS architecture?
    I appreciate everyone's input,
    Thank you for taking the time to read up to this point. 

  • ListenThread Connection rejected:

    I get the following message a lot in my log.
              Tue Jan 08 14:13:18 EST 2002:<W> <ListenThread> Connection rejected: 'Login timed out after: '5000' ms on socket: 'Socket[addr=HAMPTONS2/159.234.28.15,port=3731,localport=7001]
              Why does this occur? I see that it is occuring for all of my remote users.
              I see the property weblogic.login.readTimeoutMillis if I increase it to 20 or 30 seconds would that be a problem? What does this property really control.
              thanks
              gdh
              

    This is read login timeout, the default is 5000 (5 seconds). If you need
              longer time for your application, tune up this property in your
              weblogic.properties:
              weblogic.login.readTimeoutMillis
              Cheers - Wei
              Michael Hansen <[email protected]> wrote in message
              news:[email protected]..
              > I'm getting the following error on weblogic, when connecting from an
              applet
              > to a servlet:
              > on aug 02 16:29:52 GMT+02:00 2000:<W> <ListenThread> Connection rejected:
              > 'Login timed out after: '5000' ms on socket: '
              > Socket[addr=localhost/127.0.0.1,port=1775,localport=7001]''
              >
              > Does anyone know why it appears, and how to avoid it?
              > I'm running Weblogic 5.1 servicepack 5 and JDK 1.2.2
              >
              > MH
              >
              >
              

  • Flash Player 10 with FMS 2 results in connect reject

    I have an application that works fine in FP 9 with FMS
    1.5/2/3 through IE and Firefox, but when I upgraded to FP10, my
    connection is getting rejected. When I run the application locally
    (no browser), it works fine in FP10, so there must be a new
    security restriction. I cannot get the connection locally (through
    a browser) or when I test it on the web (I have the SWF's on one
    domain and I have the application on Influxis).
    I'd greatly appreciate any help on this!
    -jonathan

    Through reinstalling FP10, I got it to work on the web, but
    it does not work via localhost. It sounds like a policy file issue,
    though I don't believe my host changed any policy files in the
    brief time I reported it.
    Does anyone know why there would be a problem via localhost?
    Thanks!
    -jonathan

  • Connection rejected by server. Reason; Warning

    Hello,
    When I connect from FMLE to FMSS server I see warning in /var/log/messages.
    Oct 23 18:44:56 post Javascript[1951]: Connection rejected by server. Reason : [ AccessManager.Reject ] : [ code=403 need auth; authmod=adobe ] :
    Oct 23 18:44:56 post Javascript[1951]: Connection rejected by server. Reason : [ AccessManager.Reject ] : [ authmod=adobe ] : ?reason=needauth&user=administrator&salt=WT9Vaw==&challenge=6JSMIg==&opaque=6JSMIg==
    Everything works fine. Should I be concerned about this message?
    FMLE is win XP SP3 versin 3.2
    FMSS is Linux RH6 version 4.0

    Darius, I think you'll get a better answer in the Flash Media Live Encoder forum:
    http://forums.adobe.com/community/flash/flash_media_live_encoder?view=discussions

  • Connection rejected by server

    Hi Everyone,
    i have installed FSM2 and IISwin2003 and Flash8 on the same
    server,
    my rtmp is : rtmp://127.0.0.1/myapp2/myapp2.flv
    it works fine on local, but when a clinet tries to browse it
    over same LAN , the client gets the error below :
    Connection rejected by server. Reason : [ Server.Reject ] :
    (_defaultRoot_, _defaultVHost_) :
    Application (myapp2) is not defined.
    what im doing wrong ? pls help..

    It because you're using the localhost IP, where you should be
    using your LAN IP.

  • Javascript[9970]: Connection rejected by server.

    Dec  7 07:20:38 networkvision Javascript[9970]: Connection rejected by server. Reason : [ Server.Reject ] : Virtual host my domain is not available.
    i cant logint to the admin console, 
    centos 6.4
    32 gb ram
    zpanel

    Darius, I think you'll get a better answer in the Flash Media Live Encoder forum:
    http://forums.adobe.com/community/flash/flash_media_live_encoder?view=discussions

  • Cannot get maile connection to server failed

    followed the instructions for icloud set up in apple support for ipad and iphone even deleted the account and then set the account up with the correct ID and password.  I do use a different ID  than my apple ID for my icloud account.  I use my me.com email address.  I can get into the cloud on my pc and I can send and recieve email when I log into my icloud account but this fails to work on my ipad and iphone.  Attempts to seen or get email on these devices when on a wifi network end up with the message "cannot get mail connection to server failed"
    lee

    Hi HLSdoc,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at this article:
    iCloud: Troubleshooting iCloud Mail
    http://support.apple.com/kb/ts4002
    Issues sending or receiving mail on iPhone, iPad, or iPod touch
    Best of luck,
    Mario

  • I cannot send email from my ipad. Getting address is rejected from server message.

    I cannot send email from my ipad. Getting address is rejected from server message.

    Check the outgoing mail server setting. Make sure that your username and password are in there.
    Settings>Mail, Contacts, Calendars>Your email account>Account>Outgoing mail server - tap the server name next to SMTP and check in the primary server and make sure your username and password are entered and correct - even if it says that the password is optional.

Maybe you are looking for