Closed g7morris closed 4 years ago
Please review the following for inclusion in ISLE release 1.5.0:
These images will need to be rebuilt with new settings: https://github.com/Islandora-Collaboration-Group/isle-apache/pull/15 https://github.com/Islandora-Collaboration-Group/isle-imageservices/pull/14
This issue has been completed by the recent releases of 1.5.0 and 1.5.1. Closing ticket.
Issue description
I started poking at a potential Cantaloupe upgrade from 4.0.3 to 4.1.5.
Additionally, I was curious if we could implement the XACML / delegates.rb fix outlined here https://groups.google.com/forum/#!msg/islandora/oW_luXn4BNE/bMerf3q_AwAJ
I was able to change the version number in the Dockerfile and got a local build running.
I changed the delegates.rb code to:
Within https://isle.localdomain/admin/islandora/islandora_viewers/openseadragon
Add token as header
checkbox (changes to green when clicked) which means "Instead of sending the token as a query parameter, it will be sent in the X-ISLANDORA-TOKEN header."IIF Identifier
from the original value of[islandora_openseadragon:pid]~[islandora_openseadragon:dsid]~[islandora_openseadragon:token]
to the new suggested value of[islandora_openseadragon:pid]~[islandora_openseadragon:dsid]
I setup a demo site and ingested a tiff file as a test.
The problem is that no image displays within the viewer and Cantaloupe throws a 500 error. (see below)
I can confirm I see the
X-ISLANDORA-TOKEN: 04170d62759c2e7642db64c37b495544eb399bb72d9e2088a2f6fcafc5d9266f
within the request headers but am blocked by the 500 error.More research will be required for this fix to proceed.
Questions:
isle-apache
' image be required?ProxyPassReverseCookiePath /cantaloupe/iiif/2 /iiif/2
to the vhostProxyPassReverseCookieDomain cantaloupe/iiif/2 islandora-vagrant
to the vhost. please noteislandora-vagrant
is not the correct setting, use the appropriate ISLE service or domain name instead?For an issue, describe steps to reproduce the issue
System setup (OS information, software versions, etc):
Steps:
${CANTALOUPE_VERSION:-4.0.3}
to `${CANTALOUPE_VERSION:-4.1.5}docker-compose up -d
docker exec -it isle-apache-ld bash /utility-scripts/isle_drupal_build_tools/isle_islandora_installer.sh
Add token as header
checkbox (changes to green when clicked) which means "Instead of sending the token as a query parameter, it will be sent in the X-ISLANDORA-TOKEN header."IIF Identifier
from the original value of[islandora_openseadragon:pid]~[islandora_openseadragon:dsid]~[islandora_openseadragon:token]
to the new suggested value of[islandora_openseadragon:pid]~[islandora_openseadragon:dsid]
and click the Save button at the bottom of the form.What's the expected result?
What's the actual result?
Additional details / screenshots
Cantaloupe 500 error from logs