Description of problem: Try to access aerogear app url (http://push1s-111.dev.rhcloud.com/ ) in web, "Internal Server Error" or "not found" or a blank page return, refer to attachments for detail. If manually change the app url to https (eg: https://push1s-111.dev.rhcloud.com/ ), the app could show normally Version-Release number of selected component (if applicable): devenv_5227 How reproducible: Always Steps to Reproduce: 1. Create scaling aerogear app from website 2. Access the app url Actual results: Same as description Expected results: App could direct to https and show normally in web. Additional info: Issue could be always reproduced by scaling app, but reproducible for non-scaling is not 100%
Created attachment 946246 [details] blank page
Created attachment 946247 [details] not found page
Created attachment 946248 [details] internal server error page
Yan Du, can you check the quota for the non-scaled app?
Hi, Michal Here is the non-scaled app quota: [push1-111.dev.rhcloud.com 543cc2f1172828486f00003b]\> quota -s Disk quotas for user 543cc2f1172828486f00003b (uid 1001): Filesystem blocks quota limit grace files quota limit grace /dev/xvda1 487M 0 1024M 6220 0 80000 I just try again with the latest env (devenv_5231), blank page return for both scaling and non-scaling apps when access the apps' http url, still could not direct to https
OK so I did some investigation and this is what I found... The blank page is because it fails to fetch https://aerogear-mfojtik.dev.rhcloud.com:8443/auth/js/keycloak.js file. (when accessing http://aerogear-mfojtik.dev.rhcloud.com/ag-push/)... When I tried curl, I got 503 and I can't see anything in the logs and neither haproxy-status shows a gear is down... The 404 error is due to aerogear takes some time to launch (1-2 minutes in my case) and since it is fully available it shows 404 error. After 1-2 minutes, I can also successfully (in browser) access the https://aerogear-mfojtik.dev.rhcloud.com/ag-push/ and it redirects me to the login screen. Ben, there are 2 issues here: 1) Aerogear is slow to start when scaled. I can't see anything we can do to fix this one. 2) The 'keycloack.js' file fail to load when using http, which I think is an upstream bug. Do you know who is responsible for this quickstart?
Farah, fyi ^^
Matthias might know about this.
*** Bug 1153051 has been marked as a duplicate of this bug. ***
ping? ;-)
looking
fixed and merged https://github.com/aerogear/openshift-origin-cartridge-aerogear-push/pull/7
Matthias thanks a lot!
Test on devenv_5248, issue have been fixed. Move to verified.