My angular 4.3.2 code is calling my back-end service that takes 2-4 minutes to return. Using just the default this.http.get
code, I see that the default timeout kicks in after 2 minutes. However when I try to put in a timeout of anything OVER 2 minutes, it fails in that it will never let the timeout be over 2 minutes.
I've tried with 100, 100000 (1.7m) and 114000(1.9m) and those work in that it gets timed out right at those values. But when I try 126000 (2.1m), 180000 (3m) and 1800000 (30m), again I see it times out after 2 minutes.
this.http.get('myUrl')
.timeout(126000)
.map((res: Response) => this.convertResponse(res));
I've also tried it with .timeoutWith(126000, Observable.throw(new Error("Timed out")))
to no avail.