-
Notifications
You must be signed in to change notification settings - Fork 51
Microsoft Learn LTI in D2L Brightspace returning Error - currently unable to handle this request #155
Comments
@NShresthaonGH thanks for the issue at present we only have installation documented for Moodle, canvas and Blackboard. I suggest you follow the troubleshooting guide and debug the Azure Functions and app insights to understand where the issue is with the D2L implementation. If you look at the OpenEdx issue #103 this may provide some more insights we need help documenting the implementation on D2L so any help in this would be greatly appreciated. |
@NShresthaonGH see #68 @alphaz18 thanks for PR regarding the outh support for Brightspace D2L #156 @NShresthaonGH This may unblock you if you could validate this works. |
Hi @leestott, Thank you for providing us the information to troubleshoot our LTI situation. We went through the document but we could not find the correct information to rectify the situation. However, we have made some changes in LMS interchanging URLs between Redirect UTLs and OpenID Connect Login URLs. This now produced new error in both Azure and LMS when we lunch the LTI in MLS. Images below indicate the original setting in LMS and Original Error. Error at LMS once lunch the LTI After changes made in made LMS interchanging URLs between Redirect URLs and OpenID Connect Login URLs Error at LMS once lunch the LTI Any suggestions to rectify this situation would be greatly appreciated. |
@NShresthaonGH so you need to use the forked code which is the following PR this will help us test and validate this works. @alphaz18 has created a PR from their code base which has been modified to support D2L and also developed the instructions for installation it would be great for you to validate this.. #156 This is a direct link to @alphaz18 repo https://github.com/alphaz18/Learn-LTI/tree/Add-Registration-Attribute-Audience you need to download this source and install following the instructions provided to validate does the Brightspace D2L work correctly.. Please make any feedback to the PR #156 |
Thank you for your advice to download the source and install from repository https://github.com/alphaz18/Learn-LTI/tree/Add-Registration-Attribute-Audience to add Audience attribute. The code has been downloaded and redeployed the LTI on Azure. According to the steps mentioned in the article, there should be ‘Audience’ filed on Tool Registration page. But we proceeded and completed Tool registration without ‘Audience’ field. Now, when we lunch LTI from LMS it tried to load assignment. But it ends up with the error ‘Oops! Something went wrong’. We also realized that this error usually occurs when SSL certificate is not valid. We have valid SSL certificate in our environment but still receiving this error. At Azure site, we found the following errors: Is this error indicating that Tool Registration is incomplete as ‘Audience’ filed was missing and is there a way to add this filed? It would be greatly appreciated if you could point us in the right direction. Thank you for your help. |
it looks like you may have missed the client code, how did you download the code and deploy it? you linked to the correct branch but seems the code you deployed may not contain the changes, in the code you downloaded please verify in file: "client/src/Features/Platform/PlatformRegistrationFields.ts" that the Audience field is in there, if it is not, then you may have the wrong code. If it is there, how did you deploy? normally you should just be able to use the run.bat. Regards, |
@alphaz18 you were correct i downloaded the code in zip format and changing branches did not update the code i needed to clone che repo down for this to work. |
@leestott and @alphaz18 thank you very much for you help and suggestions. LTI is now working in our Brightspace environment. However, we needed to update user's email address in LMS to match with user's sign in for the application. As in our environment, email address of the user an sign in name do not match. Just would like to know whether it is possible to make this work even user's sign in and email address are different. Once again, thank you for your help. Regards, |
@NShresthaonGH thanks for validating the instrucions and deployment @alphaz18 thanks for the help! @NShresthaonGH see #158 for OpenEdx in relation to given name this may help.. @adbindal any comments? @NShresthaonGH I think we you will need to add at least the user sign-in email into the AAD |
@skmckenFVSD Please validate the brightspace installation as per @alphaz18 instructions and code base see #156 test code base https://github.com/alphaz18/Learn-LTI/tree/Add-Registration-Attribute-Audience |
Brightspace D2L is now fully supported in the Learn LTI application https://github.com/microsoft/Learn-LTI/blob/main/docs/CONFIGURATION_GUIDE.md#Brightspace-D2L |
Dear Team,
We integrated Microsoft Learn LTI in our D2L Brighspace MLS. We have ran into some issues with the Integration. When we lunch the application from LMS, we received the following error on LMS side.
At Azure side, we are getting the below error when trying to launch the application form our LMS it is hitting the “'LtiAdvantageLaunch’” Function and getting the below error.
2021-08-05T06:54:24.213 [Information] Executing 'LtiAdvantageLaunch' (Reason='This function was programmatically called via the host APIs.', Id=0a53b2e7-fefa-4f8b-9509-98a88ea8cf12)
2021-08-05T06:54:24.369 [Error] Executed 'LtiAdvantageLaunch' (Failed, Id=0a53b2e7-fefa-4f8b-9509-98a88ea8cf12, Duration=325ms)Object reference not set to an instance of an object.
It would be greatly appreciated if you could point us in the right direction.
Thank you.
The text was updated successfully, but these errors were encountered: