Could anyone please tell me what these errors mean?

0 favourites
  • 3 posts
From the Asset Store
7 Errors
$15 USD
7 Errors is a game where you have to find the 7 mistakes before time runs out. Can you find all 7? Have fun looking.
  • Hi guys

    Someone I'm working with is having a problem getting a C3 game on their server to work on iOS.

    The same game works just fine on my server (Bluehost), so I'm wondering whether they might have some scripts missing etc.

    This is the errors I get (iOS) when I test the game on their server ...

    [Error] Origin http://www.[somesite].org is not allowed by Access-Control-Allow-Origin. [Error] Fetch API cannot load https://www.[somesite].org/not_found.asp due to access control checks. [Error] Failed to load resource: Origin http://www.[somesite].org is not allowed by Access-Control-Allow-Origin. (not_found.asp, line 0) [Error] no handler for message type 'OpusDecode' OnDispatchWorkerMessage (jobworker.js:1:2248) [Error] no handler for message type 'OpusDecode' OnDispatchWorkerMessage (jobworker.js:1:2248) [Error] Origin http://www.[somesite].org is not allowed by Access-Control-Allow-Origin. [Error] Fetch API cannot load https://www.[somesite].org/not_found.asp due to access control checks. [Error] Failed to load resource: Origin http://www.[somesite].org is not allowed by Access-Control-Allow-Origin. (not_found.asp, line 0) [Error] [Construct 3] Failed to load audio 'media/robotic_insect_movement_02_leg_+_footstep_stereo.webm': – TypeError: Origin http://www.[somesite].org is not allowed by Access-Control-Allow-Origin. TypeError: Origin http://www.[somesite].org is not allowed by Access-Control-Allow-Origin. (anonymous function) (main.js:1:45671) asyncFunctionResume (anonymous function) promiseReactionJob

    Any ideas on what this means (something to do with audio decoding?)

    PS. For privacy reasons, I've changed the website name to [somesite] - in the error message above

    Thank you heaps in advance :)

  • A core security principle of the web is: loading resources from other domains is disallowed by default, unless the server specifically allows it. The error messages are because you appear to be trying to fetch an audio file from a different domain, and the server is not set up to specifically allow it.

    Read up on Cross-Origin Resource Sharing (CORS) to learn more. Usually it comes down to adding the HTTP header Access-Control-Allow-Origin: * on the response.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Ashley - Thanks heaps for your help and the link :)

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)