Recently, our PowerServer Application seems to be getting transaction timeout errors. Once you get one of these errors, connection to the database is totally lost. Not sure what changed in our Azure environment that could have cause this. Does anyone have experienced with this issue?
- You are here:
- Home
- Q&A
- Q&A
- PowerServer
- PowerServer Application getting transaction timeout errors
- Bernie Rivera
- PowerServer
- Monday, 30 September 2024 17:50 PM UTC
- Monday, 30 September 2024 18:08 PM UTC
- PowerServer
- # 1
Hi Bernie;
My guess is because of some added "involuntary network / DBMS" delays that have cropped in. The best suggestion I have is to add a "heartbeat" feature in your App(s) that pings the PS / DB on a regular basis to prevent timeouts - hence disconnects. Food for thought. HTH
Regards ... Chris
- Bernie Rivera
- Friday, 4 October 2024 15:01 PM UTC
-
Helpful Loading... Helpful 0
- Monday, 30 September 2024 18:11 PM UTC
- PowerServer
- # 2
check for long running processes that keep a transaction open. then adjust the timeout settings, or better yet, change the process to have it complete the transaction faster. That may require changing the process to be an api called process on the server.
- Bernie Rivera
- Friday, 4 October 2024 15:04 PM UTC
-
Helpful Loading... Helpful 0
- mike S
- Friday, 4 October 2024 15:13 PM UTC
almost sounds like network connection issues between the database and the web apis. are they both on azure? are they in the same region? Do you have a local connection between them? firewalls?
what does the event viewer say (or whatever logging is used by the PS web apis?)
I have no idea how or if a reconnect will occur automatically in the web apis, but it sounds like no. we use the regular (not long connection) and have seen none of this.
-
Helpful Loading... Helpful 0
- mike S
- Friday, 4 October 2024 15:13 PM UTC
-
Helpful Loading... Helpful 0
- Monday, 14 October 2024 14:11 PM UTC
- PowerServer
- # 3
do you use azure front door or application gateway to front end the PS webapi calls?
- Monday, 14 October 2024 14:27 PM UTC
- PowerServer
- # 4
I think we may have gotten passed this issue. Did not figure out what the problem actually was but it seems to be build related somehow. We seem to have a build now that is stable. We have other issues to deal with, but they are not a mystery and seem to be issues that we probably can resolved. Thanks.
- Louis Arena
- Wednesday, 23 October 2024 18:33 PM UTC
-
Helpful Loading... Helpful 0
- Page :
- 1
However, you are not allowed to reply to this question.