Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2006
    Posts
    2

    HTTP.SubmitSecure() gives error: The connection with the server was reset

    When I use HTTP.SubmitSecure() I get the following error message from HTTP.GetHTTPErrorInfo(): The connection with the server was reset

    The status from HTTP.GetHTTPErrorInfo() is 200.

    Application.GetLastError() returns error number 2502: Could not open request.

    StatusDlg.Show() shows:
    Connected to server.
    Saving

    Here is a fragment of the code:
    myvalues = {};
    myvalues.invite_id = "85";
    myvalues.email = "email@test.com";
    myvalues.username = SessionVar.Expand("%UserName%");
    myvalues.password = SessionVar.Expand("%PassWord%");
    sResult = HTTP.SubmitSecure("https://www.domain.com/register.jsp", myvalues, SUBMITWEB_GET, 10, 80);

    Doing the same thing with HTTP.Submit() and an http address works fine.

    Submitting the equivalent request from a browser works fine. The page being requested exists and functions.

    Any help on this would be greatly appreciated!

    Thanks

  2. #2
    Join Date
    Jun 2005
    Posts
    470
    I may think of two possible reasons - communication is blocked, or data being sent is not what you think

    For the first, try to disable your firewall or allow your app in it.
    For the second, try with some http sniffer to see what's exchanged. Logging requests on the server side may also help.

  3. #3
    Join Date
    Sep 2006
    Posts
    2

    Solution ... and a related question

    Eventually, I set the timeout to 30 and that solved the problem. Of course, I don't know why this should make a difference.

    Doing the equivalent request from a browser only takes a second or so, but from within SF7 it takes a very long time. Why is this?

Similar Threads

  1. downloading scripts from server - problem
    By EugenSlo in forum TrueUpdate 2.0
    Replies: 1
    Last Post: 01-29-2006, 04:35 PM
  2. Microsoft SQL Server 2005 Express Edition
    By linuxbox in forum Setup Factory 7.0
    Replies: 0
    Last Post: 12-25-2005, 07:55 PM
  3. Dependency Module: Jet 4.0 SP8 for Windows Server 2003
    By Darryl in forum Setup Factory 8.0 Examples
    Replies: 0
    Last Post: 08-31-2004, 10:02 AM
  4. Can the uif receive the active server?
    By kielty in forum TrueUpdate 1.0
    Replies: 0
    Last Post: 07-09-2004, 05:13 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts