Git Product home page Git Product logo

Comments (12)

vineetchoudhary avatar vineetchoudhary commented on June 2, 2024 1

Hi All,

There are some breaking changes from Dropbox. Now Dropbox no longer allows Cross-Origin requests which we used to fetch build information on web.getappbox.com. When you try to open your build installation web page you will see something like this on your web console -

Access to XMLHttpRequest at 'https://dl.dropboxusercontent.com/s/y5XXXXXXXXXXXXp/appinfo.json' from origin 'https://web.getappbox.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Right now I think a proxy server will help us to make AppBox work again. So, I'm working on it and keep you guys updated.

from appbox-iosappswirelessinstallation.

radubogdan2k avatar radubogdan2k commented on June 2, 2024 1

Working great for me, thank you!

P.S. I think Heroku is already hosted on AWS

from appbox-iosappswirelessinstallation.

kimalive avatar kimalive commented on June 2, 2024

I'm getting the same error and problem for all existing appbox links. Fails in destop browsers and on iPhone with the same error.

from appbox-iosappswirelessinstallation.

radubogdan2k avatar radubogdan2k commented on June 2, 2024

+1, I'm having the same issue on all my apps

from appbox-iosappswirelessinstallation.

akkalbhor avatar akkalbhor commented on June 2, 2024

Same Issue for me as well.

from appbox-iosappswirelessinstallation.

radubogdan2k avatar radubogdan2k commented on June 2, 2024

@vineetchoudhary Thanks for the quick response!

from appbox-iosappswirelessinstallation.

vineetchoudhary avatar vineetchoudhary commented on June 2, 2024

Hi Everyone,

Just created a proxy server on Heroku for a temporary time to make AppBox Web work. Now you can see all dl.dropboxusercontent.com request is going through the Heroku proxy server appbox-proxy-server.herokuapp.com. So, with this proxy server, all our existing apps will work as it is.

As this proxy server is now life line of AppBox, I'll move this proxy server to a more stable place like on AWS or Azure with some high availability so we can have this up 24x7.

Let me know if you guys still facing some issues.

from appbox-iosappswirelessinstallation.

vineetchoudhary avatar vineetchoudhary commented on June 2, 2024

Yes @radubogdan2k. But I think Heroku doesn't provide a load balancer. I'm thinking like we can host two-three instances of this proxy server and then handle requests via a load balancer if one instance dies then another one can handle the requests. Also, some of our users create huge requests on AppBox Web at a same period of time (like for a day). So, multiple instances can handle these requirements very easly.

from appbox-iosappswirelessinstallation.

radubogdan2k avatar radubogdan2k commented on June 2, 2024

👍

from appbox-iosappswirelessinstallation.

radubogdan2k avatar radubogdan2k commented on June 2, 2024

@vineetchoudhary I'm assuming the iOS client is downloading the IPA directly from dropbox, right? I'm asking because earlier I only tested that the AppBox page is loading correctly but now actually trying to install the app (which is a few hundred MB), the iOS client is just staying on Waiting... for 10 minutes now instead of starting the Loading phase... just wondering if it's related to today's issue.

from appbox-iosappswirelessinstallation.

vineetchoudhary avatar vineetchoudhary commented on June 2, 2024

iOS client directly accesses the manifest and IPA file from Dropbox. CORS policy only applies to Websites with different domain names. So, I don't think this is related to the CORS policy. I just tested and the app installation is working fine. Can you please check the app signing things like provisioning profile, certificate etc...

from appbox-iosappswirelessinstallation.

radubogdan2k avatar radubogdan2k commented on June 2, 2024

@vineetchoudhary It unblocked by itself after 25-30 minutes. Weird, no idea why the delay. Anyway, all good now, thanks again for the quick fix!

from appbox-iosappswirelessinstallation.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.