OK, that looks good for the Blackboard end, though I would also check
the BasicLTI building block logs for any possible errors (also ensure
the debug setting is set).
The code certainly worked for me in my tests, though I did not use
Blackboard. Was this working for you with the earlier version of WebPA?
You could try switching the lib directory for the one from the old
connector.
Another suggestion is to set up an identical test tool in Blackboard
with a URL of https://lti.tools/saltire/tp (or just change the URL for
the existing tool) and a secret of "secret". After a launch try using
the Memberships extension service to make a request and check the
response received.
As we are now getting to rather specific issues with your configuration,
I suggest you revert to emailing me directly so as not to disrupt this
mailing list any more.
Stephen
On 31/08/18 12:26, Tom Salyers wrote:
> If those are the fields immediately following the path in the log, then
> it looks like both requests got a 200 response, and the sizes are 3402
> and 739.
>
> --
> Tom Salyers
> VLE Developer
>
> The University of Sheffield
> Corporate Information & Computing Services (CiCS)
> 10-12 Brunswick Street
> Sheffield, S10 2FN
> Tel: 0114 222 1141
> [log in to unmask] <mailto:[log in to unmask]>
>
> On Fri, Aug 31, 2018 at 12:14 PM, Stephen P Vickers
> <[log in to unmask]
> <mailto:[log in to unmask]>> wrote:
>
> OK, so it is not a firewall issue. What is the HTTP response code
> and size of the response for these requests?
>
> Stephen
>
> On 31/08/18 12:11, Tom Salyers wrote:
>
> There are BasicLTI POST requests with "extension" in the path
> that line up with the sync attempts I've done.
>
> --
> Tom Salyers
> VLE Developer
>
> The University of Sheffield
> Corporate Information & Computing Services (CiCS)
> 10-12 Brunswick Street
> Sheffield, S10 2FN
> Tel: 0114 222 1141
> [log in to unmask] <mailto:[log in to unmask]>
> <mailto:[log in to unmask]
> <mailto:[log in to unmask]>>
>
> On Fri, Aug 31, 2018 at 12:04 PM, Stephen P Vickers
> <[log in to unmask]
> <mailto:[log in to unmask]>
> <mailto:[log in to unmask]
> <mailto:[log in to unmask]>>> wrote:
>
> You need to check for the reference to the membership service
> request; there will be entries caused by launches. Either
> check the
> log at the time you make the data sync, or look for an
> entry for the
> BasicLTI building block which includes "extension" in its path.
>
> Stephen
>
> On 31/08/18 11:54, Tom Salyers wrote:
>
> Hi, Stephen.
>
> I'm seeing BasicLTI references in the access log to
> "webpat",
> which I can only assume are WebPA-related. (But let me
> know if
> I'm wrong.) Also, commenting out the curl_setopt line
> didn't
> seem to make a difference.
>
> --
> Tom Salyers
> VLE Developer
>
> The University of Sheffield
> Corporate Information & Computing Services (CiCS)
> 10-12 Brunswick Street
> Sheffield, S10 2FN
> Tel: 0114 222 1141
> [log in to unmask] <mailto:[log in to unmask]>
> <mailto:[log in to unmask]
> <mailto:[log in to unmask]>>
> <mailto:[log in to unmask]
> <mailto:[log in to unmask]>
> <mailto:[log in to unmask]
> <mailto:[log in to unmask]>>>
>
>
> On Fri, Aug 31, 2018 at 11:47 AM, Stephen P Vickers
> <[log in to unmask]
> <mailto:[log in to unmask]>
> <mailto:[log in to unmask]
> <mailto:[log in to unmask]>>
> <mailto:[log in to unmask]
> <mailto:[log in to unmask]>
>
> <mailto:[log in to unmask]
> <mailto:[log in to unmask]>>>> wrote:
>
> In addition, try removing or commenting out this
> line from
> lib/LTI_Tool_Provider.php:
>
> curl_setopt($ch, CURLOPT_SSLVERSION,3);
>
> Stephen
>
> On 31/08/18 11:33, Tom Salyers wrote:
>
> Hi, all.
>
> We've got a test installation of the new
> version of
> WebPA going
> and we're attempting to integrate it with
> Blackboard
> using the
> latest LTI connector version. The actual
> integration
> seems to be
> working fine...up until the point where we try
> to sync
> data,
> when we get an "Unable to access memberships
> list from
> source,
> please try again later" error message.
>
> I'm not sure where the actual error is coming
> in, but
> it looks
> like the problem is coming up in the LTI
> connector.
> From the web
> server error log:
>
> [Fri Aug 31 11:06:19.841037 2018] [:error]
> [pid 1176]
> [client
> 143.167.16.2:50423 <http://143.167.16.2:50423>
> <http://143.167.16.2:50423>
> <http://143.167.16.2:50423>
> <http://143.167.16.2:50423>] PHP Warning:
> DOMDocument::loadXML(): Empty string supplied as
> input in
>
> /var/www/data/webpa211/mod/lti/lib/LTI_Tool_Provider.php on line
> 2185, referer:
> https://webpad.shef.ac.uk/mod/lti/admin/manage/
> <https://webpad.shef.ac.uk/mod/lti/admin/manage/>
> <https://webpad.shef.ac.uk/mod/lti/admin/manage/
> <https://webpad.shef.ac.uk/mod/lti/admin/manage/>>
>
> <https://webpad.shef.ac.uk/mod/lti/admin/manage/
> <https://webpad.shef.ac.uk/mod/lti/admin/manage/>
> <https://webpad.shef.ac.uk/mod/lti/admin/manage/
> <https://webpad.shef.ac.uk/mod/lti/admin/manage/>>>
>
> <https://webpad.shef.ac.uk/mod/lti/admin/manage/
> <https://webpad.shef.ac.uk/mod/lti/admin/manage/>
> <https://webpad.shef.ac.uk/mod/lti/admin/manage/
> <https://webpad.shef.ac.uk/mod/lti/admin/manage/>>
>
> <https://webpad.shef.ac.uk/mod/lti/admin/manage/
> <https://webpad.shef.ac.uk/mod/lti/admin/manage/>
> <https://webpad.shef.ac.uk/mod/lti/admin/manage/
> <https://webpad.shef.ac.uk/mod/lti/admin/manage/>>>>
> [Fri Aug 31 11:06:19.841230 2018] [:error]
> [pid 1176]
> [client
> 143.167.16.2:50423 <http://143.167.16.2:50423>
> <http://143.167.16.2:50423>
> <http://143.167.16.2:50423>
> <http://143.167.16.2:50423>] PHP Notice:
> Trying to get
> property
> of non-object in
>
> /var/www/data/webpa211/mod/lti/lib/LTI_Tool_Provider.php on line
> 2282, referer:
> https://webpad.shef.ac.uk/mod/lti/admin/manage/
> <https://webpad.shef.ac.uk/mod/lti/admin/manage/>
> <https://webpad.shef.ac.uk/mod/lti/admin/manage/
> <https://webpad.shef.ac.uk/mod/lti/admin/manage/>>
>
> <https://webpad.shef.ac.uk/mod/lti/admin/manage/
> <https://webpad.shef.ac.uk/mod/lti/admin/manage/>
> <https://webpad.shef.ac.uk/mod/lti/admin/manage/
> <https://webpad.shef.ac.uk/mod/lti/admin/manage/>>>
>
> <https://webpad.shef.ac.uk/mod/lti/admin/manage/
> <https://webpad.shef.ac.uk/mod/lti/admin/manage/>
> <https://webpad.shef.ac.uk/mod/lti/admin/manage/
> <https://webpad.shef.ac.uk/mod/lti/admin/manage/>>
>
> <https://webpad.shef.ac.uk/mod/lti/admin/manage/
> <https://webpad.shef.ac.uk/mod/lti/admin/manage/>
> <https://webpad.shef.ac.uk/mod/lti/admin/manage/
> <https://webpad.shef.ac.uk/mod/lti/admin/manage/>>>>
>
> Stephen Vickers asked if I had any firewall
> issues, but it
> doesn't seem to be the case--Blackboard and
> WebPA seem
> to be
> communicating just fine otherwise.
>
> --
> Tom Salyers
> VLE Developer
>
> The University of Sheffield
> Corporate Information & Computing Services (CiCS)
> 10-12 Brunswick Street
> Sheffield, S10 2FN
> Tel: 0114 222 1141
> [log in to unmask] <mailto:[log in to unmask]>
> <mailto:[log in to unmask]
> <mailto:[log in to unmask]>>
> <mailto:[log in to unmask]
> <mailto:[log in to unmask]>
> <mailto:[log in to unmask]
> <mailto:[log in to unmask]>>>
> <mailto:[log in to unmask]
> <mailto:[log in to unmask]>
> <mailto:[log in to unmask]
> <mailto:[log in to unmask]>>
> <mailto:[log in to unmask]
> <mailto:[log in to unmask]>
> <mailto:[log in to unmask]
> <mailto:[log in to unmask]>>>>
>
>
> ------------------------------------------------------------------------
>
> To unsubscribe from the WEBPA list, click the
> following
> link:
> https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=WEBPA&A=1
> <https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=WEBPA&A=1>
>
> <https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=WEBPA&A=1
> <https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=WEBPA&A=1>>
>
> <https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=WEBPA&A=1
> <https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=WEBPA&A=1>
>
> <https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=WEBPA&A=1
> <https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=WEBPA&A=1>>>
>
>
>
> ########################################################################
>
> To unsubscribe from the WEBPA list, click the
> following link:
> https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=WEBPA&A=1
> <https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=WEBPA&A=1>
>
> <https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=WEBPA&A=1
> <https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=WEBPA&A=1>>
>
> <https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=WEBPA&A=1
> <https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=WEBPA&A=1>
>
> <https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=WEBPA&A=1
> <https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=WEBPA&A=1>>>
>
>
>
>
> ------------------------------------------------------------------------
>
> To unsubscribe from the WEBPA list, click the following
> link:
> https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=WEBPA&A=1
> <https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=WEBPA&A=1>
>
> <https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=WEBPA&A=1
> <https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=WEBPA&A=1>>
>
>
>
> ########################################################################
>
> To unsubscribe from the WEBPA list, click the following link:
> https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=WEBPA&A=1
> <https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=WEBPA&A=1>
>
> <https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=WEBPA&A=1
> <https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=WEBPA&A=1>>
>
>
>
> ------------------------------------------------------------------------
>
> To unsubscribe from the WEBPA list, click the following link:
> https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=WEBPA&A=1
> <https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=WEBPA&A=1>
>
>
> ########################################################################
>
> To unsubscribe from the WEBPA list, click the following link:
> https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=WEBPA&A=1
> <https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=WEBPA&A=1>
>
>
>
> ------------------------------------------------------------------------
>
> To unsubscribe from the WEBPA list, click the following link:
> https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=WEBPA&A=1
>
########################################################################
To unsubscribe from the WEBPA list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=WEBPA&A=1
|