Closed yuvirajsinh closed 2 years ago
I'm getting the same error and problem for all existing appbox links. Fails in destop browsers and on iPhone with the same error.
+1, I'm having the same issue on all my apps
Same Issue for me as well.
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.
@vineetchoudhary Thanks for the quick response!
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.
Working great for me, thank you!
P.S. I think Heroku is already hosted on AWS
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.
👍
@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.
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...
@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!
Describe the bug
Not able to access any builds uploaded through AppBox. Share URL page opens with error.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Share URL page should open with options to Install latest build or Install previous builds
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Facing this issue suddenly from today, it was working till yesterday