on ‎2020 Mar 17 1:10 PM
Dear experts
I'm doing an integration between SAP BO and an third party provider using Service Layer Script Engine, this integration uses the rollback and commit functionality from ServiceLayerContext and makes 2 IncomingPayments and 1 JournalEntry and does it well but sometimes and at a random paces it takes longer to finish procesing and this gives a timeout error to the guys in the other part of this integration.
The error that .NET gives him is: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
Our script as I point out before makes 2 Incoming Payments and 1 Journal Entry and to do so it makes 2 querys to fetch data and edit the final JSON that Service Layer will consume. With this in mind is it possible to optimize resource in HANA to give a faster response with Service Layer and the Script Engine? What could determine the speed of the response?
Hoping to hear from you guys soon
Best regards
Ramon
Request clarification before answering.
Hi Ramón,
Have you tried increasing the proxy timeout in /usr/sap/SAPBusinessOne/ServiceLayer/conf/httpd-b1s-lb.conf?
Regards,
Thiago.
<Proxy balancer://mycluster>
BalancerMember http://localhost:50001/b1s route=node0
BalancerMember http://localhost:50002/b1s route=node1
BalancerMember http://localhost:50003/b1s route=node2
ProxySet stickysession=ROUTEID
</Proxy>
ProxyTimeout 300
<Location /balancer-manager>
SetHandler balancer-manager
</Location>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 25 | |
| 9 | |
| 9 | |
| 7 | |
| 6 | |
| 3 | |
| 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.