0 Replies Latest reply on Feb 1, 2008 10:37 AM by Joskovitch

    Socket policy file not working?

    Joskovitch
      Hey guys,
      For my work, we use a flash XMLSocket to connect to one of our daemons and then exchange data.

      Nothing to worry about here, i even got it working. But, i updated flash on my XP Installation.
      And it stopped working. Kind of worried, i searched, and found.

      The flash 9.0.115 enforces strict policy rules, which blocked my 'local domain just connect' usage.

      I tried to use this XML File:
      quote:

      <cross-domain-policy>
      <allow-access-from domain="beta.firmfootball.com" to-ports="8421"/>
      </cross-domain-policy>


      My logs seemed to be oké.
      quote:

      OK: Root-level SWF loaded: http://beta.firmfootball.com/design...monService.swf?
      OK: Policy file accepted: xmlsocket://beta.firmfootball.com:843
      OK: Request for resource at xmlsocket://beta.firmfootball.com:8421 by requestor from http://beta.firmfootball.com/design...monService.swf? is permitted due to policy file at xmlsocket://beta.firmfootball.com:843
      OK: Root-level SWF loaded: http://beta.firmfootball.com/design.../swf/postit.swf
      OK: Root-level SWF loaded: http://beta.firmfootball.com/design.../swf/idcard.swf
      OK: Root-level SWF loaded: http://beta.firmfootball.com/design...monService.swf?
      OK: Policy file accepted: xmlsocket://beta.firmfootball.com:843


      But, when i tried to connect using my flash object, i got nothing. I tried my debugging options, telling me that it did not connect to the service.

      I'm wondering what my mistake was.

      Additional information:
      Website:
      -www.firmfootball.com
      Master policy file:
      -beta.firmfootball.com:843
      Service
      -beta.firmfootball.com:8421

      Thanks in advance,
      Josko de Boer.