Martin Hellwagner Martin Hellwagner - 8 months ago 106
Node.js Question

502 Bad Gateway Error when accessing Google Firebase Hosting from Google App Engine

I'm running into a 502 Bad Gateway Error when wanting to access static files hosted on Google Firebase Hosting from a Node.js app hosted on Google App Engine. When accessing the same files from my local machine, everything is working fine. All the CORS headers are defined properly.

Am I missing something else, like an access key for Firebase or so? I believe the problem might lie with my

deployment file.

502 bad gateway


Solved the problem myself! Since most middleware is bundled with Express, it was necessary to manually add the package for my EJS views in package.json.