<div dir="ltr">Hi Martin, Alen,<br><br>Apologies for the delayed follow-up — and Martin, 

 thank you for highlighting the issue.<br><br>As you mentioned, the delay was caused by the <i><b>getNews()</b></i> function in <i><b>Modules/Users/views/Login.php</b></i>, which was waiting on an external response that didn’t arrive. The login page only continued once the curl->exec() call timed out, leading to a brief window of 503 errors for new logins. Users already logged in were unaffected.<br><br>Over the past few weeks, we investigated the issue, tested application-level adjustments, and finally implemented infrastructure-level caching for a more scalable and reliable solution. We also monitored the changes closely to ensure stability.<br><br><b>Here’s what we put in place:</b><br><ul><li><b>DNS-layer caching</b>, with tuned TTLs to speed up resolution</li><li><b>Edge caching</b> for the News API (including JSON), so external delays don’t block login</li></ul>Since making these updates, the system has been performing consistently well, with no recurrence of the 503 errors.<br><br><b>For example</b> <b>:</b> In the last 7 days alone, over 94% of requests 

— 

including 16M+ JSON responses from /api/app/news - were served directly from cache. This has greatly reduced backend news API server load and improved response times.<br><br>We’d really appreciate it if you could review from your end and share any feedback. Your early report helped us narrow this down quickly 

— 

thanks again!</div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Sat, Mar 8, 2025 at 10:12 PM Varma Namburi <<a href="mailto:varma@vtiger.com">varma@vtiger.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Martin, Alen,<br><br>This is Varma Namburi from the Vtiger Team.<div><br>Sorry for the delay, and thanks for your patience! We really appreciate you bringing this up. We've noted the impact of the getNews() function call and are reviewing it internally to explore ways to make the login page more resilient in cases like this.</div><div><br>We're actively looking into this and will follow up with any updates. Thanks again for your insights and for bringing this to our attention!<div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 7, 2025 at 8:09 PM Martin Allen <<a href="mailto:martin.allen@exe-squared.co.uk" target="_blank">martin.allen@exe-squared.co.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">It was down for about 5 minutes, then went to responding with a 503 response, then came back up normally very shortly after.<br>
<br>
Worth looking at the code in Modules/Users/views/Login.php and specifically the getNews() function call. <br>
Basically it was waiting for a response that didn’t come, so only continued when the curl->exec() call timed out.<br>
<br>
Anyone already logged in was unaffected - and as all our monitoring is just checking the login page, we had LOTS of alarm bells ringing for a short time!<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:vtigercrm-developers-bounces@lists.vtigercrm.com" target="_blank">vtigercrm-developers-bounces@lists.vtigercrm.com</a> <<a href="mailto:vtigercrm-developers-bounces@lists.vtigercrm.com" target="_blank">vtigercrm-developers-bounces@lists.vtigercrm.com</a>> On Behalf Of Alan Lord<br>
Sent: 07 March 2025 13:35<br>
To: <a href="mailto:vtigercrm-developers@lists.vtigercrm.com" target="_blank">vtigercrm-developers@lists.vtigercrm.com</a><br>
Subject: Re: [Vtigercrm-developers] Marketplace down - causing Slowdown<br>
<br>
All seems OK for me...<br>
<br>
Al<br>
<br>
On 07/03/2025 13:23, Martin Allen wrote:<br>
> Looks like <a href="http://marketplace.vtiger.com" rel="noreferrer" target="_blank">marketplace.vtiger.com</a> is down – and this is causing the <br>
> vTiger login view to be incredibly slow on every single installation <br>
> we look after!<br>
> <br>
> *Martin Allen*<br>
> <br>
> *Exe Squared Ltd*<br>
> <br>
> 01392 690659 (Direct)<br>
> 01392 248692 (Main Office)<br>
> <br>
> **<br>
> <br>
> The information in this email is confidential If you are not the <br>
> intended recipient, you must not read or use that information. This <br>
> email and any attachments are believed to be virus free however no <br>
> responsibility is accepted by Exe Squared Ltd for any loss or damage <br>
> arising in any way from receipt or use thereof. Exe Squared Ltd <br>
> Company Reg Number 12185709, is based at Silverdown Park, Fair Oak <br>
> Close, Exeter Airport Business Park EX5 2UX.<br>
> <br>
> <br>
> _______________________________________________<br>
> <a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br>
_______________________________________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br>
<br>
_______________________________________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a></blockquote></div><div><br clear="all"></div><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature">Thanks & Regards,<br>Varma.<br>VtigerTeam.<br><br><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px"><b>Connect with us on: </b><a href="http://twitter.com/#%21/vtigercrm" style="color:rgb(0,0,204)" target="_blank">Twitter</a> <b>I</b> <a href="http://www.facebook.com/pages/vtiger/226866697333578?sk=wall" style="color:rgb(0,0,204)" target="_blank">Facebook</a> <b>I</b> <a href="http://blog.vtiger.com/" style="color:rgb(0,0,204)" target="_blank">Blog</a><b> I</b> <a href="http://wiki.vtiger.com/index.php/Main_Page" style="color:rgb(0,0,204)" target="_blank">Wiki</a> <b>I </b><a href="http://forums.vtiger.com/" style="color:rgb(0,0,204)" target="_blank">Forums </a><b>I</b> <a href="http://vtiger.com/" style="color:rgb(0,0,204)" target="_blank">Website</a></span><br></div></div></div></div>
</blockquote></div><div><br clear="all"></div><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature">Thanks & Regards,<br>Varma.<br>VtigerTeam.<br><br><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px"><b>Connect with us on: </b><a href="http://twitter.com/#%21/vtigercrm" style="color:rgb(0,0,204)" target="_blank">Twitter</a> <b>I</b> <a href="http://www.facebook.com/pages/vtiger/226866697333578?sk=wall" style="color:rgb(0,0,204)" target="_blank">Facebook</a> <b>I</b> <a href="http://blog.vtiger.com/" style="color:rgb(0,0,204)" target="_blank">Blog</a><b> I</b> <a href="http://wiki.vtiger.com/index.php/Main_Page" style="color:rgb(0,0,204)" target="_blank">Wiki</a> <b>I </b><a href="http://forums.vtiger.com/" style="color:rgb(0,0,204)" target="_blank">Forums </a><b>I</b> <a href="http://vtiger.com/" style="color:rgb(0,0,204)" target="_blank">Website</a></span><br></div>