Skip to content

https timeout error  #9

@hishankjain

Description

@hishankjain

Hi,

I am trying to to send https post request(port 81) to my server from main swf file(loaded from port 99).

Code in my main.swf:
uri = new URI("https://x.x.x.x/myservice.aspx");
uri.scheme = "https"
uri.port = "81";
client.postFormData(uri,variables);

It traces:
Warning: Found secure='true' in policy file from xmlsocket://x.x.x.x:843, but host x.x.x.x does not appear to refer to the local machine. This may be insecure. See http://www.adobe.com/go/strict_policy_files for details.

OK: Policy file accepted: xmlsocket://x.x.x.x:843

OK: Request for resource at xmlsocket://x.x.x.x:81 by requestor from https://x.x.x.x:99/webdev/allfiles/main.swf is permitted due to policy file at xmlsocket://x.x.x.x:843

Request URI: https://x.x.x.x:81/webdev/myservice.aspx (POST)

But I dont get any response from the server & I receive following error after some time:-

[ErrorEvent type="httpTimeoutError" bubbles=false cancelable=false eventPhase=2 text="Timeout"]

Error: Error #2002: Operation attempted on invalid socket.
at flash.net::Socket/flush()
at com.hurlant.crypto.tls::TLSSocket/close()
at com.org.httpclient::HttpSocket/close()
at com.org.httpclient::HttpSocket/onTimeout()
at com.org.httpclient::HttpTimer/onTimer()
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()

Things I have done :

  1. Returned a policy file at socket 843 on server.
  2. Crossdomain file at root of my server.
  3. Bind server port 81,443 & 99 to https request.
  4. created rule to allow all TCP/UDP connection over all ports.

Am I missing anything.Plz help.

Thanks,
Hishankjain

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions