Page 1 of 1

PAW - TI process timed out

Posted: Fri Jan 29, 2021 3:50 pm
by michalb
Hello,

I use Planning Analytics Workspace 2.0.53. There are excel applications with buttons that run TI processes.

When I run any process via PAW that has execution time more than few minutes, after 2 minutes I get a messege from PAW "The request timed out. The process is still ongoing. Use the server logs to verify that the process has finished. "

When I check Tm1Top the process is still indeed ongoing and it finishes after few minutes - after refreshing PAW I can see the result of this process, but there is no more message about finishing of this process in PAW.

This message about timing out from PAW started popping out recently. Previously I could even wait for the process to be executed after 20 minutes without this message (but with message about sucsesfull finish).

Problem doesn't occur in TM1 Architect, so my guess there is somewhere in PAW config file (no clue if such a thing exists) a parameter that defines this - can you tell me where I can find it and how to modify it?

Re: PAW - TI process timed out

Posted: Fri Jan 29, 2021 4:22 pm
by John Hammond
Switch to action buttons that are synchronous and dont use the API call of a normal excel button which is async.

Why this crazy modern obsession with doing stuff Async?

Re: PAW - TI process timed out

Posted: Sat Jan 30, 2021 5:58 am
by Alan Kirk
John Hammond wrote: Fri Jan 29, 2021 4:22 pm Why this crazy modern obsession with doing stuff Async?
As a general principle it's because async processes allow code which doesn't depend on the parent code to use all those other yummy processor cores to do other stuff at the same time without being blocked and waiting unnecessarily. It can get you from A to B more efficiently, even if you need to make side trips to C, D and E along the way. There are, however, two fundamental principles that need to be understood.

When async works, it works well.

When PAW works well, it's a fricking miracle.

Re: PAW - TI process timed out

Posted: Sun Jan 31, 2021 6:53 pm
by michalb
Thanks for responses, but assuming I must stick to the excels - is there any place in configuration files where I can modify this irritating window that pops out?

edit:
i added ProxyTimeoutSeconds=3600 to /config/paw.env and it works