Same-Origin-Policy error ?

Hi,
I'm working on a project wich contains a lot of animation so I chose edgeCommons.
My client wants the site to be visible offline .
Here is my problem : I have a wrapper and when I try to interact from the wrapper on a nested movie that does not work on Chrome offline. However if I try to perform the same action on the site hosted on a remote server, it works .
In offline console chrome says:
"Uncaught SecurityError: Blocked a frame with origin "null" from accessing a frame with origin "null". Protocols, domains, and ports must match."
Here's an example from my code. When I click on the link in my menu , it injects the " muscle - 01.html " page in the "content " container ( in an iframe ) and it replaces the "title" text with the word " frontalis " .
In my case the " muscle -01 " loads but the text is not replaced . I tested other actions but none work offline in Chrome .
EC.loadComposition('muscle-01.html', sym.getComposition().getStage().getSymbol('content'))
.done(function(comp){
  comp.getStage().$('title').html('Frontalis');
Is this caused by the Same-Origin-Policy error?
How can I fix the problem so that it works on all browsers offline?
Thank you very much for your help :-)
Nicolas

Chrome due to security reasons does throw that error.
But there is one workaround you can try with:
     In file muscle-01_edgeActions.js, replace
         //Edge symbol: 'stage'
        (function(symbolName) {
        })("stage");
with
     //Edge symbol: 'stage'
     (function(symbolName) {
           Symbol.bindElementAction(compId, symbolName, "document", "compositionReady", function(sym, e) {
             // insert code to be run when the composition is fully loaded here
            sym.getComposition().getStage().$('title').html('Frontalis');
            sym.getComposition().getStage().getSymbol('an-01').play(0);
     })("stage");
hth,
Vivekuma

Similar Messages

  • Angular app localhost:9000, all broswers except FF works. get error Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource a

    Hello dear mozilla team,
    recently I faced with problem developing angular app with firefox.
    I have an angular app and locally run with grunt which starts on port 9000.
    The application send oauth authorization request on a server which is not on my local, in other words CROSS request
    For all browsers (Safari, Maxthon, Chrome) it opens pages without any error on firefox it is blank page with few error in console.
    I re-installed firefox, delete all add-ons, re-create profile nothing help me.
    here the errors from console.
    Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at my-server.com
    The connection to ws://localhost:35729/livereload was interrupted while the page was loading.
    I would be very happy if you can help me, as FF is my beloved browser for all inspect and test staff
    Attached please find console screen shot

    Websockets don't use CORS since you're always talking to a different origin by definition (even on the same host it's a different port).
    What version of the browser are you really using? That error message doesn't look like the CORS errors I see in Firefox 36. We changed CORS reporting in Firefox 38 (splitting errors into a dozen different cases) but what you quoted above doesn't match those, either. See [https://bugzilla.mozilla.org/show_bug.cgi?id=1121824 bug 1121824]

  • "Security policy error" while setting up "Microsoft Exchange Hosted Services" Exchange Account (corporate user)

    I'm a corporate user with a very large company that is using Microsoft Hosted Exchange services actually hosted by Microsoft employees at their facilities.  I called Palm support and they were clueless and zero help.  The lady pointed me to some Palm KB article that I had already read and only remotely had anything to do with my problem.  I see nothing on this error message in the forums and google searches. Sprint has even replaced my palm pre due to other reasons and the same error occurs after I configure the exchange account. I'm also seeing the error when I configure my account on my wifes brand new pixi. Both our pre and pixi already have exchange accounts successfully configured on our phones that are hosted by sherweb. The sherweb exchange accounts work without issue. I have tried configuring this microsoft hosted exchange account 5-6 times with the same result. It accepts my configuration information and adds it to the list of available email accounts in the pre. However, it keeps popping up this message stating "Security policy error: "Exchange... Tap for details" (with a yellow exclamation mark). Then it says "Security Policy Error" The account Exchange (first part of my email address) is disabled because security policies cannot be set." "Leave it disabled" or "Remove Account". I know something is working because it enforced a Password or Pin policy on to my phone which is not required unless this account has been added. I can also see it in the "Mobile Devices" section of web outlook when I login. This is the place in web outlook where you can see the last time the device synced, where you can remote wipe the phone etc. If anyone has any idea how to resolve my issue please post. Any ideas? I'm fresh out of ideas on this problem and very frustrated with Palm Developers. Just another example of poor development and testing practices by Palm. I hope they correct this issue on subsequent releases but I am only marginally optimistic that they will ever get this exchange mail support to the level necessary to support large corporations. What I do know is that my Microsoft Hosted Exchange account works fine on a Windows Mobile phone and a iPhone 3GS (confirmed by other coworks who have configured their phones using our exchange services). As a result, I have no choice but to blame Palm for this problem instead of Microsoft. Palm please fully support microsoft exchange mail users!!!!
    Post relates to: Pre p100eww (Sprint)
    This question was solved.
    View Solution.

    From my understanding of EAS and PDA devices, if the server as a policy to enforce and the device cannot provide that policy then the server will not allow the device to connect. The KB I gave you has a listing of what policies the devices supports, if your server supports more than that then it could deny the connection. As for what the iPhone does and does not do we cannot answer that due to we are not iPhone.
    I did find an article that may explain a little better for PDA and exchange: http://www.infoworld.com/d/mobilize/how-avoid-smartphone-exchange-policy-lie-004

  • FYI: How to Fix "iTunes Cannot Find Original File" Error

    Yesterday morning, I opened iTunes and tried to play a file. I got the old "iTunes cannot find the original file" error. I tried another file. Same thing. I tried restarting iTunes, holding down the shift key, and making sure iTunes knew where my Library file was. Yep. Still no dice. So I came here, and did a search for help. I could not find any definitive answers to this question. So I did a Google search and found the fix in an old Metafilter thread. Given that this problem seems a little common, I thought I'd post my solution here, for anyone who has this issue in the future.
    First things first, make sure that it's not just an issue of pointing iTunes to your current library location. Go to your advanced preferences and double-check the library location path. If this doesn't fix it, then it's time to go my route:
    1) Open your iTunes folder in windows explorer. Look for a file called "itunes library.xml". Copy that file to your desktop or somewhere else so that it's backed up...in case something goes wrong.
    2) Open the original XML file in notepad (right-click, "open with", "notepad").
    3) In this XML file, you will see a paragraph of information for every file you have (songs, podcasts, videos, etc.). In each of those paragraphs, there is a file path specifying where the file is supposed to reside. This is how the itunes library.itl file knows where to look. In my case, it should have been "e:/my music/itunes", but instead, it was "e:/my music/itunes/itunes music". The program had created that folder for some reason, and all my files were pointing there.
    4) Check a few of the paragraphs and see if they are pointing to your actual music folder. If so, then you have another problem...sorry. If not, then continue on:
    5) Go to edit->replace (or control-H). In the "find what" box, enter the incorrect file path (in my case, e:/my music/itunes/itunes music"). In the "replace with" box, enter the correct path of your itunes music folder (in my case, "e:/my music/itunes". Then click "replace all".
    If you have a lot of songs, this may take awhile. I have over 25,000 files, so it took at least 18 hours.
    6) When it's done, quit notepad and save the XML file. Open iTunes. If it doesn't automatically start updating your library, then try to play a song. If you get the same old error, then quite iTunes, then re-open it, go to the advanced preferences and select the correct file path for the library location. This should fix it.

    I am also finding many "ghost file" duplicate files (with the exclamation point "can not locate files" message), after pointing Itunes version 8.2.1.6 to my music folder on a separate, networked hard drive. My understanding is that the "Consolidate Files" feature in Itunes is supposed to properly identify all of the file locations, but it only worked for about 1/5 of our 10,000 plus files before it stopped running. (I've read in other forums that this software is buggy, and gets confused with long song titles, etc.)It also leaves you with duplicate "ghost" files to delete, when the music from the separate drive is "added".
    I can not find a file called ituneslibrary.xml to try your suggestion, when I open my Itunes folder. When I do "get info" on the individual music files in Itunes that can't be located, the "where" field = "not available". I have doublechecked the library location in preferences and it is properly pointed to "K:\itunes" which is the correct location.

  • SSL policy errors have been encountered. Error code '0x2'

    I'm trying to install Office Web Apps Server in HTTPS mode. in my farm i have 2 app servers, 2 web servers, 1 OWA server. OWA server is in different vlan(i
    have enabled 443, 809 between SharePoint servers and OWA server). When I run
    the command  "New-SPWOPIBinding -ServerName "xxxxx.domain.com" (FDQN) in web servers. i got this blow error.
    New-SPWOPIBinding -ServerName "xxxx.domain.com"
    WARNING: The server did not respond. Trying again (attempt 1 of 5).
    WARNING: The server did not respond. Trying again (attempt 2 of 5).
    WARNING: The server did not respond. Trying again (attempt 3 of 5).
    WARNING: The server did not respond. Trying again (attempt 4 of 5).
    WARNING: The server did not respond. Trying again (attempt 5 of 5).
    New-SPWOPIBinding : Sorry, we have encountered an error and New-SPWOPIBinding
    has failed. If you are using a server configured with HTTP, you must include
    the -AllowHTTP parameter.
    At line:1 char:1
    + New-SPWOPIBinding -ServerName " xxxx.domain.com""
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (Microsoft.Share...tNewWOPIBinding
       :SPCmdletNewWOPIBinding) [New-SPWOPIBinding], SPCmdletException
        + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletNewWOPIB
       inding
    Event viewer error:
    Event ID:      8311
    Error : SSL policy errors have been encountered.  Error code '0x2'..
    Description: An operation failed because the following certificate has validation errors.
    i have tried the following things:
    1. generate the SharePoint root certificate and import to all server trusted root certificate authorities and intermediate certificate authorities folders. i have imported
    OWA site SSL certificate to this two folders also.
    2. added the below following code in SharePoint site web.config file <system.net>
    <settings>
    <servicePointManager checkCertificateName=”false” checkCertificateRevocationList=”false” />
    </settings> 
    3. added the certificates(Root Certificate and OWA SSL) to SharePoint central admin -> security -> manage trust  
    the above scenarios are not helping. i am in critical stage in my installation. please help me to resolve this issue.
    Thanks,
    Arun P

    I am experiencing this exact same issue.  Anxious to see the fix for this.  I have seen others post similar issues but I can't clearly understand how it's remediated.

  • Windows 7 firewall fails to restore default policy error 3

    Currently, I am using Windows 7 32bits OS.
    First, I found that my Network Discovery won't stay ticked. After some troubleshooting on network problems, I found that my windows firewall is configurated wrongly.
    Next, I tried to restore default policy of windows firewall through Windows Firewall with Advanced Security. But it failed (msg:Could not restore the default policy Error:3).
    Then, I tried to use "netsh advfirewall reset" in cmd. However, the result is still the same (An unrecoverable Windows Firewall error <0x3> occured).
    I had also tried the methods suggested in <<Windows Firewall damaged by 'Windows 7 antivirus 2012'>>
    But the problem still cannot be solved.
    Will anyone help me please??
    Thanks

    The ehow article is erroneous. There is no "reset" command in the advfirewall context. "reset" was part of the deprecated "firewall" context.
    C:\Windows\system32>netsh advfirewall firewall reset
    The following command was not found: advfirewall firewall reset.
    C:\Windows\system32>netsh advfirewall firewall help
    The following commands are available:
    Commands in this context:
    ?              - Displays a list of commands.
    add            - Adds a new inbound or outbound firewall rule.
    delete         - Deletes all matching firewall rules.
    dump           - Displays a configuration script.
    help           - Displays a list of commands.
    set            - Sets new values for properties of a existing rule.
    show           - Displays a specified firewall rule.
    To view help for a command, type the command, followed by a space, and then
     type ?.
    Note the conspicuous absence of "reset."
    My own problem is that I've removed Alureon and Sirefef.AB from an office computer and one of them wiped out all of the firewall rules, and neither importing policies exported on another computer nor restoring default settings works. Both result in an "Error
    5," whatever that is. Anybody have any ideas?

  • JavaScript is not from the same origin as the Java code

    When trying to log into my school website with Safari, I get the following error from the console:
    sun.plugin.liveconnect.OriginNotAllowedException: JavaScript is not from the same origin as the Java code, caller=http://tychousa3.umuc.edu/WebTycho.nsf/setJVMCookie?OpenPage, callee=https://tychousa3.umuc.edu/sys/
    This keeps me from logging in. In order to get it to work, I have to disable Java, log in, then reenable Java after logging in.
    I am able to log in successfully with Firefox but I really prefer to use Safari.
    Does anyone else experience this problem and do you know how to fix it? Any help would be very much appreciated. Thanks.
    iBook 933 - PPC   Mac OS X (10.4.5)  

    I'm reposting. No answer.

  • How do you apply the same password policy to every PDF document you create with inDesign?

    All,
    Adobe peeps!,
    I don't know if this is really supported with inDesign 5.5, but here is my my use case:
    I constantly create more than 10 PDFs a day using inDesign
    On  all PDF's I create, i want to apply password security to protect them
    But in order to do so, within inDesign, I am   always forced to go to the "security dialogue" pane to set up the same permission  and passwords over and over again
    This gets tiring :/
    So what I am hoping to do is  the following:
    Like acrobat, I want to create a password policy within inDesign
    I want all PDFs created to have such a password policy  be automatically applied
    I know acrobat supports something like this (http://help.adobe.com/en_US/acrobat/pro/using/WS58a04a822e3e50102bd615109794195ff-7d68.w.h tml), but, unless I may have missed something, the Acrobat feature is limited. That is, the help link  does not tell me how to automatically do this with Acrobat either (the link does not explain to me how to "automatically apply the same password security policy to every PDF document I save within the application). I think the only way to do so is via "Adobe LiveCycle Rights Management ES", but for non server users, I am hoping there is another way.
    So my questions are:
    Is it possible to create password security policies in inDesign?
    Is it possible to apply the same password security policy to every PDF i create in inDesign?
    If not, can I change default settings within Acrobat ProX to automatically apply a password security policy everytime I save a PDF?
    If all fails, do you guys know of any extensions that can support this?
    Any help would be great. Thanks!

    Steve,
    Thanks for your notes. To follow up on your response.
    Bummer. I kinda had a hunch at this inDesign limitation.
    I have been aware of the method for setting up of a security policy within Acrobat. While this feature does cut down some of the work involved in creating and applying password policies to pdfs, what I am looking for with Acrobat is to apply the same password policy to every document I save from the app. Automatically. Without having to manualy select a policy.
    I think my solution will have to lie in me creating some sort of script to help support this need. I don't think Acrobat Pro X has the capabilities to allow me to tinker with, say, creating a save PDF preset that will allow me to automatically apply a password policy.
    PS. I am using acrobat pro x.

  • Can I have two versions of the same original live in separate projects?

    I am not an Aperature or photography expert.
    I scanned in a ton of old family photos with multiple snaphots on a page and in a single file. Then I imported into Aperature, created new versions, one for each snapshot, then cropped each snapshot, so each snapshot is seperate in Aperature. (I could have learned Spanish with all the time that this took.)
    Then, I tried to organize the ton of photos into projects and it won't let multiple versions of the same original photo be in separate projects. I found a way to change the filenames through Batch Change, but that didn't fix the problem.
    I would like to organize the ton of files, but from what I can tell my only option would be to go back to the scanned files, make copies from Finder as needed, once for each snapshot, reimport into Aperature and recrop each individual snapshot.
    Oh my, I have kids and a job and a husband and I like to sleep at night. Is there any easier way to organize the photos?
    Thank you for your time.
    Carol

    Carol,
    William Lloyd said it all, but perhaps Kirby Krieger's User Tip will explain a bit more the different uses of albums and projects:
                       The Well-Trod Path: a Beginner's Guide to how Aperture's major parts inter-relate
    Then I imported into Aperature, created new versions, one for each snapshot, then cropped each snapshot, so each snapshot is seperate in Aperature.
    You want to find each snapshot separately in Aperture? Perhaps you could explain more, how you want to organize your photos. William pointed out albums to group versions of an image. You could also assign keywords to mark special occasions like birthdays, weddings, etc.  You could assign faces to find photos of persons by name. You can use the search field in the browser to search for photos by face, date, keyword, etc.  Aperture is really great for accessing images in many different ways. There must be a way to access the images in your Aperture library just like you want to.
    Then, I tried to organize the ton of photos into projects and it won't let multiple versions of the same original photo be in separate projects.
    That is, how Aperture works. All versions of an image need to be in the same project, because they are sharing the same imported original image file. Aperture tries to save your disk space, by by not creating image files for the edited versions. Versions are just a set of instructions how to produce the rendered image, when you want to edit it or to export it. Unless you are working with the version, it will live in limbo and it will not exist as an image file. So all versions are kept together in the same project with the original image file that is necessary to render them as an image.
    Léonie

  • When I check my boot SSD drive using Disk Utility under Mavericks, I often get "Incorrect number of extended attributes" errors.  But if I boot off an external drive and check the same SSD, no errors are reported.  Is this a bug in Mavericks?

    When I check my boot SSD drive using Disk Utility under Mavericks, I often get "Incorrect number of extended attributes" errors.  But if I boot off an external drive and check the same SSD, no errors are reported. 
    This happens not just with the SSD in my Mac Mini, but with another SSD in my MacBook (both now running Mavericks).  So far as I know, all of the kit I am using is in good order (despite the file corruption reports).  So I am beginning to wonder if it could be due to a bug in Mavericks?  Both SSD drives have been formatted to MacOS Extended (journaled) format.  Should I have used a different format, I wonder?
    Has anyone else encountered this issue?
    Does anyone have a solution?
    Or an explanation that might help my investigation of the issue?
    Thanks guys,

    I understand that the Corsair Force 3 is not one of the SSD drives that are supported on Apple Macs. 
    I did try downloading and using Trim Enabler, but the error message came up both when it was off and when it was on.
    I understand that not everyone thinks Trim Enabler is a good program, though there is a new version out now, so I may give it another try.

  • "Installation is forbidden by system policy -  Error: 1625" when installing Adobe Products.

    Hi All,
    We run Windows 7 Ent 64 bit OS in our company and recently we have started getting the following error "Installation is forbidden by system policy -  Error: 1625" when installing Adobe Products even though i am logged in as an Administrator.
    We do not have any policies configured in our enviroment to restrict installations.
    Thanks

    Hi,
    May this will help you...
    Error 1625: This installation is forbidden by system policy occurs when installing or updating TurboTax.
    Possible Causes
    You're not logged in as an administrator.
    Your Windows Installer system policy prevents you from installing digitally-signed software updates.
    Solutions
    Log on to your computer with administrative rights, and then install (or update) TurboTax.
    If that doesn't work, you will need to enable installation of digitally-signed software updates:
    Windows 7, 8 or Vista
    Hold down the Windows key and press R to bring up the Run window.
    On the Run window, type gpedit.msc, and then click OK.
    On the Local Group Policy window, navigate to Local Computer Policy, then Computer Configuration, then Administrative Templates, then Windows Components, and then Windows Installer.
    Double-click Prohibit non-administrators from applying vendor-signed updates.
    Click Disabled, and then click OK.
    Windows XP
    Click Start on the Windows taskbar, and then click Run.
    On the Run window, type gpedit.msc, and then click OK.
    On the Group Policy window, navigate to Local Computer Policy, then Computer Configuration, then Administrative Templates, then Windows Components, and then Windows Installer.
    Double-click Prohibit non-administrators from applying vendor signed updates.
    Click Disabled, and then click OK.
    Regards,
    Techvedic

  • How to edit video & exprt in same original settings & lose no quality

    I have always wondered how to do this.
    How can i say, for example, caoture video in DV PAL, bring it into FCP, cut it up, and export it back to DV PAL in the same exact quality that it began. Is it as simple as choosing the same settings for sequence and render settings?
    Also, if i did a screen capture and used the codec Sorenso Video 3, but then wanted to edit it in fcp, how would i edit it and export it so that no qaulity is lost?
    I just want to know if exporting it in the same original settings effects the video, because i know that if you get a 192 bitrate mp3 track and export it using 192 bitrate setting, it recompresses the mp3 again. Is this the same for video.
    If so, how do i got about changing contents in a video, but then export it at the same settings as the previous without losing quality
    Thank guys

    Doan
    You already told me that dv is fine, does this go with all the other formats.
    Sure!
    Also just something quickly of topic a bit. If i export say a .mov on the mac, and say in particular sorenso video 3, are these compatiable on a windows. Because i remeber one time when i capture my dv pal footage on fcp, i couldn't open it on a pc at all.
    I found the following info in Sorenson Site. Look at the Playback requirements in the end of that page.
    HERE IS THE LINK
    http://www.sorensonmedia.com/pages/?pageID=73
    Hope that helps !
      Alberto
    Message was edited by: Silal

  • AD Reconciliation - Password Policy Error

    all,
    I am trying to run AD User Trusted recon. I am getting the following error for each user in AD.. I don't remember seeing this before on this system before and i have run recon successfully in the past. Is there any suggestion how to to go about debugging and fixing this issue?
    <Jan 3, 2012 12:44:24 PM EST> <Error> <oracle.iam.platform.entitymgr.provider.ldap> <IAM-0042002> <An error occurred while creating the entity in LDAP, and the corresponding error is - javax.naming.directory.InvalidAttributeValueException: [LDAP: error code 21 - LDAP Error 21 : [LDAP: error code 19 - Password Policy Error :9004: GSL_PWDNUMERIC_EXCP :Your Password must contain at least 1 numeric characters.
    ]]; remaining name 'cn=luten,cn=users,dc=xxxx,dc=org'>
    thanks in advance,
    Prasad

    I doubt if you can do it now. I haven't worked on LDAPSync to tell you more, but the way I see it is that LDAPSync works with event handlers and since the users are already in, the ldap create event handlers might not trigger. Can you try just by modifying a user which is in OIM and not in LDAP and see if that creates the user in LDAP? If that works, then a simple program to do some dummy update on the user would work for you, if not that you will have to delete all those bad users and rerun the trusted recon by setting the XL.Reuseid = true. Be sure to drop the index on user table for re-using the userlogin.
    -Bikash

  • Multiple tabs of same origin

    DUPLICATE tabs of the same origin are suddenly showing up, i.e. two tabs of my yahoo mail.
    In addition, "yesterday" I was on the FEDEX website, and ever since then, a tab for FEDEX keeps popping up, even though I didn't initiate it.
    I've removed misc. add-ons that could be causing the problem, but that hasn't helped.
    Any ideas. Very strange.
    Norm

    The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information.
    Note: ''This will cause you to lose any Extensions, Open websites, and some Preferences.''
    To Reset Firefox do the following:
    #Go to Firefox > Help > Troubleshooting Information.
    #Click the "Reset Firefox" button.
    #Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
    #Firefox will open with all factory defaults applied.
    Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
    Did this fix your problems? Please report back to us!

  • I'm logged in to Creative Cloud, have saved a web gallery within Lightroom, and am trying to publish my first web gallery.  All seems to be going well until it looks like it's almost finished and I consistently get the same message, 'An error occurred sen

    Am logged in to Creative Cloud, have saved a web gallery, and am trying to publish first web gallery.  Consistently get the same message, 'An error occurred sending the file : connection to the server failed'.  Can somebody help me to resolve this?

    Firstly, have you entered the correct FTP settings as given by the host where you are uploading to?
    Next, try using Export and then uploading via an external FTP program like Filezilla. FTP from Lightroom isn't as robust as a dedicated FTP program.

Maybe you are looking for