Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Application not fully loading #3

Closed
thescott opened this issue Aug 3, 2018 · 7 comments
Closed

Application not fully loading #3

thescott opened this issue Aug 3, 2018 · 7 comments
Labels
accepted Bugs that have been triaged (if needed) and are pending fixing bug Something isn't working

Comments

@thescott
Copy link

thescott commented Aug 3, 2018

Expected Behaviour

The deployed application should allow me to see the web portal.

Actual Behaviour

Blue loading circle that never goes away. Console error states
Uncaught wYmessage: "API discovery response missing required fields."stack: "gapi.client.Error: API discovery response missing required fields.↵ at new wY (https://apis.google.com/_/scs/apps-static/_/js/k=oz.gapi.en.3ztcf60wj34.O/m=client/rt=j/sv=1/d=1/ed=1/am=wQ/rs=AGLTcCO1iMQ1m2V7qF5KgDW5wzPda2t5Hw/cb=gapi.loaded_0:672:159)↵ at f (https://apis.google.com/_/scs/apps-static/_/js/k=oz.gapi.en.3ztcf60wj34.O/m=client/rt=j/sv=1/d=1/ed=1/am=wQ/rs=AGLTcCO1iMQ1m2V7qF5KgDW5wzPda2t5Hw/cb=gapi.loaded_0:723:83)↵ at h.r2 (https://apis.google.com/_/scs/apps-static/_/js/k=oz.gapi.en.3ztcf60wj34.O/m=client/rt=j/sv=1/d=1/ed=1/am=wQ/rs=AGLTcCO1iMQ1m2V7qF5KgDW5wzPda2t5Hw/cb=gapi.loaded_0:84:107)↵ at xs (https://apis.google.com/_/scs/apps-static/_/js/k=oz.gapi.en.3ztcf60wj34.O/m=client/rt=j/sv=1/d=1/ed=1/am=wQ/rs=AGLTcCO1iMQ1m2V7qF5KgDW5wzPda2t5Hw/cb=gapi.loaded_0:87:306)↵ at Wq (https://apis.google.com/_/scs/apps-static/_/js/k=oz.gapi.en.3ztcf60wj34.O/m=client/rt=j/sv=1/d=1/ed=1/am=wQ/rs=AGLTcCO1iMQ1m2V7qF5KgDW5wzPda2t5Hw/cb=gapi.loaded_0:87:186)↵ at .C.uea (https://apis.google.com/_/scs/apps-static/_/js/k=oz.gapi.en.3ztcf60wj34.O/m=client/rt=j/sv=1/d=1/ed=1/am=wQ/rs=AGLTcCO1iMQ1m2V7qF5KgDW5wzPda2t5Hw/cb=gapi.loaded_0:87:52)↵ at Ap (https://apis.google.com/_/scs/apps-static/_/js/k=oz.gapi.en.3ztcf60wj34.O/m=client/rt=j/sv=1/d=1/ed=1/am=wQ/rs=AGLTcCO1iMQ1m2V7qF5KgDW5wzPda2t5Hw/cb=gapi.loaded_0:80:284)↵ at t.invoke (https://onixgrabandgopoc.appspot.com/application.js:1:2143786)↵ at a.run (https://onixgrabandgopoc.appspot.com/application.js:1:2138956)↵ at https://onixgrabandgopoc.appspot.com/application.js:1:2148884"__proto_: _.se

Steps to Reproduce

I have created a Compute Engine resource that I am using to push to app engine. When I pull/clone my code to my MacBook I observe the same behavior.

Should this project be open to the world in order for the site to work properly?

@cupajoe24
Copy link
Contributor

Hey, thanks for reporting this. Is there anything showing in the backend logs? You can view them at console.cloud.google.com. Select Logging from the side menu.

@thescott
Copy link
Author

thescott commented Aug 8, 2018

Hi, Joe thank you for the reply,
I am not seeing any errors all I can find are notices that the cron job runs which appears to be normal behavior.

@helfrichmichael
Copy link
Member

So if you attempt to access the web application and then check the logs on console.cloud.google.com, you should see the error as one of the items in the log list (it may take a few seconds to show up). Additionally, does this issue happen before or after you click login on the web app?

@thescott
Copy link
Author

thescott commented Aug 8, 2018

I am not even presented a login
I get a nice blue circle when I inspect the page is when I get the data I posted in my initial report.

@helfrichmichael
Copy link
Member

When you open that page, does anything show up on the console.cloud.google.com logs for the project though?

@thescott
Copy link
Author

thescott commented Aug 8, 2018

Yes I get logs the only error at the moment is
No enabled reminder events. loaner/web_app/backend/handlers/cron/run_reminder_events.py:62
Aside from that everything is clean

@cupajoe24 cupajoe24 added bug Something isn't working accepted Bugs that have been triaged (if needed) and are pending fixing labels Aug 14, 2018
@thescott
Copy link
Author

Editing config.ts
export const PROD = 'prod-app-engine-project';
Needs to be the project name without appspot.com
Also
API needs to follow the convention.
qa: https://endpoints-dot-${QA}.appspot.com,

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
accepted Bugs that have been triaged (if needed) and are pending fixing bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants