Flex :: Flash - Randomly Dropping Connections To Server?
Nov 26, 2009
We have a flex application communicating with our server. The flex app makes many HTTP requests (posts and gets) to the server, in many cases in parallel. We have been noticing that we get many dropped connections, experienced from the flex app. The server does not see any failed requests at all and is not under load. I am also suspecting that flex may be on-connection-drop, automatically retrying the POST or GET request, resulting in our server receiving the request twice.
View 2 Replies
Similar Posts:
Feb 23, 2012
I have been running FMIS 3.5 for about 18 months, and recently it started acting up even though I have not made any changes. After a while (sometimes days, sometimes hours), it starts rejecting new connections, but it allows existing connections to keep working. If I refresh my app, then I can't reconnect. The license I have is unlimited. Can anyone shed some light into why this is doing this and what I can do to fix it? Sometimes it happens when only a couple dozen people are online, and today it did it about 4 times with over 1500 people online.
View 1 Replies
Jan 9, 2011
I'm trying to find out how I can tell how many users are connected to the same FMS application in a flex application:
public function totalConnectedUsers():void{
lblText1.text = "There are a total of " + bindableUserVariable + " Users Connected to the Stream Now";
}
View 6 Replies
Jul 8, 2011
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:
[Code]...
View 2 Replies
Mar 1, 2010
I am involved in project managment for a large video conferncing project involving over 100k simultanous connection and most likely to be increased 4 times by next six months.While figuring out the scalability area ,it was concluded that smart selection of hardware and origin-edge clustering will be suited most. Well while studying this documentation says it supports thousands of calls but unfortunately I could not determine the actual numbers. Can you tell me how many edge server will be needed for 100k simultanous calls/number of sessions per edge server and will we need license (4500$) for each edge server?
View 2 Replies
Feb 7, 2011
How do I set the flash crossdomain.xml file to only allow https ssl secured connections? I have this but I think this will allow non secure connections too.
< cross-domain-policy >
< allow-access-from domain="*" secure="false" / >
< /cross-domain-policy >
View 1 Replies
Jul 29, 2010
We just bought two Decklink Studio cards to use with our live streaming servers.First, everything works fine. We have high quality flash live streaming, using SDI input with embedded audio.But after approximately 10 hours of streaming,the quality comes down, and the frame rate too, looks like the encoder start are dropping frames.Then if we just try to stop the live encoder, they freeze.The only way to close the program is forcing with CRTL+ ALT+ DEL.At this time, if we restart the FMLE, all works fine again, for more or less 10 hours.
View 1 Replies
Mar 7, 2010
How to play mp3's from socket connections in Flash AS3?
I have some simple programm which is listening to some port (TCP).
I connect to it using as3 sockets and it starts sending me mp3 data
How to play that data?
View 1 Replies
Sep 26, 2011
I'm trying to include a database un flex4 (flashbuilder) project, I don't see data and SQL packages in the import? What might be the reason? Should I add external library?
import flash.data.SQLConnection;
import flash.data.SQLStatement;
import flash.events.SQLErrorEvent;
import flash.events.SQLEvent;
Description Resource Path Location Type
1172: Definition flash.data:SQLConnection could not be found.
EyeVision1.mxml /EyeVision1/src line 28 Flex Problem
View 2 Replies
Apr 23, 2011
I have made a socket server in C# for a flash game that I am developing, I got the code from somewhere and I am a beginner in c# and .net development . It works fine in practice when connections are made and the server functions correctly. Get 2 concurrent connections at the same time and we have a problem. here is the basic aspects of the socket server below: (alot taken out for obvious reasons) how can I alter this so that it can handle concurrent connections? Should I be threading each response?
[Code]...
View 4 Replies
Feb 16, 2010
How is it possible to determine in advance the max number of simultaneous connection for my FMS?
View 2 Replies
Jun 29, 2010
The attached image shows 17 client connections. Unfortunately there are not 17 clients connected to that app. In fact, I add users to a userlist shared object in application.onConnect(), and that shared object only reports 6 connections. That is the accurate number of connected users.
Why the phantom connections? Even if I unload and reload the app, the 17 client connections return.
How can my userlist shared object and the client connection number be out of sync? This situation seems to be related in some way to an FMS memory problem that is cropping up all of a sudden. When I have larger numbers of connected clients - say 300, the client connections reported in the FMS console are ten times that - like 3,000 or more. Then the application is unloaded by FMS for being a memory hog.
The app itself is simple. It just stores each user in a user array and passes chat communication to and from these users. The last time this main.asc code was changed was 2/8/2010. No problems with it in the countless times we've used it since then. Why the sudden phantom FMS connections, memory hog behavior, and constant unloading of the app?
View 2 Replies
Jun 20, 2011
I am willing to make an online game client-server. That is, many clients are connected on the same server, and thus interact. The application used by clients is a swf (done in flash) and runs in a browser. My questions are: 1 - I can create the server in AIR? If yes, which of the classes are recommended to do this efficiently? 2 - What classes are recommended for clients (swfs) to communicate with the server efficiently? 3 - The transfer of data between the client and the server can only be accomplished through the TCP protocol?
View 2 Replies
Aug 14, 2011
URL...I am running application instance that implements publisher/subscriber on video streams. Application code is very thin and can be removed completetly if required. In a specific time, randomly, disconnect messages stopped happening which causes the folowing:
1. Streaming service shows decrease of bw per second
2. Users count is increasing linearly.
3. No disconnect messages apears on access.0x.log
View 6 Replies
Sep 7, 2011
I have FMS 4 and a videochat app (one-to-one), everything runs smoothly until about 750 users (it means about 1500 connections to fms), then I get a sudden drop in users connected to 300-400, no errors in the fms log and the cpu/memory usage is at about 25% just before this. I'm running Windows 2008 R2 Web (x64) and I've red somewhere that maybe this version of windows has some connection limit that could be the cause, but I've no idea of what could be happening.
View 2 Replies
Apr 10, 2012
How to set the maximum number of connections of FMS on the same IP?
View 3 Replies
Sep 10, 2009
If I am streaming at 256kbps how many connections can I get on a 100MBit port? I confess tnat I don't know the math
View 12 Replies
Mar 17, 2011
I have a FMS server running that I am hosting some VOD content on. I am using HTTP dynamic streaming to deliver this content. Everything runs fine from a technical standpoint, but I am unable to see the connection details in the Admin Console. I have loaded vod -> defaultinst under the applications tab in the console. No connection details populate.
View 1 Replies
Jun 4, 2011
I'd like to hear some opinions about using NetGroups VS. using direct p2p connections between everybody, considering there would either be 2,3 or 4 people max in the group.
View 1 Replies
Nov 23, 2009
Does FMS 3.5.2 in development impose restrictions via the origin of connections? That is, does it only allow localhost connections via ActionScript (NetConnection) or are external connections allowed?In other words, can I have FMS in dev mode on a dedicated server and then have my client code running on a different machine that opens connections to this development server?
View 2 Replies
Apr 11, 2012
In multiple instances, limiting the maximum number of connections for the same IP?You give me the answer is to limit a single instance, whether there is a way to limit the number of users of the entire connected to the FMS?
View 5 Replies
Oct 7, 2009
We have a custom application that is running on FMS. Server is dedicated just for fms, there is only one application running on the server, with more instances, average traffic is 3-15 simultaneous users.The problem is,server suddenly stops accepting connections (after 1-3 days from restart), from this point it is impossible to connect to any instance, and fms server must be restarted.When the server crashes, the admin console can see all open instances, can close instances, can restart fms. There is nothing logged, that would explain this sudden failure.Second problem is, cores are connected and disconnected too often, causing client to reconnect (takes 2-5 seconds).
Hardware: 4 x quadcore Intel(R) Xeon(R) CPU E7440 @ 2.40GHz, 32 GB ram
OS: CentOS release 5.3 (Final), kernel: 2.6.18-128.4.1.el5
cpu and mem usage: 1-5% max[code]...........
View 1 Replies
Dec 10, 2010
Server conf:
2 x Intel(R) Xeon(R) CPU L5410 @ 2.33GHz
16Gb RAM
2 Gbit ethernet channel
OS - Linux CentOS 5.5 x86_64
FMS4 Interactive
Live stream parameters:
320Ñ…240 qua_=87 bw_=200000 kf_=5 fps_=18
So, after approximately 600 connections to one stream video becomes choppy (periodically freeze, slow motions). CPU-usage at this time is 100-120% (maximum is 800%, 100% per each core), network usage is 500 Mbit/sec.But second live stream(with few connections) at this server looks fine simultaneously with 600 connections at first stream.Experiments with recommendation in "Configuring performance features" documentation chapter(enabling/disabling aggregate messages and configure the size of stream chunks) do not help.
View 2 Replies
May 20, 2011
I've been trying to figure out FMS for about a week now. Because of company firewalls, all traffic must go through either port 80 or 443 (I configured this in FMS.ini). I also created a self-signed SSL certificate and configured the adaptor.xml file to use it. Nevertheless, here are the problems I am experiencing: For RTMPT & RTMPTE, I can't start more than 9 connections. Beforing configuring FMS to also use port 443, I could only get about 4 connections. Now I would like to say that I testing this between only two computers, the FMS server with apache web server and a client.why it will not at least start 10 connections which I know is the limit for the dev version? Also, when using RTMPS I can only start 1 connection. Why is that?
View 4 Replies
Jun 7, 2011
It stands to reason that an OS would have a memory limit for the FMS process. I have a video chat app to which I may need to connect 300,000 or more concurrent users. Has anyone done this? Would this break the bank? What's the most you've ever had connected at once?
The video portion of my app goes through a good CDN, so I don't think there's a problem there. But my chat room is all on one FMS instance. I see something in FMS docs in "configuring performance features" that warns, "Adobe recommends that you ensure that your total system memory usage does not exceed the process limit of your OS". Granted it's in the context of configuring media cache, but wouldn't the same apply to chat room size if the numbers get high enough?
View 5 Replies
Nov 10, 2009
Is there any way to get Flex Builder to connect to an existing browser session running Flash Player Debugger? I can connect to FDB like this, but with Builder I need to click Debug and rush to close the newly opened browser window before it loads the Flash file and then go back to the session I want to connect and right click it to start the debugger.
Unfortunately this is not very reliable as I can't always beat the window opening, requiring several attempts before being able to connect to the session I am interested in. If I could just tell Builder 'Start debugging' and then have it wait for the connection, I could now calmly go over to the browser, right click, hit debug, provide the IP and voila. This would allow me to inspect variables on a hard to replicate bug on a session running on a tester's computer.
View 3 Replies
Jul 20, 2011
The question says it. Does anybody know the answer to this? We're running into problems when 3rd-party cookies are disabled.
View 1 Replies
Jul 24, 2011
I have a Flex (3.5) Tree with drag & drop support, but the problem is that after I drag an item (node) and drop it, it's supposed to be the selected item in the tree, but for some reason it's not highlighted.
View 1 Replies
May 6, 2010
What is the maximum number of concurrent connections possible in BlazeDS using only remoting service
View 2 Replies
Jan 30, 2010
I have a code here that drops a first row then drops a second row down right after. First row drops right away and second row is on a timer.
// Bring in first row
var blueY:Tween = new Tween(blue, "y", Bounce.easeOut, -295, -49, 2, true);
var pinkertonY:Tween = new Tween(pinkerton, "y", Bounce.easeOut, -295, -49, 2, true);
[Code]....
How would I drop each cover individually at random between two set numbers? I assume I would have to apply a separate timer for each one then somehow make the time at which it drops random between two numbers?
View 2 Replies