We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

App not loading from server but loads easily locally

Home Forums General Questions App not loading from server but loads easily locally

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #36676
    johngrigni
    Customer

    I can get my app to run locally through the App Manager, but when I upload it to the server the page never actually loads, it just gets about 3/4 of the way through the bar and hangs.

    The app is here: https://cdn.soft8soft.com/AROAJSY2GOEHMOFUVPIOE:d4c42d0559/applications/Salamander%20Cabinets/index.html

    The app folder is here:
    link removed

    #36678
    jem
    Customer

    Hi John, you are getting a 403 error (forbidden) from CouldFront when you are trying to load the bin file. This is a generic error. One reason AWS responds with 403 is when an application tries to access a file that is not in the S3 bucket.
    In this example, your file names have an inconsistent case. Your puzzles are trying to find a bin file with a lower case “c”, but your bin file has an uppercase “C”. The S3 file system is case sensitive. Macs and PC are more lenient about case. This is why it works locally for you and not in the cloud.

    When dealing with file system naming, the best practice is to use lower case ascii and underscores (e.g. my_file.bin). This represents the lowest common denominator between different OSs and file systems.

    Jeremy Wernick

    #36680
    johngrigni
    Customer

    Thank you for the response. I renamed the files, but nothing happened. It still stops when the progress bar gets to about 75%.

    I’ve used spaces and capital letters before with no problems, so I don’t think that’s it.

    #36682
    jem
    Customer

    Please check again, it is definitely a case mismatch. Internally, the gltf file is referencing “…cabinets.bin” with a lower case c. See attached. So the GLTF filename is spelled with upper case C, but internally it references the bin file with a lower case c. Somehow the case got out-of-sync. You can fix this by re-exporting the gltf/bin pair once the Blender file is properly named. The Verge3d exporter will re-create the gltf file with the correct reference to the newly created bin file.

    I agree that we can use case and spaces, most of the time it works, but some of the time it leads to bugs that are difficult to diagnose. Like this time.

    Attachments:
    You must be logged in to view attached files.

    Jeremy Wernick

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.