XMLSocket "Failed to load policy file" error

I am trying to use an XMLSocket.swf file, and it is not connecting.  Do I need to open up a port on my server?  I am trying to run this on a dedicated remote Windows 2008 server.
Here is the error from FlashFirebug:
     OK: Root-level SWF loaded: file:///C|/Users/vcaadmin/AppData/Roaming/Mozilla/Firefox/Profiles/70vbx4ys.default/exten sions/flashfirebug%40o%2Dminds.com/chrome/content/flashfirebug.swf
    OK: Root-level SWF loaded: http://speak-tome.com/flash/XMLSocket.swf
    OK: Searching for <allow-access-from> in policy files to authorize data loading from resource at xmlsocket://speak-tome.com:9997 by requestor from http://speak-tome.com/flash/XMLSocket.swf
    Error: Failed to load policy file from xmlsocket://speak-tome.com:9997
    Error: Request for resource at xmlsocket://speak-tome.com:9997 by requestor from http://speak-tome.com/flash/XMLSocket.swf has failed because the server cannot be reached.
My crossdomain.xml is saved to the root of the web directory and looks like:
    <?xml version="1.0"?>
    <!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
    <site-control permitted-cross-domain-policies="master-only"/>
    <allow-access-from domain="*"/>
    <allow-http-request-headers-from domain="*" headers="SOAPAction"/>
    </cross-domain-policy>
I notice that both ports 843 and 9997 are closed for my domain (speak-tome.com - 72.167.253.16) when I check using a service such as yougetsignal.com/tools/open-ports.  Do I need to get these ports open to get the policy file to work?

As a test, I uploaded my Flash/Gaia site into an existing site on my old host.  And although the site actually works in this setting, when I run things in the FlashPlayerDebugger, I'm still getting Security Sandbox Violations - so (as adninjastrator suggested in earlier post), this may have nothing to do with the DNS changes - but perhaps with my setting things up wrong somewhere so that the Flashplayer is trying to access my local computer - maybe??
Debugger logs gives me this:
Error: Failed to load policy file from xmlsocket://127.0.0.1:5800
Error: Request for resource at xmlsocket://127.0.0.1:5800 by requestor from http://recreationofthegods.com/bin/main.swf has failed because the server cannot be reached.
*** Security Sandbox Violation ***
So, I've now uploaded the identical bin (which contains all the files for my site) - but I'm getting different behaviors on the two hosts.
On the new holistic servers, the site won't go past the first page:  www.yourgods.com
On the 1&1 servers, I still get runtime errors in FlashPlayerDebugger - but the site runs ok - http://www.RecreationOfTheGods.com/bin/index.html
Posting those links in hopes someone with more experience in these sandbox issues can help steer me in the right direction.

Similar Messages

  • Catching policy file errors in try/catch

    Hi,
    I have a socket policy server that works just fine.
    If however the page is loaded and the socket policy server isn't running, I want to be able to catch the error.
    Here is an example:
    try{
         Security.loadPolicyFile("xmlsocket://127.0.0.1:9876");
         stomp.connect("127.0.0.1", 61613, ch);//causes an attempt at socket communication
    } catch (e) {
         Alert.show("a real error","title");
    } finally {
         trace("finally....");
    When this runs, I never see the Alert. I do see the "finally...." message in my console., and then the actual error messages:
    Error: Failed to load policy file from xmlsocket://127.0.0.1:9876
    Error: Request for resource at xmlsocket://127.0.0.1:61613 by requestor from xxxx has failed because the server cannot be reached.
    *** Security Sandbox Violation ***
    Connection to 127.0.0.1:61613 halted - not permitted from xxxxx
    Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: xxx cannot load data from 127.0.0.1:61613.
            at org.codehaus.stomp::Stomp()[C:\Users\wischusen\Documents\FlexBuilderProjects\Stomp\org\co dehaus\stomp\Stomp.as:52]
    I just want to catch the error and prompt the user to turn on their socket server. How do I do that?

    Okay, that sort of worked.
    It's not an ideal solution because I am using a third party library (STOMP) and I don't want to edit that library. I don't have control over the private socket that it uses internally.
    So what I did was just create a socket solely for the purpose of trying to catch this error.
    Unfortunately I have to wait 22 seconds for the alert to pop up. This might have something to do with the timeout referenced here:
    http://livedocs.adobe.com/flex/3/langref/flash/system/Security.html#loadPolicyFile()
    But that's only supposed to be three seconds.
    It's weird because the player knows right away that the socket server is down--it tells me so in the log (actually--it does so on my work machine but not at home--perhaps due to different versions of the debug player). But I can't hook into that apparently.
    Here is what I am doing, BTW:
    Security.loadPolicyFile("xmlsocket://127.0.0.1:9876");
    var sock:Socket = new Socket();
    sock.addEventListener(IOErrorEvent.NETWORK_ERROR, errorHandler);
    sock.addEventListener(IOErrorEvent.IO_ERROR, errorHandler);
    sock.addEventListener(ErrorEvent.ERROR, errorHandler);
    sock.addEventListener(SecurityErrorEvent.SECURITY_ERROR, errorHandler);
    sock.connect("127.0.0.1", 61613);
    private function errorHandler(event:ErrorEvent):void {
         trace("in error handler: " + event.text)
         Alert.show("in error handler: " + event.text, "title");
    Output of the trace is:
    in error handler: Error #2048: Security sandbox violation: http://xxx cannot load data from 127.0.0.1:61613.
    Now I would like to know why I have to wait 22 seconds for that message. Is there some other event I can listen for that might fire sooner?
    By the way, you can try this code yourself. It does not require that a socket server be running--in fact, you won't see the alert if there is a socket server running.
    Thanks for your help.
    Dan

  • Exchange profile error: dbconnect.prop: failed to load properties file .\dbconnect.properties

    All,
    We are using PO 7.4 with SP5, and we have an issue while accessing URL Exchange profile page (http://<host:port>/webdynpro/dispatcher/sap.com/com.sap.xi.exprofui/XIProfileApp) it throw's the below error.
    dbconnect.prop: failed to load properties file .\dbconnect.properties
    dbconnect.prop: failed to load properties file
    Did some one seen this before and have resolved ? Any help is highly appreciated.
    Thank you, Pranay

    Though below note is not applicable to you, i would suggest you to check if the destination is created by the configuration wizard? If not you can create one and see if it helps.
    Create Java RFC destination XI_EXCHANGE_PROFILE manually: Navigate to http://[host]:[port]/nwa --> Configuration --> Infrastructure --> Destinations. Create the RFC Destination with PILDUSER as logon user.
    1525193 - PI CTC: Exchange Profile Access after (EhP) Upgrade

  • When i downland flashcc it stop and tell me ERROR: DW039: Failed to load deployment File

    when i downland flashcc it stop and tell me ERROR: DW039: Failed to load deployment File
    what can i do? how to fix it?

    open the cc dektop app -> click preferences -> Select language English (International) -> exit the cc app > restart the cc app > install flash cc.

  • When I install Flash Professional CC 2014, I got the Error: DW039: Failed to load deployment File

    When I install Flash Professional CC 2014, I got the Error:
    Exit Code: 16 Please see specific errors below for troubleshooting.
    For example,  ERROR: DW039 ... 
    -------------------------------------- Summary --------------------------------------
    - 0 fatal error(s), 1 error(s) 
    ERROR: DW039: Failed to load deployment File

    The solution mentioned above doesn't work for me.
    Change language, restart Macbook, error again, change language back and forth, restart every time, it just doesn't work.
    I was installing same app - Flash Professional CC 2014.
    I got the same error
    -------------------------------------- Summary --------------------------------------
    - 0 fatal error(s), 1 error(s)
    ERROR: DW039: Failed to load deployment File
    So, same problem, same question.

  • Having trouble downloading app: ERROR: DW039: Failed to load deployment File

    I am trying to download Flash Professional CC that I purchased through creative cloud, vut constantly having error (ERROR: DW039: Failed to load deployment File).
    Please help!

    Hi ji-wonwoo,
    Please refer : When I install Flash Professional CC 2014, I got the Error: DW039: Failed to load deployment File
    Thanks,
    Atul Saini

  • ERROR: DW039: Failed to load deployment File Lightroom 4.3

    I have tried 3 times, including rebooting but still get the same error once the app has downl;oaded, ectracted and then starts the install which gets to about 2% and then the install fails with the notice ERROR: DW039: Failed to load deployment File!!!!

    Some additonal detail, Win8 64-bit with a 500GB SSD with approx 25pc free space.
    I thought I;d got my copy of Lightroom seperatly to my CS subscription, so had already appplied the 4.3 update via the seperate download. It was only when the applicaiton manager prompted me for Lightroom 4.3 that I realised it came from CS. Interesting that the app manager looks at what it has installed, rather than what is actually installed on the machine.
    Running the install from app manager gave this error. I then uninstalled Lightroom, thinking it was a seperate install, and re run the app manager,. Same error. HAve tried the obvious things of deleting temp, clean restarts etc.
    Given I had already applied the 4.3 update I think its safe to safe this is bug/error with the CS App Manager installaiton rather than Lightroom 4.3 iteself.
    Given the number of people with this commenting, and how many more not commenting, I'm hoping that this thread will come to the attention of Adobe support and get a speedy resolution.

  • "Failed to load excel file" an Error Message while running TDS upgrade util

    Dear All,
    "Failed to load excel file" an Error Message while running TDS upgrade utility when clicking on CHECK DATA.
    Please help me out on this!!!!!!!!!!!!
    Thanks..........

    Not all data can be exported to Excel easily. Especially if the query result is huge or there are special characters in the query results. You may try the most updated version.
    Thanks,
    Gordon

  • Error: Failed to load script file; java.lang.ArrayIndexOutOfBound.Exception: 3184

    Script editor was working find when I last used it last week.  Tried to open a script today to make some changes and now I'm getting this error message.  I have uninstalled and re-installed editor, checked the compatibility mode and it wont open the script.  any ideas out there what the problem could be? need some trouble shooting help.
    Error:
    failed to load script file: java.lang.ArrayIndexOutOfBound.Expception: 3184
    Thanks
    Lora

    Hmmm....   I haven't seen that, but I can tell you what I would do if I were you.  This is kind of drastic, but the alternative may be a workstation reimage.
    Open the windows control panel, and open the add/remove programs snap in.
    Uninstall the CRS editor.
    Uninstall all the JRE instances you have.  They may be listed as something like Java (TM) update....   or they may appear as J2SE Runtime....   Check in the J's (it's alphabetical) and uninstall all of them.
    Reboot the machine.
    Download and reinstall Java 1.6.0.17   (This is what's running on my workstation right now, and it works with the editor).
    Reinstall the CRS editor
    Reboot the machine
    Try it and see if it behaves.  If it doesn't, you may need to rebuild the whole thing.

  • Error: Failed to load xml file

    Hi,
    I have a multiple project output using RobohHelp HTML 9. In the online help system,  when I search for certain terms, I encounter this message "Error: Failed to load xml file"
    could anyone let me know if you have encountered the same and how you dealt with this?

    Hi Jeff..i resolved the issue..
    Given that i use merged webhelp, I checked the output of multiple projects. One of the online outputs from one of the projects was having this problem. So I cleared the Webhelp output folder and regenerated this project. This was the fix.
    Now I encounter one more problem. When I search for information, the search bar shows 100% complete but the results would'nt show. Can you let me know if you have come across such a problem?

  • Music services failed to load an unexpected error occurred

    Hi!
    Till the last Day, the WiFi and/ore the USB-Sync with iTunes runs perfectly.
    But at this moment, it doens't work anymore and i got this message on my DM6 "Music services failed to load an unexpected error occurred"
    I don't know why, cause i didn't change anything on my DM6, iTunes ore Torch.
    This ist my Desktop.log
    13:05:54.907|INFO |12|Rim.Desktop.Media|39001|Got Request POST http://192.168.2.105:4481/mediasync/music/17afe97cfe9d52d6
    13:05:54.910|INFO |12|Rim.Desktop.Media|39001|gzip requested
    13:05:54.992|FATAL|12|Rim.Desktop.Shell|0|Fatal Application Error
    System.FormatException: The input yields a number greater than 4 bytes.
       bei Rim.Common.Utilities.JavaBinaryReader.ReadCompressedInt()
       bei Rim.Media.Sync.SyncProviders.Device.Destination.DeviceChanges.ReadChanges(Stream changeStream)
       bei Rim.Media.Sync.Listener.HttpMediaServer.OnUpdatesProvided(Object sender, UpdatesProvidedEventArgs e)
       bei Rim.Common.Utilities.Events.Eventer.Raise[THandlerArgs,TArgs](Object sender, EventHandler`1 handler, TArgs e)
       bei Rim.Media.Sync.Listener.MediaHttpListener.Request(IAsyncResult result)
       bei System.Net.LazyAsyncResult.Complete(IntPtr userToken)
       bei System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken)
       bei System.Net.ListenerAsyncResult.WaitCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
       bei System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)
    13:05:54.994|FATAL|12|Exception|0|Fatal Error
    System.FormatException: The input yields a number greater than 4 bytes.
       bei Rim.Common.Utilities.JavaBinaryReader.ReadCompressedInt()
       bei Rim.Media.Sync.SyncProviders.Device.Destination.DeviceChanges.ReadChanges(Stream changeStream)
       bei Rim.Media.Sync.Listener.HttpMediaServer.OnUpdatesProvided(Object sender, UpdatesProvidedEventArgs e)
       bei Rim.Common.Utilities.Events.Eventer.Raise[THandlerArgs,TArgs](Object sender, EventHandler`1 handler, TArgs e)
       bei Rim.Media.Sync.Listener.MediaHttpListener.Request(IAsyncResult result)
       bei System.Net.LazyAsyncResult.Complete(IntPtr userToken)
       bei System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken)
       bei System.Net.ListenerAsyncResult.WaitCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
       bei System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)
    13:05:58.439|INFO |12|Rim.Desktop.Media|39001|HttpMediaServer status update: ServerOn
    What can i do, to fix the problem?
    Tank you!
    Sorry for my bad english
    Greetings from Germany
    Kalorie99

    I found the answer, here in the forum from a user:
    Here is the solution that worked for me, based on antoniovtorres post (I resisted the urge to get PO'd and tried to figure out what he must have done):
    With desktop manager closed, using Blackberry user tools, navigate to 'Blackberry\system\' (make sure that hidden files are shown or you won't see the 'system' folder).
    Move or delete the folders 'Media Sync' and 'media' from the system directory.
    Re-open desktop manager.
    Click yes to any dialog that appears.
    You should now be able to sync music again.
    Note that your device may want to double up on your synced pictures and videos, so you may want to delete your pictures and videos off of the device before your next picture or video sync. Hope it works for y'all.
    Scott
    It works again!
    Yeah!
    BlackBerry rocks!

  • Crystal report "Failed to load database information" error after publish

    I have seen similar questions, but none of the answers seem to apply to my situation.
    I am upgrading an older web application to Visual Studio 2013, using the SAP Visual Studio Crystal Reports tools. Everything works great until I publish.
    I have two sorts of reports: Some that export to Excel, and some that export to PDF. All work fine within Visual Studio. However, when I publish, the reports that should go to PDF give me the following error.
    Failed to load database information.Error in File [Report Name] {GUID}.rpt
    I have seen several posts that indicate that this could be a 32/64 bit issue. I am using a newer 64 bit SQL database, and this is an old application. I have it set to Any CPU. However, since the reports work fine in Visual Studio, I don't see how this could be the issue.
    Any other ideas?
    Thanks,
    Geoff Callaghan

    Hi Geoff
    This is definitely not due to the export type. Rather it will be due to a db issue of some sort. My suspicion is that reports that work use a different type of connection that reports that fail. E.g.; the reports that work use OLE DB, those that fail use ODBC and the ODBC datasource is 32 bit, not 64 bit(?). E.g.; check the database connections between reports that work and those that do not. And remember to also check the connections in subreports (if any).
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Failed to load XML file with Content ID 'XYZ'

    Hello,
    We are using UCM Version:11.1.1.8.1DEV-2014-01-06 04:18:30Z-r114490 (Build:7.3.5.185) with site studio for creating templates and web sites.
    While switching to contribution mode, we find 'Failed to load XML file with Content ID 'XYZ' error.[Here XYZ is the local checkin content]
    In region we are using dynamic converter to convert the style of native document here below are region and its element details.
    <region  id="region3" name="Add_Content_Here" flags="1111111100100" metadata="xIdcProfile%3AisHidden%3Dtrue%26xTemplateType%3AisHidden%3Dtrue%26xShowInStaff%3AisHidden%3Dtrue%26xShowInVisitors%3AisHidden%3Dtrue%26xShowInFaculty%3AisHidden%3Dtrue%26xDiscussionCount%3AisHidden%3Dtrue%26xDiscussionType%3AisHidden%3Dtrue" dccommand="ssIncDynamicConversionByRule(SS_DATAFILE, 'Colleges_Template_Rule')">
          <!--$region3_ACTIONS="EIMPRS",region3_DCCOMMAND="ssIncDynamicConversionByRule(SS_DATAFILE, 'Colleges_Template_Rule')" -->
          <element  id="region3_element1" name="Editor" label="Editor" type="1" flags="111111111111111111111100000111100000000000001111001110111010001111101000000000000000000000000000">
            <!--$region3_element1="Add_Content_Here/Editor" -->
            <linktoregioncontent  createnewxml="true" createnewnative="false" choosemanaged="true" chooselocal="false" choosenone="false">
              <choosemanagedquerytext  corecontentonly="FALSE">
                <![CDATA[xWebsiteObjectType <Matches> `Data File` <OR> xWebsiteObjectType <Matches> `Native Document`]]>
              </choosemanagedquerytext>
            </linktoregioncontent>
          </element>
          <switchregioncontent  createnewxml="true" createnewnative="true" choosemanaged="true" chooselocal="false" choosenone="false">
            <createnewnativedoctypes >
              <![CDATA[.doc,.docx,.txt,.rtf]]>
            </createnewnativedoctypes>
            <choosemanagedquerytext  corecontentonly="FALSE">
              <![CDATA[xWebsiteObjectType <Matches> `Data File` <OR> xWebsiteObjectType <Matches> `Native Document`]]>
            </choosemanagedquerytext>
            <defaultmetadata >
              <![CDATA[xIdcProfile%3AisHidden%3Dtrue%26xTemplateType%3AisHidden%3Dtrue%26xCollegesList%3AisHidden%3Dtrue%26xShowInStudents%3AisHidden%3Dtrue%26xShowInStaff%3AisHidden%3Dtrue%26xShowInVisitors%3AisHidden%3Dtrue%26xShowInFaculty%3AisHidden%3Dtrue%26xArticleSection%3AisHidden%3Dtrue%26xDiscussionCount%3AisHidden%3Dtrue%26xDiscussionType%3AisHidden%3Dtrue%26dpTriggerValue%3DCSE]]>
            </defaultmetadata>
          </switchregioncontent>
        </region>
    <!--SS_BEGIN_OPENREGIONMARKER(region3)--><!--$SS_REGIONID="region3"--><!--$include ss_open_region_definition --><!--SS_END_OPENREGIONMARKER(region3)-->
    <!--SS_BEGIN_ELEMENT(region3_element1)--><!--$ssIncludeXml(SS_DATAFILE,region3_element1 & "/node()")--><!--SS_END_ELEMENT(region3_element1)-->
    <!--SS_BEGIN_CLOSEREGIONMARKER(region3)--><!--$include ss_close_region_definition --><!--SS_END_CLOSEREGIONMARKER(region3)-->
    Regardrs,
    Syed

    Hi Syed ,
    Add the following trace sections :
    requestaudit,sitestudio*,system + Full verbose tracing
    Clear the server output .
    Replicate the same steps and once error shows up , refresh server output and copy the logs to a text file and upload here .
    Thanks,
    Srinath

  • Failed to load XML file

    We are using RH10, output with WebHelp Pro. We recently upgraded our projects from RH9 to RH10. Performing a search in our online help generates the following error message: Failed to load XML file.
    Is anyone else experiencing this issue? Any resolutions for this problem?
    Thank you in advance for any help!

    Hello again
    If by "new specification" you mean that WebHelp Pro should only be used with RoboHelp Server, that would be a NO. It's always been the case that the "Pro" output was intended for use with RoboHelp Server. Now it could well be that RoboHelp 10 Pro output isn't as "forgiving" as earlier versions have been. I'm not sure.
    Unfortunately we see so so many folks just gravitate right toward the "Pro" output in the misguided belief that it is somehow better or has more bells and whistles than the basic WebHelp has. But that's never been the case. What HAS always been the case is that the code driving things has been configured to work with the code on the RoboHelp server.
    One change that I believe has occurred has been a renaming of the XML files that are created. So that may factor in here. I'm not sure. It might be best for you to just generate WebHelp output, then wholesale delete all the files from the server and publish fresh.
    Cheers... Rick

  • Failed to load configuration file for the workflow

    There are two of us who have full control on our Sharepoint 2013 site. I'm able to create workflows and publish them fine. The other user is able to create workflows, but he gets an error when trying to run them. I  tried opening his workflow and got
    the error "Failed to load configuration file for the workflow."
    Any ideas?

    Hi Carltonw1,
    Based on your description, I recommend to verify the things below:
    Clear the SharePoint Designer cache and then open the workflow.
    Ask the user to open the workflow in SharePoint Designer and check if the workflow contains error.
    Ask the user to create the same workflow and associated with another list to see how it works.
    Check the ULS log for more detailed error message.
    To reproduce this issue, could you please provide the detailed steps in the workflow for further research?
    Thanks,
    Victoria
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Victoria Xia
    TechNet Community Support

Maybe you are looking for

  • Ctrl + Spacebar will not bring up code hints either

    I'm using Windows XP CS3 with Dreamweaver from Creative Suite CS4. I cannot get code hints (when enabled) or when I press Ctrl + Spacebar. When I press Ctrl + Spacebar nothing happens.

  • Maintain Check Lots

    Hi Experts, I'm trying to maintain check lots in FCHI for several housebanks. I have successfully maintained the check number series on all housebanks except for one.  The error below ppeared when I tried to save the data. Check the format of the che

  • Script Errors when submitting the Page

    We are using iPlanet 4.1 as WebServer under SSL mode. The customers who are working under Windows XP with IE6.0(128bit) browsers are having Script Error problem, while submitting the data to the WebServer. Though the number of customers affected are

  • Manual download from second computer

    I am using my computer at work to download video because my home computer is so slow. So, I changed my ipod (30g video) to manual download but I don't know the steps that follow. Can anyone help me get started? Thanks

  • Need support from pro!!!

    i want to a web to use this code i find in internet http://www.rubenswieringa.com/code/as3/flex/Book/source/ But  when i download into my computer, i can't open it also i create a new  project and copy element path of them but it don't run. How do i