Totara Learn Open Discussions

500 Error

 
? ?
500 Error
di ? ? - Monday, 12 June 2017, 01:39
 

Dear Totara team and community members,

Our users get this message from Totara very often. We could not trace any sequence of actions that cause it. It appears randomly.


All our monitoring of the servers did not indicate of any problem.

Totara  2.7.17 (Build: 20160726.00) is installed locally on Windows 12 and MySql DB.  We consulted Kineo, our local partner, but unfortunately they could not help us finding the reason for the problem.

We would appreciate your prompt help / ideas.

Best Regards,

Ziv Tenenzaf.

________________________

Application server (ils)



DB server base on mysql


? ?
Re: 500 Error
di ? ? - Monday, 12 June 2017, 07:36
 

If the error is intermittent for any given user, you probably have a timing/ resource problem. If the issue persists for a given user while other users are able to access the system, you probably have a permissions problem. Sorry I couldn't be more specific, I don't have enough information about the conditions surrounding the problem.

me
Re: 500 Error
di George Angus - Monday, 12 June 2017, 15:02
Gruppo Totara

Hi Ziv,

Have you tried turning on the debug?

cheers,

George.

me
Re: 500 Error
di George Angus - Tuesday, 13 June 2017, 14:22
Gruppo Totara

Hi Ziv,

Also I'd suggest at least 16GB of RAM, but ideally at least 32GB.

cheers,

George.

? ?
Re: 500 Error
di ? ? - Wednesday, 14 June 2017, 00:18
 

Can you give some context to this recommendation please George - we don't know how many concurrent users are accessing the site, and this broad guidance seems vastly contrary to https://totara.community/mod/forum/discuss.php?d=16728.


Thanks,

me
Re: 500 Error
di George Angus - Wednesday, 14 June 2017, 20:04
Gruppo Totara

Hi Rob,

Its for the Webserver. Did you mean to link to the top of the page?

cheers,

George.

? ?
Re: 500 Error
di ? ? - Thursday, 15 June 2017, 00:30
 

Sorry, meant to link to https://help.totaralearning.com/display/TL9/Technical+Specification

me
Re: 500 Error
di George Angus - Thursday, 15 June 2017, 13:56
Gruppo Totara

Hi Robert,

Yes thats the minimum, I reckon its probably better to error on the side of caution and go large! If you were to run a massive production site on 4 gigs there might be problems, and my phone has 32GB - its not an unfeasibly large capacity these days.

cheers,

George

? ?
Re: 500 Error
di ? ? - Thursday, 15 June 2017, 00:16
 

Hi George,

Thanks for your advice.

We doubled the memory zise, it is now 8 GB

We get the error 500 randomlly with different users. We can not trace any sequence that cause it

We'll keep you posted

Regards

Ofer - IT Dept.

Marek Hanacek
Re: 500 Error
di Marek Hanacek - Thursday, 29 June 2017, 03:21
Gruppo Partners

Hi,

we have same issue for one client, getting http status 500.

You need to enable detailed info in IIS or better enable Failed Request Tracking. Then you can investigate xml logs.
In our case we get:

" + collapseAllText; else expandButton.innerHTML = "+" + expandAllText; } function findInDetail(indexNumber) { // Change the report to "All Events" setView('section_detail', 'viewDetails'); // Navigate to the indexNumber anchor. window.location.replace("#detail_" + indexNumber); //Fat.fade_element(id, fps, duration, from, to) Fat.fade_element('section_detail_' + indexNumber, null, null, '#ffff66', '#ffffff' ); } var currentView = null; var currentTabId = null; function setView(divId, tabId) { lastSectionName = currentSectionName; lastTabName = currentTabName; currentSectionName = divId; currentTabName = tabId; // Get the value of the radioReportOptions radio. //var rg = window.document.getElementsByName("radioView"); var currentViewElement = null; var currentTabElement = null; var selectedViewElement = null; var selectedTabElement = null; var requestDetailsElement = window.document.getElementById('sub_menu_container'); var requestDetailsTab = window.document.getElementById('requestDetails'); var requestSummary = window.document.getElementById('section_generalinformation'); switch( divId ) { case "section_errors": case "section_compact": if ( requestDetailsElement ) requestDetailsElement.style.display = 'none'; if ( requestDetailsTab ) requestDetailsTab.className = ""; break; case "section_detail": if ( requestDetailsElement ) requestDetailsElement.style.display = 'block'; if ( requestDetailsTab ) requestDetailsTab.className = "active"; break; } // Hide the current view. if ( currentView != null && currentTabId != null ) { currentViewElement = window.document.getElementById(currentView); currentTabElement = window.document.getElementById(currentTabId); if ( currentViewElement ) currentViewElement.style.display = 'none'; if ( currentTabElement ) currentTabElement.className = ""; } // Show the selected view. selectedViewElement = window.document.getElementById(divId); selectedTabElement = window.document.getElementById(tabId); if ( selectedViewElement ) selectedViewElement.style.display = 'block'; selectedTabElement.className = "active"; switch( divId ) { case "section_errors": if ( requestSummary ) requestSummary.style.display = 'block'; //toggleDiv("section_generalinformation", true); break; case "section_compact": case "section_detail": if ( requestSummary ) requestSummary.style.display = 'none'; //toggleDiv("section_generalinformation", false); break; } currentView = divId; currentTabId = tabId; } function load() { // If there is a section that needs to be viewed, show it. /*alert("search: " + window.location.search); if ( window.location.search.indexOf("sectionName", 0) >= 0 ) { var nv = window.location.search.split('&'); var sn = nv[0].split('=')[1]; var tn = nv[1].split('=')[1]; alert("sn: " + sn + ", tn: " + tn); setView(sn, tn); return; } alert("test2");*/ setView('section_errors','viewErrors'); } // Sort Table addEvent(window, "load", sortables_init); var SORT_COLUMN_INDEX; function sortables_init() { // Find all tables with class sortable and make them sortable if (!document.getElementsByTagName) return; tbls = document.getElementsByTagName("table"); for (ti=0;ti 0) { var firstRow = table.rows[0]; } if (!firstRow) return; // We have a first row: assume it's the header, and make its contents clickable links for (var i=0;i' + txt+' ';*/ // BDG: Added default sort direction: desc class for descending. if ( (' '+cell.className+' ').indexOf("desc") != -1 ) { cell.innerHTML = '' + txt+' '; } else { cell.innerHTML = '' + txt+' '; } if ( (' '+cell.className+' ').indexOf("defaultsort") != -1 ) { defaultCell = cell; defaultIndex = i; var span; // Mark default sorted column in table with down arrow symbol for (var ci=0;ci" ) { sortfn = ts_sort_numeric; } SORT_COLUMN_INDEX = column; var firstRow = new Array(); var newRows = new Array(); for (i=0;i\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)/); if (rgb) c = this.make_hex(parseInt(rgb[1]),parseInt(rgb[2]),parseInt(rgb[3])); return c; } }
ModuleNameFastCgiModule
NotificationEXECUTE_REQUEST_HANDLER
HttpStatus500
HttpReasonInternal Server Error
HttpSubStatus0
ErrorCodeThe I/O operation has been aborted because of either a thread exit or an application request. (0x800703e3)


Try someting similar and maybe you can get closer to the solution:)

Craig Eves
Re: 500 Error
di Craig Eves (Totara Support) - Thursday, 29 June 2017, 15:28
Gruppo Totara

Hi

Enabling detailed errors will help diagnose the problem see https://help.totaralearning.com/display/TL25H/Enrolment see https://docs.moodle.org/32/en/Internet_Information_Services#Debugging_problems for how to do this plus other information on setting this up.

There are a few known compatibility problems using IIS and PHP as described https://help.totaralearning.com/display/TPD/Totara+support+for+a+Microsoft+technology+stack

regards

Colin Grant
Re: 500 Error
di Colin Grant - Wednesday, 28 February 2018, 17:13
 

Wow....looking at the charts on that page performance is horrible on windows/mssql. 
That is my experience as well from the few windows installs I have worked on. It would definitely be worthwhile moving the site to a linux server.


I found this page which may help.:

https://forums.iis.net/t/1041540.aspx?More+information+on+Error+0x800703e3ums.iis.net/t/1041540.aspx?More+information+on+Error+0x800703e3