Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

App engine angular + nodejs backend http.get reportProgress not giving total

Anyone know why when I use the following code in Angular and run it on App engine to a nodejs backend also in AppEngine

 

return this.http.get(url, {
reportProgress: true, observe: "events"
});
 
I get the loaded property but not the total property. When I run it locally I get both. I'm using this because we load up a very big dataset and want to give the users some kind of progress. 
0 1 161
1 REPLY 1

Since your backend node service is running in App Engine as well, this documentation would apply. Streaming Responses back to the client is not supported. As an alternative, you can try hosting your backend service in a different Google Cloud service, such as Cloud Run that supports response streaming.

Top Solution Authors