IMPORTANT: 500 error when multiple users

Home Forums Legacy Support 4.0 Bugs & Issues IMPORTANT: 500 error when multiple users

Viewing 15 posts - 1 through 15 (of 24 total)
  • Author
    Posts
  • #342452
    Chala88
    Spectator
    As soon as I do a campaign and there is a peak of users, the page falls and shows error 500. It also falls if I open multiple tabs at the same time. I contact my server and they told me: "you have a lot of POST type traffic that users generate when they log into your website through the plugin you use https://wplms.io/ These types of requests are not cached on the server. If, for example, analyzed the number of requests that are made from the backend per user, you can see what you can see in the following log: http://prntscr.com/106pad1 As you can see, in the interval of 1 second, 17 requests of this type are made. If you have more users connected, this traffic multiplies. Requests of this type also require internal processing on the server and queries to your application's database. We recommend that you contact the plugin support so that they can help you minimize all this type of traffic generated from the backend of your website with logged in users.
    #342479
    Chala88
    Spectator
    Another example: "Hello, I have been reviewing the number of requests as mentioned, and I see that they continue to be carried out in a short period of time, for example I see at the end, the following: http://prntscr.com/106y97p In this case, the requests by a user are 15 per second that are generated in the backend, which by having several users connected affects the performance and use of resources of your hosting, affecting the operation of your website.
    #342520
    MrVibe
    Keymaster
    ok, thank you for details and this vital information. Please remove all "DASHBOARD:" widgets from non-dashboard pages. Also make sure you have not selected dashboard as your perferred sidebar in posts and pages. It seems you have either selected the dashboard sidebar which is supposed to work only inside the PWA , in the page and posts make sure you select "main sidebar" in page settings : https://prnt.sc/107e9d8 --- From above logs here's what is happening. 1. You selected a sidebar in posts and pages which is the dashboard sidebar 2. All dashboard widgets are loaded 3. All including their scripts on page 4. All making a API hit and then turning to 404 after max timeout. ---
    #342538
    Chala88
    Spectator
    Hi, I confirm that I dont have selected "dashboard sidebar" in pages, posts nor courses. I have selected "course sidebar" in courses and "main sidebar" in pages and these sidebar are empty. Screenshot course sidebar: http://prntscr.com/107h512 Screenshot course settings: http://prntscr.com/107ha3i Screenshot page settings: http://prntscr.com/107haqn In fact I don't have any active dashboard widget in any menu. Screenshot: http://prntscr.com/107hdga
    #342541
    Chala88
    Spectator
    Look the waterfall: http://prntscr.com/107hnmd http://prntscr.com/107hok3
    #342773
    MrVibe
    Keymaster
    ok, since the course progress is included, can you also confirm if the Dashboad widgets are not included in the Footer , top footer and bottom footer sidebars of your site ? Also share WP admin details to check your site.
    #343109
    Chala88
    Spectator
    This reply has been marked as private.
    #343416
    Anshuman Sahu
    Keymaster
    This reply has been marked as private.
    #343418
    Anshuman Sahu
    Keymaster
    I guess you added these block for mobile optimization but this is causing issues with the script as for each button we run a api hit to fetch user course status .
    #343472
    Chala88
    Spectator
    PLease, I need URGENT help. My webpage is showing error 500 a lot. I need to resolve it. - I deleted all buttons except one in course layout and the problem continues. If I open more than 2 tabs, the web falls and show error 500. - I delete and desactivate my caché plugin (autoptimize). I tried with WPRocket (as you recommend) and it fails too. - Is it not possible to have more than one button in a course page? I want different buttons for desktop and mobile. How to do it? - Show course progress is not neccesary for me. Is there a possibility to skip that?
    #343479
    Chala88
    Spectator
    I realized that there is a button in mobile behind the header that I didn't add in course layout (class .extra_course_button). Where can I delete it?
    #343691
    Anshuman Sahu
    Keymaster
    Well there is a lazyload something class which is triggerring these multiple doms for the course button which we are detecting and rendering react scripts. CAn you please check how this lazyload is appearing there ? https://prnt.sc/10c4zs2 Is it not possible to have more than one button in a course page? I want different buttons for desktop and mobile. How to do it? Well currently no we dont recommend this untill we optimize our code . Can you please share your php error log(upload online somewhere and share link here to examine) and check what could be wrong ?
    #343711
    Chala88
    Spectator
    Hi Alex, I have desactivated "Mirage" in Cloudflare CDN. I think it adds Lazyload class. There is not lazyload class anymore, but the problem is still there: http://prntscr.com/10c6j40 And error 500 when open some tabs
    #343714
    Chala88
    Spectator
    Error log link. Is this what you need? I think there is nothing relevant here: https://www.dropbox.com/s/gxoxaw5yr11y2lj/error_log%20%2825%29?dl=1
    #343930
    Anshuman Sahu
    Keymaster
    Currently there are only three calls are going for the button there are still two extra buttons on the page somehow : https://prnt.sc/10cx9yp Are you using the_course_button shortcode or function OR elementor block itself somewhere?
Viewing 15 posts - 1 through 15 (of 24 total)
  • The topic ‘IMPORTANT: 500 error when multiple users’ is closed to new replies.