Populate Exam List #67
Replies: 6 comments 3 replies
-
Hi Luca Using the "Test LMS Connection" in the LMS Setup section just tests if SEB Server has access to the LMS with the given URL and credentials. It do not fetch any exam data at this time. The exam data fetching is done in the "LMS Exam Lookup" section. As soon as your LMS Setup is active and you are going to the "LMS Exam Lookup" page, SEB Server starts to fetch exam data from all active LMS Setups. This can sometimes take a while for LMS with a lot of exams or courses. SEB Server stores them in a short-time cache. This is done in a background job for some LMS (Moodle for exmale) and it might happen that the list appears to the user before the whole fetching is done in the background. So the list might not be complete on the first time you show it after new LMS Setup (but will be soon). This will be improved in the future, for Moodle in particular but also in the GUI, showing when a fetching process is still running not note this to the user. |
Beta Was this translation helpful? Give feedback.
-
Dear Andreas Thank you for getting back to me so fast.
It's those
Could this be of any help? Best, |
Beta Was this translation helpful? Give feedback.
-
Hi Andreas Best, |
Beta Was this translation helpful? Give feedback.
-
Hi Luca Since I only have the above error stacktrace that indicates that Moodle is not answering on time for a particular request call, I can only guess that there either is nothing to reach on the respective request URL or Moodle is not answering for some reason. But maybe there is more valuable information on the log that can helps us. For that it would be helpful to set debug logging on for the respective module by setting:
in your application-prod.properties file of the SEB Server installation and restart the server. Then regenerate the error again and get the log +- some seconds more. So we should be able to find the exact URL that SEB Server is using to call Moodel. What you also can try is to set the blocking time for the Moodle call to a minute (for example) instead of 20s and see if there will be a response from Moodle in that extended time period.
For your information At ETHZ we use a more restrictive Moodle configuration and have exported our role and account settings to support SEB Server here (File is zipped): This file is also linked in the user guide. You can try to apply this settings or at least look at it to see the settings we made. SEB Server uses the following Moodle webservice functions from the Moodle core:
You can also try to call them with a common curl-tool and the account credentials you have to see closer what the problem might be here. If this all is not solving the problem, we can also make a Zoom-Call and have a look together? Best regards |
Beta Was this translation helpful? Give feedback.
-
Thank you @anhefti Your instructions helped debug. At next we encountered
We raised the read timeout as well by raising the value on
and then it worked out beautifully. Best, |
Beta Was this translation helpful? Give feedback.
-
Oh, Andreas, I think it is the sheer dimension of our install we connected it with. Best, |
Beta Was this translation helpful? Give feedback.
-
Hi SEB Server developers
Although in a commment it reads that it needs some time to populate the exam list, upon a successful connection to a LMS I do not see any recurring webservices requests there (as I would expect it it was populating a list), just when I click the "Test LMS Connection" link. Nothing else.
Am I getting something wrong?
Beta Was this translation helpful? Give feedback.
All reactions