Makesure the target window that you (or Facebook) is posting a message to, has completed loading. Most of the times I've gotten this error were when an iframe I was sending messages to had failed to load.
I was tryina do cross-domain messaging between parent page and embedded iframe. Was unsuccessful using
window.postMessage('text', '*'); - the message just never got received on the iframe's side.
In my case the app was served with SSL (HTTPS) and the iframe was calling a pure HTTP page. My browser blocked the request for security reasons. I needed to disable it by clicking the padlock next to the URL or use an https link to the iframe page.
The easiest way to get this message is to forget the second "origin" argument in the call postMessage(message, origin). "origin" in this context are the origins of the pages you're happy to send your message to. (The user may have navigated away from the origin you presume. This gives you the chance to protect yourself. Put "*" to rule this out as a cause of your problem.)
@laurapatopaz ensure that your Firewall and/or Antivirus are not blocking the connection. The easiest way would be adding an exception for the Origin Client,
You need to do this> add firewall/antivirus exceptions for Origin and open the needed ports -issues-with-origin/#1
First step... updating your Origin client...to the latest Beta version /top left Origin menu, Application Settings - General..
The second step... restart Origin and make sure you are the administrator, run the setup file Origin with Admin rights, click HERE to fiind how.
Restart Origin.
And make sure your internet connection is not running through a proxy.
I don't work or have any association with EA. I give advice to the best of my knowledge and cannot be held responsible for any damage done to your computer/game.
Please only contact me via PM when asked to do so.
When i play on my mac i load up and then when it says maxis on it it just disappears the it says sims 4 quit unexpectedly and i gives me options ok and reopen if i press reopen it does the same thing and if i press ok the message goes away and i tried uninstalling its and installing it again and then i tried and pressed update game and i also tried the fix game button please!! help me!
Using the GitHub Windows client I did a sync to pull remote changes to my local machine, but before finishing the sync, I ran out of disk space and the sync failed. Now I seem to have a bunch of local changes that are actually changes that were being pulled from origin. I tried to run git pull but got:
In my case, this was caused by using the same Git repo from both admin and non-admin command prompts. When last git pull was from admin cmd, the index was created by it, and then non-admin cmd had insufficient permissions to modify it.
Specifically I was using the excellent cmder application as a non-admin, which resulted in the rename message appearing. By running cmder as an admin, then performing the checkout again, it worked fine.
When the index is locked and child processes inherit the handle to said lock and the parent process wants to remove the lock before the child process exits, on Windows there is a problem: it won't work because files cannot be deleted if a process holds a handle on them.
This leaves us with the only way out: creating temp files with the O_NOINHERIT flag. This flag is Windows-specific, however.
For our purposes, it is equivalent to O_CLOEXEC (which does not exist on Windows), so let's just open temporary files with the O_CLOEXEC flag and map that flag to O_NOINHERIT on Windows.
I removed index and index.lock (in the .git folder) and ran git checkout . to undo the changes and resolved, but if I wanted to commit the changes I would have run git add -A after git commit -m "description"
I ran into this issue and wanted to post the answer for future searchers. Windows confirmed only. I got this when my git repository was under a directory that requires elevated permissions, AND I was running git from a process(cmd.exe) that did NOT have permissions to write to that folder, thus it could not clear the lock.
I had a similar issue with Git. The solution for me was to delete the solution locally through windows explorer, and then re-clone the repository. This removed all the files that were stored locally on my machine, and resulted in the
This is caused when antivirus or OS defender (for example Windows Defender) is running. The solution: turn off antivirus for several minutes make your add, commit and push. Turn on antivirus.
It will work.
I tried a lot of suggestions. At times, a commit would succeed, but then the error returned. At last, pausing Dropbox sync seems to have done the trick! I have no clue how Dropbox sync could cause this error for longer than a few moments (the time required to sync my 24K .git/index).
I copied (in Windows 10) the whole project to a new folder. Pushed from there to the origin (at that no index problem issued). Then I returned back to the project directory, where the problem occured. Deleted .git directory. Initialized anew (git init). Added to the index (git add . ). Fetched from the remote origin and merged. That's all there is to it.
Hello, I have been trying to download my sims 4 and something will pop up on the screen (An unexpected error has occurred. Please try again in a few moments. Error: -4:302). Before this I have been playing sims 4 and it worked fine. I dont know what and how to solve this problem so I hope that someone can help me.
My Opinion is no more important or right than yours.I'm a gamer like you, trying to help you (i'm not an EA employee).
If you want to know us or/and come up with ideas to improve the Origin platform or/and talk about anything and many more besides,you could also visit the NEW section Origin General Discussion -Discussion/bd-p/origin-general-discussion-en
I have been trying everything and even ended up completely trashing the sims 4 folder which completely restarted my game. I don't have a firewall or anti-viruses. I NEED HELP. I already bought the pack, "cats and dogs" but it keeps saying Download failed, please choose "yes" when windows prompts you for permission but I have a Mac. Can anyone help? It might be something with "The Sims 4 Packs" folder but I honestly don't know.
Hi! I have just bought the Sims Medieval Deluxe pack via Origin and I have just read through forums that people were having trouble with the game with Mac, which I have, I have an IMac late 2013. Processor 2.7 GHz Intel Core i5, 8GB memory my graphics are Intel Iris Pro 1536 MB, and i am having trouble with the 'initialization failed' i know this post was made a year ago and i dont know if anyone is active anymore, but now its 2018 is there any solutions you guys know about?
Many thanks,
@PurpleMoon2003 you have better chances for an answer here, as The Sims boards have this section for Mac users and there are at least two heroes there that they know their way around a Mac. Maybe one of them can help.
@PurpleMoon2003 did you try the following steps? This is copied from another post I wrote on a similar subject. I would uninstall Sims Medieval and reset Origin before trying these steps. Make sure to do a manual uninstall like Sims 3 as both games share a similar architecture. -to-do-a-clean-uninstall-and-reinstall-on-a-mac/
"I was able to fix it by first installing everything, then repairing origin, and then installing the base game alone (which gave me a different error code frequently mentioned on the boards here). After that I repaired origin again, launched the game to get the error code, disabled origin in-game while the error code window was opened, closed the error window, repaired origin a third time, downloaded Pirates and Nobles to get the original "Unable to start game Service initialization failed (0x039e8474)" error code, repaired origin a 4th time, cleared the cache one last time, and launched the game successfully. "
This issue also means that the Transmission Control Protocol (TCP) handshake between the web server and Cloudflare has failed. The TCP handshake is essential to establish a connection whenever this CDN service receives a user request.
A common cause behind the Cloudflare error 522 is that a web server cannot handle HTTP requests as it is already overwhelmed. This issue often happens with shared hosting servers. To troubleshoot this error message, check if the origin web server is active and accepting HTTP requests.
Another reason your origin server is not working might be the high load of requests to your website. So, check your order usage to avoid hitting any limits. Each hosting provider will have its own way of accessing this information.
Cloudflare will import all DNS records when integrating into a domain. One of the records is the Address Record (A Record), responsible for connecting the domain with the IP address of the origin web server.
Therefore, an IP address mismatch can cause the Error 522: Connection timed out message. The A Records on the hosting server and Cloudflare have to match to avoid this issue. Open the DNS Zone Editor and check the A Records to fix this issue.
Next, head to your Cloudflare Configuration Menu and click on the DNS button. Under it, check the IP address next to Type A. Make sure the IP addresses are the same on both DNS servers.
Cloudflare uses the KeepAlive header entry to maintain established connections with the web server. KeepAlive is an instruction that keeps the TCP connection with HTTP requests to remain open.
The Cloudflare error 522 happens when a server takes longer than the specified time to respond to requests. Some of the common reasons behind this issue are insufficient memory or CPU, your firewall blocking an IP address, and a disabled KeepAlive header.
3a8082e126