Hi Stephen,
It is seemingly ignoring the debug = true (or debug = yes) parameter. I get the same output irrespective of whether I include "debug" or what value it is given.
This is my POST BODY:
tool_consumer_info_product_family_code=StudyNet<i_version=LTI-1p0&debug=true&roles=Instructor&tool_consumer_instance_name=StudyNet&tool_consumer_instance_description=University%20of%20Hertfordshire%20%28StudyNet%29&launch_presentation_width=320&tool_consumer_instance_guid=studynet.herts.ac.uk&ext_basiclti_submit=Press%20to%20continue%20to%20external%20tool&launch_presentation_locale=en-GB&tool_consumer_instance_contact_email=ltdu%40herts.ac.uk&lis_result_sourcedid=StudyNet<i_message_type=basic-lti-launch-request&tool_consumer_info_version=2015&launch_presentation_height=240&launch_presentation_document_target=iframe
HEADER X-Authorization:
oauth_nonce => "KlfPb6NaA9NDbVeCM8q0sJObRM2rXOzA"
oauth_signature => "447275703833656532706f4e636249544662356774673d3d"
oauth_consumer_key => "DVMQPCE2-SDYX-TRZN-8MEF-BCTWQPR5ZSQS"
oauth_signature_method => "HMAC-SHA1"
oauth_version => "1.0"
oauth_timestamp => "1439201367"
Encoded Signature Params:
POST&http%3A%2F%2Feval.ltiapps.net%2Fwebpa%2Fmod%2Flti%2F&debug%3Dtrue%26ext_basiclti_submit%3DPress%2520to%2520continue%2520to%2520external%2520tool%26launch_presentation_document_target%3Diframe%26launch_presentation_height%3D240%26launch_presentation_locale%3Den-GB%26launch_presentation_width%3D320%26lis_result_sourcedid%3DStudyNet%26lti_message_type%3Dbasic-lti-launch-request%26lti_version%3DLTI-1p0%26oauth_consumer_key%3DDVMQPCE2-SDYX-TRZN-8MEF-BCTWQPR5ZSQS%26oauth_nonce%3DKlfPb6NaA9NDbVeCM8q0sJObRM2rXOzA%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1439201367%26oauth_version%3D1.0%26roles%3DInstructor%26tool_consumer_info_product_family_code%3DStudyNet%26tool_consumer_info_version%3D2015%26tool_consumer_instance_contact_email%3Dltdu%2540herts.ac.uk%26tool_consumer_instance_description%3DUniversity%2520of%2520Hertfordshire%2520%2528StudyNet%2529%26tool_consumer_instance_guid%3Dstudynet.herts.ac.uk%26tool_consumer_instance_name%3DStudyNet
Thanks,
Brian
-----Original Message-----
From: WebPA [mailto:[log in to unmask]] On Behalf Of Stephen P Vickers
Sent: 10 August 2015 10:46
To: [log in to unmask]
Subject: Re: Trial LTI
Try using a value of "true" - it does not work the same when using "yes".
For direct support either try using the forum in OSCELOT where the LTI connector for WebPA is made available (see
http://www.spvsoftwareproducts.com/php/webpa-lti/) or contact me directly and I will try to help.
Stephen
On 10/08/2015 10:38, Osborne, Brian wrote:
> Hi Stephen,
>
> I have added a parameter of "debug" with a value of "yes" and I'm still getting a response of "Error: Sorry, there was an error connecting you to the application.".
>
> Is there a support email address for the ceLTIc project?
>
> Thanks,
> Brian
>
> -----Original Message-----
> From: WebPA [mailto:[log in to unmask]] On Behalf Of Stephen P
> Vickers
> Sent: 10 August 2015 10:22
> To: [log in to unmask]
> Subject: Re: Trial LTI
>
> This trial service is offered by the ceLTIc project, not by the WebPA project.
>
> If you send a custom parameter named "debug" with a value of "true" you should see a more informative error message. Alternatively, if your tool consumer supports the error log option, this error message should also be found in its log files.
>
> Stephen
>
> On 10/08/2015 08:45, Osborne, Brian wrote:
>> I have signed up for your 14 day trial and I am posting to your
>> service, but I always receive a response back that reads “Error:
>> Sorry, there was an error connecting you to the application.”.
>>
>> My POST data is:
>>
>> *Calling:*http://eval.ltiapps.net/webpa/mod/lti/ (or
>> http://eval.ltiapps.net/webpa/mod/lti/index.php)
>>
>>
>> *Shared secret:* "E38uVDmEgBbPs0crd7w4ZGqFwYBlrR3v"
>>
>> *Encoded Signature Params:* "
>> POST&http%3A%2F%2Feval.ltiapps.net%2Fwebpa%2Fmod%2Flti%2F&ext_basiclti_submit%3DPress%2520to%2520continue%2520to%2520external%2520tool%26launch_presentation_document_target%3Diframe%26launch_presentation_height%3D240%26launch_presentation_locale%3Den-GB%26launch_presentation_width%3D320%26lis_result_sourcedid%3DStudyNet%26lti_message_type%3Dbasic-lti-launch-request%26lti_version%3DLTI-1p0%26oauth_consumer_key%3DDVMQPCE2-SDYX-TRZN-8MEF-BCTWQPR5ZSQS%26oauth_nonce%3DJ98SFfiYs11Lk47ue2QnplNpFKqE0ht0%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1438956933%26oauth_version%3D1.0%26roles%3DInstructor%26tool_consumer_info_product_family_code%3DStudyNet%26tool_consumer_info_version%3D2015%26tool_consumer_instance_contact_email%3Dltdu%2540herts.ac.uk%26tool_consumer_instance_description%3DUniversity%2520of%2520Hertfordshire%2520%2528StudyNet%2529%26tool_consumer_instance_guid%3Dstudynet.herts.ac.uk%26tool_consumer_instance_name%3DStudyNet"
>>
>> *HEADER X-Authorization*
>> OAuth realm => "http://eval.ltiapps.net/webpa/mod/lti/"
>> oauth_nonce => "J98SFfiYs11Lk47ue2QnplNpFKqE0ht0"
>> oauth_signature => "6778472f726b646651454776674267715539397966413d3d"
>> oauth_consumer_key => "DVMQPCE2-SDYX-TRZN-8MEF-BCTWQPR5ZSQS"
>> oauth_signature_method => "HMAC-SHA1"
>> oauth_version => "1.0"
>> oauth_timestamp => "1438956933"
>>
>> *POST BODY*
>> tool_consumer_info_product_family_code=StudyNet<i_version=LTI-1p0&r
>> o
>> les=Instructor&tool_consumer_instance_name=StudyNet&tool_consumer_ins
>> t
>> ance_description=University%20of%20Hertfordshire%20%28StudyNet%29&lau
>> n
>> ch_presentation_width=320&tool_consumer_instance_guid=studynet.herts.
>> a
>> c.uk&ext_basiclti_submit=Press%20to%20continue%20to%20external%20tool
>> &
>> launch_presentation_locale=en-GB&tool_consumer_instance_contact_email
>> =
>> ltdu%40herts.ac.uk&lis_result_sourcedid=StudyNet<i_message_type=bas
>> i
>> c-lti-launch-request&tool_consumer_info_version=2015&launch_presentat
>> i on_height=240&launch_presentation_document_target=iframe
>>
>> Any idea what is wrong, or is it possible to change the response
>> message to indicate the issue rather than just say there has been an error?
>>
>> Thanks,
>>
>> Brian Osborne
>>
>> University of Hertfordshire
>>
|