Hi community,
we have a CAP application deployed to BTP with managed app router (SAP Build Workzone).
The deployement is done via MTA file.
An operation implemented in Nodejs can sometimes take more than 30 seconds. Even though the backend is still proceeding, the frontend is getting back a Gateway timeout error after exactly 30 seconds.
I've tried to set some timeout parameters in the MTA file, for example here (trying to set it to 300 seconds):
This results into this:
But the application still aborts after 30 seconds.
Is there a a way to increase those 30 seconds?
Thank you very much
Daniel
Request clarification before answering.
Hi Daniel,
I experienced the exact same scenario a few days ago: a long running backend task, but Fiori didn't want to wait and threw the error after 30 seconds.
I tried the same `HTML5.Timeout` setting and a first test showed it didn't work. However, I kept the setting there, and the next day it suddenly worked.
So I think it comes down to some caching in the inner workings of the managed approuter. Try with a full redeployment, give it some time, and eventually it will abide by your setting.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Willem,
thanks for your reply!
I can confirm this: It seems to have something to do with the caching mechanism, as you explained.
It also works for me now. To be able to test it (with the parameter active and inactive), I've tested the application now in a private mode browser and could reproduce it each time. Before that, I've always refreshed the HTML5 content channel in SAP Build Workzone (which should handle cache buster index imho). But that doesn't seem to work in this scenario.
Nevertheless, I'm happy that this parameter works, thanks for your fast reply! 🙂
All the best
Daniel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.