Flex :: HTTPService.disconnect() - No Tcp Connection Drops And Script Keeps On Running On Server Side

Mar 20, 2012

I got a mxml file that launch a script on my http server through a HTTPService.send() call. Since the script on the server side takes a LOOOONG time (it could take even more than a hour) i would like to drop the connection between my air application and server when a button is clicked. Don't know why but calling HTTPService.disconnect() is totally useless... No tcp connection drops and script keeps on running on server side. No HTTPService.cancel() nor set HTTPService var to null worked.

View 1 Replies


Similar Posts:


Media Server :: FMLE Disconnect From FMS + Users Disconnect On Console?

Mar 30, 2011

when I'm streaming in live :a. FMLE is disconnect for couple seconds (10 -30), stop encoding and then renew the connection and the encodingb. In the same time, I can see users (streams) are disconnecting/ disappear from the console.As said it can happen once in a session, but this disconnect most of the users and they have to refresh their browserto get the live session again.Currently I'm using FMSS 3.5.4 r210, Linux redhat 5.2,6 Intel(R) Xeon(R) CPU 16GB.I found a post named "FMS disconnect from FME" (Jun 7, 2010 3:36 PM by BJWP Ltd)

View 2 Replies

Flex :: Download Files From The Server Side To Client Side Without Prompting A Window To The User To Download When Any Updates Happen At Server Side?

Dec 17, 2009

I want to download files from the server side to client side without prompting a window to the user to download when any updates happen at server side.Right now I am using urlstream class but first file is downloading completely rest of the files contents downloading partially.

editCode sample taken from other post. Warning: it's a huuuge chunk o'code.

<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:MyComp="client.components.*" layout="absolute" height="554" width="817"

[code]....

View 2 Replies

Flash :: Flex - AIR HTTPService - No Internet Connection

Jun 8, 2011

I am creating an air app that uses HTTPService to connect to a .net api and get a user for example. It works great when I publish the move for "Flash Player 10" as a .swf, however, when I publish it as .air it seems like there is no internet connection at all. I am assuming it's internet securities (maybe firewall). I turned off my firewall and everything that might be blocking the internet access, but nothing seems to work.

View 1 Replies

Flex :: Blazeds - Disconnect Client From Server?

Jun 15, 2010

I am using BlazeDS. Does anybody know how to disconnect client from server? Client must be informed about this event.

View 1 Replies

ActionScript 3.0 :: Reconnect To Socket After Connection Drops?

Dec 22, 2011

I would like Flash to reconnect to a socket if its connection is dropped. I am using the Socket class to establish a connection and then adding an Event.CLOSE listener to the socket. What is a good strategy to reconnect back to the socket if the connection has suddenly closed? Here is a the method I am calling inside the close handler. The connect() method establishes a new socket connection

HTML Code:
private function handleOutage():void
{
// if socket is not connected

[code]...

However, I keep getting the following error:

HTML Code: Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation

View 1 Replies

Actionscript 3.0 :: Handling User Connection Disconnect & Reconnect In Stream?

Sep 9, 2009

I have a problem where I'm streaming a video via RMTP from akamai for a video serving site and an issue has come up during QA where a user starts a video stream and then disconnects their internet connection, which causes the video player to go into the buffer state. The problem occurs when they reconnect their internet connection and we'd like to pick up the stream again.

View 1 Replies

Flash :: Flex Building An Application With Client Side And Server Side

Sep 3, 2011

I want to create an application that has these features

- At client side: Display a list of images, when user click on one image, data will be stored in MySQL database.

- At server side: Manage images used in client side, I can delete, add new images.

Is this possible for me to achieve this using Flex? And if it is able, will my output be 2 separate SWF files? And where can I find the materials to read on writing such applications?

View 1 Replies

Flex :: Server Side Alerts For Client Side App

Aug 28, 2009

User interacts with Adobe flex webpage to configure reports based on some data stored server side. They configure their view and have THAT view emailed to them daily. I've got the report builder, the part I'm trying to figure out is how to render the report server side and send it out as email (native flex functionality? convert to html? take screenshot? assume something is running client side?...)

View 2 Replies

Flex :: Adobe Client-side Or Server-side?

May 17, 2011

I am writing a thesis and have been able to place all my frameworks under two categories (client-side frameworks and server-side frameworks), but I can't seem to finf where to place Adobe Flex...In which category should I place this or should I place it in some separate catgeory?

View 3 Replies

Media Server :: Latency Coming On One Side In Peer To Peer Connection?

Dec 22, 2010

We developed one video chat application in which one user can chat communicate with anohter user. Latency is coming on one side in peer to peer connection.

View 2 Replies

ActionScript 3.0 :: AIR HTTPService Internet Connection?

Jun 8, 2011

This might seem like a simple question, but I searched the internet to no avail.I am creating an air app that uses HTTPService to connect to a .net api and get a user for example. It works great when I publish the move for "Flash Player 10" as a .swf, however, when I publish it as .air it seems like there is no internet connection at all. I am assuming it's internet securities (maybe firewall). I turned off my firewall and everything that might be blocking the internet access, but nothing seems to work.

View 1 Replies

Media Server :: When Call A Client Side Mothed From Server Side?

Nov 10, 2010

Below is the code. When the swf is connected to FMS(the connection is successful) I use this application.user_so.send("enterContestGroup"); to call the client side mothed. You can see that in the client side I have defined the "enterContestGroup" mothed. However the fact is it doesn't call that mothed. Can anybody tell me what the error is
 
application.onAppStart = function(){  application.user_so = SharedObject.get("user_so", false);  application.nextId = 0;}application.onConnect = function(newClient)  application.acceptConnection(newClient); 

[code]....

View 8 Replies

Flex :: HTTPService Is Very Slow By Sending 10'000 Lines Of XML To The Server

Apr 6, 2010

I have a flex app which allows user to create some content. this content will then be sent via xml back to the server:

private function saveBackXMLToServer():void {
var params:Object = {};
params["xml_file"] = XML_content();
http_Service.send(params);
}

My problem is, that the transport of the data this way is very slow... It takes about 20 sec for 10'000 lines of XML... How can this be done better?

I'm trying to follow all of your hints, but they don't seem to be simple to change. My code is done in a way that I can't get access to every Object, and save it. So what I do is to load the swf file with one xml, and return the whole xml after I run it. My guess is, that the time isn't spent on transporting those lines to the web server (this task gets done quickly normally), I thing that there happens something on the send function of the HTTPService that every object must get changed, before sending...

UPDATE2: I just realized that it is not a matter of the flex app it is a matter of the rails app. It receives a 700 KB String. I guess it is not done for handling such a object. How to transport it then? I tryed to work with the file upload but couldn't get it done... Error 2037 was occuring! I'll go on trying.

View 5 Replies

Media Server :: FMS Disconnect From FME?

Jun 7, 2010

We are new to FMS and have just deployed a FMS 3.5 for a live streaming project.but I seem to be getting a bit of an issue where the FMLE seems to disconnect and reconect to the FMS several times.but some times the FMLE seems not to be able to reconect back to the FMS.  I read somewhere that this bug have been fixed with the FMS version 3.5.3 updater.also I can see the client still connected afoter they drop connection on the admin console.I dont mind setting up the updater but just want to be sure this would fix the problem as I have live web TV on the FMS.Also is there a way to update without loosing all the config? FMS running on Windows 2008 server R2,4mbDual Zeon CPU

View 5 Replies

Send Xml Data To The Server Using HttpService Request Thr POST In Flex?

Dec 12, 2009

send xml data to the server using HttpService request thr POST in Flex?

View 1 Replies

Media Server :: Disconnect After 5-10 Minutes?

Jul 26, 2009

After 5-10 minutes of use my application disconnnects  all users....does anybody know some general causes of this or how do i fix it...........in the server logs i get code 600 normal disconnect.

View 1 Replies

Media Server :: Fms App Which Won't Disconnect People In IE

Mar 26, 2010

I have an fms app which won't disconnect people in IE unless they close the browser completely. Simply going to another url in the browser leaves their name in the peoplelist. I've tried everything here without success. Even IE 8 shows same problem on Vista. IE on XP works fine as well as some versions of IE on Vista.Firefox, opera, chrome all work fine everytime.The problem, it seems, is IE won't "leave" pages until it's closed no matter what.

View 3 Replies

Media Server :: No Disconnect On Refresh (IE9)?

Apr 19, 2011

When a user refreshes the page in IE9, the disconnect handler isn't called. So in an application like a fms lobby, a user seems to stay in the list when he actually isn't there anymore.

View 2 Replies

Flex :: Instrument To Report Errors Generated By The App To A Server Via HTTPService Call

Jul 18, 2009

I have a Flex 3 app which I want to instrument to report errors generated by the app to a server via simple HTTPService call. My idea is to wrap all the methods in try. catch blocks which then pass the Error object to the reportError() function (which then fires off the HTTP request and pops up a dialog) but is there a better way?

View 3 Replies

Properties :: Flash HTTPService : Reading The Connection Data From Property File?

Dec 19, 2011

i have my HTTPService, it looks like this :

<s:HTTPService
id="setCustomerInstalledPackageService"
url="http://localhost:8090/myapp/servletName"

[code]......

View 1 Replies

Retrieve Data Sent By Flash 4 HttpService, In The Servlet Side?

Nov 28, 2011

I'm using Flash 4.0 as UI tier, and I'm trying to send data to the server side, which runs on Tomcat. I wrote a servlet that the calls are directed to it. But I do not understand how can I see the data that was sent from the flash tier. to clarify, hereby example:

Flash tier:

<fx:Declarations>
<s:HTTPService
id="setCustomerDataService"

[Code]....

how can I retrieve "data" from Flash, in my Servlet?

View 1 Replies

Media Server :: TIME_WAIT Then Disconnect When Republishing?

Jun 1, 2010

I am using FMIS 3.5.3 (Linux)  to fork an RTMP stream from FMS to two different CDNs.  My FMS  application does roughly the following:1) Client.prototype.FCPublish()  creates two NetConnections, one for each CDN2) Each  NetConnection's onStatus() creates a new NetStream object if info.code  == 'NetConnection.Connection.Success'3) The stream that's  supplied to FCPublish() is attached to each NetStream4)  .publish(stream.name, "live") is run on eac

View 5 Replies

Media Server :: FMS Connections Doesnt Disconnect

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

Java :: Flex Client Side And Java As Server Side?

Aug 7, 2011

Since I'm developing a multiplayer card game for Facebook using Flex as client side and Java SE as server side, I wanted to know how do I actually make the connection between Flex and Java? the server and client should be able to send each other data(cards,movement,room information etc...) across and I wonder what's the easiest way to do it without complicating it. where to read about it ? I know JAVA but I find JavaEE hard to understand.

View 2 Replies

Media Server :: End A Connection - Use To Add A Function That Kills The Connection?

Mar 16, 2010

we have a two way webcam + mic connection set up using FMIS. we use to add a function that kills the connection?

View 2 Replies

Media Server :: Live Stream Reconnect / Disconnect Best Practice

Apr 19, 2010

When streaming a live event through FMS 3.5, is there a list of guidelines or best practices to handle the situation when the stream disconnects and should reconnect.Basically, what I do now is wait 20 seconds after the initial disconnect, then close the stream and ask the user to ty to reconnect to the stream again.

View 3 Replies

Media Server :: RTMFP Drops A Lot Of Packets?

Jun 3, 2011

a client publishes a simple webcam and microphone. I noticed that if I use rtmfp the admin console shows between 30 to 200 messages dropped for a simnple webcam at 320x240 10fps quality 69 and audio speex at quality 6. sor after some minutes the video is unsynchronized with the audio. I turned off aggregateMsg and queue. if I use RTMP there is 0 dropped packets.
 
Is anyone can explain why FMS 4.0..1-r2009 on linux 64bits High Internet speed line on client side without any bandwidth problem last flash player

View 1 Replies

Java :: Connection Between Flex And Failing On Server

May 5, 2011

I am working on a project using flex/java/blazeds. This worked fine on local host however now that i have uploaded to a tomcat server(online), after having an error with the service uri, this error has now seemingly been solved, yet I am receiving another error which is as follows:

[Code]...

View 1 Replies

Media Server :: Fire Ondisconnect Event When Network Disconnect Suddenly?

Aug 25, 2010

how to clear the client entry from Adobe flash Media server 3.5. when net disconnect.i was expecting that on netdisconnect from the client side end(which is connected to FMS) its onDisconnect event fire similarly as it fire for browser close.But when internetdisconnect  ondisconnect event not fires at FMS side is there any way to overcome this or any other event  fire at that stage?

View 6 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved