Joshua
Joshua

Reputation: 43

Fail to download static files from Google App Engine

Our website is hosted on Google App Engine: https://www.boutir.com/

Without any code/dns/config changes today, the static files like .js/.css suddenly fail to load. The network inspector shows that the file is pending forever. Occasionally though the files would load successfully. How do we solve the issue?

It is interesting to note that if we use the PROJECT_ID.appspot.com domain, there would be no such issues.

Our app.yaml looks something like this:

runtime: python27

handlers:
-  url: /js
   static_dir: pages/js
   secure: always

Upvotes: 0

Views: 114

Answers (1)

oakinlaja
oakinlaja

Reputation: 906

Similar issue reported in the past was observed to be related to the DNS configuration of the Custom Domain. Particularly since you confirm that the Static Contents are being served as expected with the appspot domain.

With that being said, there was an internal GCP issue reported earlier suggesting that requests for App Engine endpoints that serve static content may be failing with Customers seeing ”204 No Response” with 0 bytes data, or request hangs indefinitely. I have information that this issue is now resolved, however.

Upvotes: 1

Related Questions