Closed uc-sgu closed 3 years ago
Hi, I found a solution for this error, I was missing this yml file https://raw.githubusercontent.com/instructure/canvas-lms/master/config/dynamic_settings.yml.example just edit the jwk
For everyone who have the same problem here is my solution to solve the problem:
look if you have an dynamic_settings.yml file in your canvas/config directory. If you do not have one than copy the example file which might be in the canvas/config/dynamic_settings.yml.example. Rename that file to dynamic_settings.yml. If you do not have that file in the canvas/config you can also get that file from here: https://raw.githubusercontent.com/instructure/canvas-lms/master/config/dynamic_settings.yml.example Copy the file and paste in at canvas/config.
That LTI1.3 was working for me I have to change the word development: to production: inside the dynamic_settings.yml file.
After that restart your web server. For Apache use:
sudo /etc/init.d/apache2 restart
Here is another post fom the canvas forum that describe how to solve this problem. So credits to @ttiole
To get this working costs me 2 Weeks.
Hope this helps someone.
I thank all of you from the bottom of my heart. Without this issue coming up in the search engine I would have spent countless hours debugging this. Instead I fixed the issue in a few minutes. We were missing the dynamic_settings.yml file.
Hello,
I successfully set up canvas LMS but I am getting the 500 error when launching LTI 1.3 link.
undefined method `sign' for nil:NilClass
apps/canvaslms/htdocs/vendor/bundle/ruby/2.7.0/gems/json-jwt-1.13.0/lib/json/jws.rb:17:in
sign!' apps/canvaslms/htdocs/vendor/bundle/ruby/2.7.0/gems/json-jwt-1.13.0/lib/json/jwt.rb:35:in
sign' apps/canvaslms/htdocs/gems/lti-advantage/lib/lti_advantage/messages/jwt_message.rb:74:in `create_jws'Can anyone help me?