Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-14226

[Flash Player] XMLSocket connect and close but don't receive any data

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • Adobe Flex SDK Previous
    • None
    • RPC: General
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows XP
      Language Found: English

    Description

      Steps to reproduce:
      1. Starts PolicyServer on port 843 => java -jar PolicyServer.jar 843
      2. Launch one or several clients (if you wish)
      java -cp policyServer.jar com.lessrain.policyserver.Client localhost 843
      You can see the Client receives the crossdomain.xml content with final \0
      3. modify constants SERVER and PORT from the file TextXMLSocket.mxml
      4. Launch TextXMLSocket.mxml as Flex Application

      Results:
      1. The Client Java gets all the crossdomain files, no error. You can even launch several clients.
      2. The Client Flex fails randomly sometimes 1 time/2, sometimes 9 times/10
      Very strange, sometimes the Flex succeed all the times, but in this case the flashlogs.txt
      is not updated, is this related ? i don't know

      Other people who have the same problem:
      http://ammonlauritzen.com/blog/category/flash/
      http://www.kirupa.com/forum/showthread.php?t=289119

      Related Bug: SDK-14853 : policy-File on port 843 not always requested which has been closed prematurely
      I think the Security.loadPolicyFile("xmlsocket://xxx.xxx.com:843"); uses XMLSocket

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: