Client closed connection before receiving the entire response

Hi I am using URLFilePromise to download a zip file from my server to desktop using an air app. The zip file is about 200MB, but after it reaches downloading about 7 MB , urlFilePromise is dispatching complete event. I could see the following error message in charles debugging proxy saying "Client closed connection before receiving the entire response". I have tried the same download url in the browser and it works fine. Please suggest me, What causes this issue??, how to resolve this??
I am using http protocol to download this file.

Even i tried setting URLRequestDefaults.idleTimeout property, but didn't help.

Similar Messages

  • The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required.

     try
                    MailMessage mail = new MailMessage();
                    SmtpClient SmtpServer = new SmtpClient("smtp.gmail.com");
                    mail.From = new MailAddress("[email protected]");
                    mail.To.Add("[email protected]");
                    mail.Subject = "Test Mail..!!!!";
                    mail.Body = "mail with attachment";
                    System.Net.Mail.Attachment attachment;
                    attachment = new System.Net.Mail.Attachment(@"C:\Attachment.txt");
                    mail.Attachments.Add(attachment);
                    SmtpServer.Port = 587;
                    SmtpServer.UseDefaultCredentials = true;
                    SmtpServer.Credentials = new System.Net.NetworkCredential("userid", "Password");
                    SmtpServer.EnableSsl = true;
                    SmtpServer.Send(mail);
    Catch(Exception exception)
    When i m run this part of code it throw an Ecxeption                                                          
            Given Below is the Error.. 
        The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required.
    Bikky Kumar

     try
                    MailMessage mail = new MailMessage();
                    SmtpClient SmtpServer = new SmtpClient("smtp.gmail.com");
                    mail.From = new MailAddress("[email protected]");
                    mail.To.Add("[email protected]");
                    mail.Subject = "Test Mail..!!!!";
                    mail.Body = "mail with attachment";
                    System.Net.Mail.Attachment attachment;
                    attachment = new System.Net.Mail.Attachment(@"C:\Attachment.txt");
                    mail.Attachments.Add(attachment);
                    SmtpServer.Port = 587;
    SmtpServer.UseDefaultCredentials = true;    ///Set it to false, or remove this line
                    SmtpServer.Credentials = new System.Net.NetworkCredential("userid", "Password");
                    SmtpServer.EnableSsl = true;
                    SmtpServer.Send(mail);
    Catch(Exception exception)
    Given Below is the Error..      The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required.
    Solution:
    The error might occur due to following cases.
    case 1: when the password is wrong
    case 2: when you try to login from some App
    case 3: when you try to login from the domain other than your time zone/domain/computer (This
    is the case in most of scenarios when sending mail from code)
    There is a solution for each
    solution for case 1: Enter the correct password.
    Recomended: solution for case 2: go to
    security settings at the following link https://www.google.com/settings/security/lesssecureapps and
    enable less secure apps . So that you will be able to login from all apps.
    solution 1 for case 3: (This might be helpful) you need to review the activity. but reviewing the activity will not be helpful due to latest security
    standards the link will not be useful. So try the below case.
    solution 2 for case 3: If you have hosted your code somewhere on production server and if you have access to the production server, than take remote
    desktop connection to the production server and try to login once from the browser of the production server. This will add exception for login to google and you will be allowed to login from code.
    But what if you don't have access to the production server. try
    the solution 3
    solution 3 for case 3: You have to enable
    login from other timezone / ip for your google account.
    to do this follow the link https://g.co/allowaccess and
    allow access by clicking the continue button.
    And that's it. Here you go. Now you will be able to login from any of the computer and by any means of app to your google account.
    Regards,
    Nabeel Arif

  • Why is it when I forward mails from my MAc, PC users don't receive the entire message.

    Help!! Why is it when I send and emial out from my Mac, the other party can't receive the entire message?

    You have two different issues: HP and Canon.
    I don't know if I believe the Canon people. Windows XP has lots of different print options. Try installing Bonjour on Windows and then setting up a networked, Color Apple Laserwriter PS printer using "http://macmini.local:631" (assuming macmini is the name of your Mac). I have done this before (though not on a Canon). I am sure Canon will only support a standard configuration and this is not quite standard. Give it a try. It doesn't sound like it can hurt anything in your current setup.
    For the HP, you might have to just wait for an updated driver from HP. HP has always had this problem. They are a huge printer company and I'm sure they get Apple hardware and OS versions before anybody else in the world. And yet, it seems as if they don't even begin working on their drivers until Apple officially releases a new OS. HP drivers are always the last to show up for a new OS and the first to break. If you get it working under MacOS 10.4.6, and then upgrade to 10.4.7, it is very likely that the HP drivers will stop working.
    Unlike some of the other big companies, HP seems to have made the transition from Classic MacOS to MacOS X seamlessly. Their printer driver software works just as well on MacOS X as it did under MacOS.

  • Connecting Web and the entire OTC cycle (Part 2)

    I am a .Net programmer and at the same time SAP SD Consultant but just new  to this SAP field. I will be creating a website where the customer orders will be recorded. Based on my research in this forum, connecting a website and SAP will be possible (as advised by the people here - [source|Connecting Web and the entire OTC cycle;).
    Here is my question. If I will create a website that will take control of the entire Order-To-Cash cycle, will I have problem connecting my website to SAP (back and forth), or it will be the problem of the ABAP person?
    I do not have the slightest idea on how to connect to SAP if the front-end is a browser/website. I only know how to program using Microsoft ASP.Net
    Please help. Thanks.

    Hi,
    The problem really depends on where the connection is failing..
    pls check the following and I hope that really helps:
    [http://help.sap.com/saphelp_NW04/helpdata/en/51/d5470940fd564b888f4beb9523fa6c/content.htm]
    [https://media.sdn.sap.com/html/submitted_docs/dotnet/Programming%20with%20PDK%20for%20.NET/Connecting%20to%20SAP%20NetWeaver%20Systems/Using%20SAP%20.NET%20Connector.htm]
    Regards
    Raghu.

  • My ipod touch is being replaced by a warranty. How do I back up the data? I have to send the old one in first, before receiving the new one.

    My ipod touch is being replaced by a warranty. How do I back up the data? I am on a PC. I have to send the old one in before receiving the new one.

    See:
    iOS: Transferring information from your current iPhone, iPad, or iPod touch to a new device

  • Users are receiving the invalid response email from the Workflow mailer

    Hi All,
    The problem we are getting in the workflow is that when a user receives a response notification and the user responds to it then the user are receiving the invalid response email.
    The error in the email sent back is
    Error Message : Ora-01001 invalid cursor
    Error stack: &MAIL_STACK_ERROR
    I am unable to replicate the issue in test instance so that we can try to find some solution.
    Please can some one help me out it is really a high priority for us currently
    Thanks,
    Varun

    This does not happen for all the responses, it happens with some responses but it continues to happen untill we bounce the workflow services.
    Regarding the conditions under which this is caused we are not sure of it, if we know under what coonditionns this happens then may be we can try for the solution.
    Thanks,
    Varun

  • Trying to login to Adobe Connect and receive the message that your account has expired.

    Trying to login to Adobe Connect and receive the message that your account has expired.

    Hi,
    The tenure of your account must have expired. You can contact Adobe Connect Support to extend your account's life.
    Thanks
    Sameer Puri

  • Connecting Web and the entire OTC cycle

    Is it possible to connect all of the SAP OTC (order-to-cash) transactions to a website? I mean you will transact via website and that website will pass the data to SAP and SAP will pass back the data needed by the website in real-time? The company plans to use a tablet as front-end and we have a software (a sales automation software) that we want to pass data to SAP and vice versa. Our company is about to acquire SAP ECC 6.0 without CRM.
    1. Is this possible using IDOC?
    2. Can the website and SAP pass data (back-and-forth) to each other in real-time?
    3. Can it complete the entire OTC transactions (SO, DO, DR, billing)?
    4. Any suggestion?
    Please help. Thank you.

    Hi,
    Yes this is very much possible and probably a very common scenario..
    These are the following possibilities:
    1)  The web based application should be able to call and be built to accept calls from APIs..which are called BAPIs.
    We had a MTO based industry and we used BAPIs to enable functionality on the web..also check the part on synchronous calls.
    2) I've worked in a business , where orders used to be taken on PDAs/hand-held devices.. all these devices are connected to a common database and SAP interfaces all the master data and transaction data to this database and the DB connects kind of real time to the PDAs / hand held devices. However, you've to check about what all transaction data are you expecting and if IDocs are available for all of transactions you're looking for..
    I hope this helps.
    Regards,
    Raghu.

  • Difference between closing the connection before and after committing user transaction?

              I was wondering what's the difference between closing the connection before committing
              the transaction versus closing the connection after committing the transaction?...
              for e.g....
              Scenario 1.........
              UserTransaction useretran;
              usertran.begin();
              Connection con = datasource.getCOnnection();
              // do bunch of stuff...
              conn.close();
              usertran.commit()
              Scenario 2...
              UserTransaction useretran;
              usertran.begin();
              Connection con = datasource.getCOnnection();
              // do bunch of stuff...
              usertran.commit()
              conn.close();
              thanks....
              Srini
              

    Hi. As long as you're sure there's a transaction going on, and the connection
    is a transaction-aware object (from a TxDataSource), either will be fine.
    In the first scenario the actual semantics of the close() call are less than
    normal, because we really don't close the connection or return it to the
    pool until the actual transaction commits, and in the second case, we have
    already taken the connection out of your service as of the commit().
    The second scenario is the usual coding style. If there's ever a chance your
    code will get non-transaction-aware connections, it is crucial to close
    connections, and I always recommend putting the close() in a finally block
    so it's guaranteed to happen.
    Joe
    srinivas wrote:
    I was wondering what's the difference between closing the connection before committing
    the transaction versus closing the connection after committing the transaction?...
    for e.g....
    Scenario 1......... UserTransaction useretran; usertran.begin(); Connection con =
    datasource.getCOnnection(); // do bunch of stuff... conn.close(); usertran.commit()
    Scenario 2... UserTransaction useretran; usertran.begin(); Connection con = datasource.getCOnnection();
    // do bunch of stuff... usertran.commit() conn.close();
    thanks....
    Srini

  • Can I create a form for a clients website? so they receive the submission.

    I need to be able to create forms I can put onto clients websites, so they receive the submissions from their clients. Can this be done? - without them having access to the form authoring or design?

    You will need to share the form with your clients so that they can opt-in to receive email notifications. Share the form to them as Reader so that they don't see the Design Tab nor the Distribute Tab. They will have access to a very limitted Options Tab (to turn on notifications), the View Responses Tab (to see the data) and the Summary Report Tab. Once they create their (free) account, confirm their email address and turn on notifications they won't have to log in FormsCentral again (unless they want to view the data) and will be receiving email notifications.
    Note the FormsCentral will only sent email notification to FormsCentral subscribers who have access to the form. This is to make user people can opt-in and opt-out about all these emails that can be sent to their email account.
    Instructions on how to share the form can be found here :
    http://forums.adobe.com/docs/DOC-2462
    Instructions on how to turn on notifications can be found here :
    http://forums.adobe.com/docs/DOC-1424
    Gen

  • Informatica client connecting error: received an invalid object

    Hi guys,
    I downloaded Informatica PowerCenter and PowerConnect Adapters 8.1.1 SP5 for Linux x86 (32-bit) from edelivery and install the power service and metadata manager component on a RH linux box.
    Information of the repository oracle database :
    version-->10.2.0.4
    NLS_CHARACTERSET-->AL32UTF8
    Information of the user informatica:
    LANG = C
    LC_ALL = C
    PATH = /usr/xpg4/bin:/app/database/10g/bin:/app/database/10g/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin:/app/database/10g/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin
    LD_LIBRARY_PATH = /app/database/10g/lib
    ORACLE_HOME = /app/database/10g
    Information of code page when installation:
    ISO 8859-1 Western European
    Locale information of xp client system
    ALL US english setting
    The installation log seems good and no error or warning. How erver when I connect with PowerCenter Designer from my windows xp laptop, it indicate the connection error. I check the server side log with admin console, and in the Intergration service log part found these information:
    ERROR Tue Apr 14 20:46:12 2009 node01_EP066020 2867821472 29321 SF_34031 Client application [], connection [4]: received an invalid object.
    ERROR Tue Apr 14 20:46:09 2009 node01_EP066020 2899291040 29321 SF_34031 Client application [], connection [3]: received an invalid object.
    ERROR Tue Apr 14 20:46:06 2009 node01_EP066020 2878311328 29321 SF_34031 Client application [], connection [2]: received an invalid object.
    ERROR Tue Apr 14 20:46:02 2009 node01_EP066020 2888801184 29321 SF_34031 Client application [], connection [1]: received an invalid object.
    I don't know where the error is, maybe it's a error related to the repository?
    btw, I connection to the Powercenter with the port 6008 which I found in the integration service's log. Coz Oracle application server on the linux box used the default port.
    Today I apply the sp5 to the server for component Power Service and apply the sp5 to client software, but the error is still the same.
    Anybody can give me some hint or solution?
    Thanks in advance.
    Regards,
    Scott

    Hi Scott,
    Did you solved your problem already?
    I want to connect with Peoplesoft as well, byt can't find the PowerConnect tool on edelivery, can you help me with that?
    I als need som documentation on PowerConnect, can you download it there as well?
    Remc0

  • Is there a way to communicate with a GPIB device and receive the response?

    Does anyone know if there's a function that I can use to issue a command to an instrument such as a query on its status and receive its response. I've tried GPIB Write, but it just writes the command and doesn't receive the automatic response. If I use a GPIB Read right after the GPIB Write, it doesn't work! I think I'm looking for a function that sends the command to the GPIB device and then waits for the response and is capable of outputing it. Thanks for any help!
    - Jon

    I know what commands to send, I just don't know what function or vi or whatever in LabView to use in order to receive the response right after I send the command. For instance, I want to know what count the counter is currently on, and so I send the command "NN" to the counter, which tells me what count it's currently counting on. I can send the command, I just don't know how to retrieve the information of what count it's on because I don't know how to send a command and receive the response that the counter is prompted to send immediately after. Thanks for the help though!
    - Jon

  • Just closing connection enough?

    Hi friends..This is my first post...I am a newbie Java Developer..Okay Here goes
    I have just made a LAN based Java application using Swing,JDBC with backend as MS-Access..The backend is on a shared network drive..
    The application is distributed as jar files on the LAN PCs..
    Everywhere I have connected to the database I have just closed the connection explicitly like this
    con.close();
    I do not close the associated resultset and statement explicitly
    The specification says associated statements and resultsets close when you close
    the connection,even if you don't explicitly close them
    Also I am not using connection pool..its simple basic connection using DriverManager
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    String url = "jdbcdbcSN name";
    String user = "";
    String pw = "";
    con = DriverManager.getConnection(url, user, pw);
    Statement stmt = con.createStatement();
    String select = "" ;
    ResultSet rows = stmt.executeQuery(select);
    Till now no performance problems..over 4K records have been added..
    JVM is not exiting or anything..
    On the net everyone says to explicitly close everything..but I did not know that
    earlier..
    My question is
    Is closing just the connection enough..?
    Is there any way I can check whether statements and resultsets have been implicitly closed?
    Later on will it cause any performance problems or anything...?
    Shud I change my code and add rs.close() and stmt.close() everywhere..?
    If specification says everything closes on
    closing connection why do ppl insist on closing everything explicitly..?
    Or is this driver dependent..don't the drivers go through the specification..
    My driver is the Sun JDBC ODBC bridge.....
    There would be 8-10 users maximum at a time using the application concurrently...
    Any help would be appreciated..Thanks in advance..

    @jschell
    Thanks for your help
    I was running a few more tests..can you please explain the the following code...
    Code
    import java.sql.*;
    import java.io.*;
    class gc5test
    public static void main(String args[])
    Connection con = null;
    long memoryBeforeSelects;
    long memoryAfterSelects;
    long memoryAfterConnectionClose;
    try
    PrintWriter pw= new PrintWriter("c:\\log1.txt");
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    String url = "jdbc:odbc:pravahcon";
    String user = "admin";
    String pass = "ash123";
    for(int i=1;i<=20;i++)
    pw.println("Connection No"+i);
    memoryBeforeSelects = Runtime.getRuntime().freeMemory();
    pw.println("Free Memory before making connection " + memoryBeforeSelects / 1024 + " kB");
    con = DriverManager.getConnection(url, user, pass);
    Statement stmt = con.createStatement();
    String select = "SELECT * FROM Users" ;
    ResultSet rows = stmt.executeQuery(select);
    memoryAfterSelects = Runtime.getRuntime().freeMemory();
    pw.println("Free Memory after making connection " + memoryAfterSelects / 1024 + " kB");
    rows.close();
    stmt.close();
    con.close();
    memoryAfterConnectionClose = Runtime.getRuntime().freeMemory();
    pw.println("Free Memory after closing connection " + memoryAfterConnectionClose / 1024 + " kB");
    pw.close();
    catch (ClassNotFoundException f)
    System.out.println(f.getMessage());
    System.exit(0);
    catch (SQLException g)
    System.out.println(g.getMessage());
    System.exit(0);
    catch (Exception e)
    System.out.println(e.getMessage());
    System.exit(0);
    Output
    Connection No1
    Free Memory before making connection 4729 kB
    Free Memory after making connection 4675 kB
    Free Memory after closing connection 4675 kB
    Connection No2
    Free Memory before making connection 4675 kB
    Free Memory after making connection 4638 kB
    Free Memory after closing connection 4620 kB
    Connection No3
    Free Memory before making connection 4620 kB
    Free Memory after making connection 4584 kB
    Free Memory after closing connection 4584 kB
    Connection No4
    Free Memory before making connection 4584 kB
    Free Memory after making connection 4548 kB
    Free Memory after closing connection 4529 kB
    Connection No5
    Free Memory before making connection 4529 kB
    Free Memory after making connection 4493 kB
    Free Memory after closing connection 4493 kB
    Connection No6
    Free Memory before making connection 4493 kB
    Free Memory after making connection 4457 kB
    Free Memory after closing connection 4457 kB
    Connection No7
    Free Memory before making connection 4439 kB
    Free Memory after making connection 4403 kB
    Free Memory after closing connection 4403 kB
    Connection No8
    Free Memory before making connection 4403 kB
    Free Memory after making connection 4367 kB
    Free Memory after closing connection 4367 kB
    Connection No9
    Free Memory before making connection 4349 kB
    Free Memory after making connection 4313 kB
    Free Memory after closing connection 4313 kB
    Connection No10
    Free Memory before making connection 4313 kB
    Free Memory after making connection 4277 kB
    Free Memory after closing connection 4277 kB
    Connection No11
    Free Memory before making connection 4259 kB
    Free Memory after making connection 4223 kB
    Free Memory after closing connection 4223 kB
    Connection No12
    Free Memory before making connection 4223 kB
    Free Memory after making connection 4187 kB
    Free Memory after closing connection 4169 kB
    Connection No13
    Free Memory before making connection 4169 kB
    Free Memory after making connection 4817 kB
    Free Memory after closing connection 4800 kB
    Connection No14
    Free Memory before making connection 4800 kB
    Free Memory after making connection 4766 kB
    Free Memory after closing connection 4766 kB
    Connection No15
    Free Memory before making connection 4766 kB
    Free Memory after making connection 4714 kB
    Free Memory after closing connection 4714 kB
    Connection No16
    Free Memory before making connection 4714 kB
    Free Memory after making connection 4678 kB
    Free Memory after closing connection 4678 kB
    Connection No17
    Free Memory before making connection 4678 kB
    Free Memory after making connection 4627 kB
    Free Memory after closing connection 4627 kB
    Connection No18
    Free Memory before making connection 4627 kB
    Free Memory after making connection 4592 kB
    Free Memory after closing connection 4575 kB
    Connection No19
    Free Memory before making connection 4575 kB
    Free Memory after making connection 4540 kB
    Free Memory after closing connection 4540 kB
    Connection No20
    Free Memory before making connection 4540 kB
    Free Memory after making connection 4489 kB
    Free Memory after closing connection 4489 kB
    The memory is not being freed immediately after closing connection explicitly in first 12 iterations..
    In the first 12 iterations memory after making connection and memory after closing
    connection are the same/or very less difference...
    Only in the 13th iteration the memory increases from 4169 to 4817..
    Why is this happening..?
    I am closing everything explicitly..
    Shouldn't the memory be reclaimed immediately..?
    Insted it is happening later on..
    Am I missing something here..?

  • Why aren't recipients receiving the whole of my email?

    It has come to my attention that some recipients of emails are not receiving the entire message.
    On two recent occaisions I received replies asking for information I knew I'd already sent. Scrolling down showed that they'd only received a part of my original message although it appears in full in my Sent items.
    Interestingly, on both occasions, it cut off after an attachment I'd included in the body of the email rather than at the end after my signature.
    However, I have not been able to replicate the problem by sending emails to myself with attachments included in different places - everything comes through as it should.
    This makes me wonder if the problem is to do with how my recipient's email client deals with attachments placed in the body of the text in the way that Mac Mail allows.
    All thoughts (especially ones that aren't too technical) gratefully received!

    Update!  I deleted the account on my iPhone (which was never really set up to begin with) and set up the iCloud through my iPad.  Worked immediately.  Now my mac, iPhone and iPad are all good to go.  Hmmm, but yay!

  • How to handle when Client and server write to the socket at the same time

    Hi all,
    I'm writing a socket communication when client and server may write information the the socket at the same time. I look every where but the samples from the internet only shows example of server replies to client after receiving requests from clients.
    Let's say that:
    Client 1 ->Socket 1 -> Server 1
    Now if there are two threads in the server, one blocked waiting for the input from client on socket 1, the second one write something on the socket to client 1, is it possible?
    And if it's possible, if at the time Server 1 writes information to Client 1, Client 1 writes some information to Server 1 too, will there be any conflict problem or the socket could handle that two ways communication simultaneously?
    It's critical questions for me. Thanks for your help.

    I really use Server Client paradigm. However, beside the request, response mechanism, there is also an additional mechanism called update which server periodically send information update to client without the need for a request from client.
    So you suggest client should initiate 2 sockets, one for request and response, one for receiving update from the server? Will this work?

Maybe you are looking for

  • Changes in BDC program to upload data from text/excel file

    Hi friends i have obtained the BDc program after recording : start-of-selection. perform open_group. perform bdc_dynpro      using 'SAPLCOIH' '0100'. perform bdc_field       using 'BDC_CURSOR'                               'CAUFVD-GSBER'. perform bdc

  • I Need Help to OC my k7n2g-l

    how can i overclock my computer until i can get a faster processor? i need al the help i can get... 8)

  • Itunes reopens after quit

    Hello, brand new on the forum/discussions. It is really annoying whenever I quit iTunes, it automatically opens itself again. I then wait, quit it again and then goes away. Not really demanding answers, but wanted to let the main guys know about this

  • FM and Classes related to a T Code

    Dear All, Is there any possibility to get all the function modules / ABAP classes associated with a particular T Code. Or what is best possible method to find out them.

  • Characteristic values and CT04

    Hi all, I have a user that wants to store default values for certain fields in the characteristics of a class. For instance, I create a material...if the characteristic GR_PR_TIME is 5...then assign 5 to the GR PR Time field for the material. Problem