You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the service encounters https://api.library.tamu.edu/fcrepo/rest/3b/6f/c3/25/3b6fc325-f6ca-41d8-b91e-8c5db3be8c13/brazos-maps_objects/74/pages/page_44/files/G4033_B73_G46_s12_B7_sheet_47.tif, the service fails with a a Couldn't Seek! exception. This appears to come from Cantaloupe:
500 Internal Server Error
Couldn't seek!
javax.imageio.IIOException: Couldn't seek!
at it.geosolutions.imageioimpl.plugins.tiff.TIFFImageReader.locateImage(TIFFImageReader.java:726)
at it.geosolutions.imageioimpl.plugins.tiff.TIFFImageReader.getNumImages(TIFFImageReader.java:753)
at edu.illinois.library.cantaloupe.processor.codec.AbstractIIOImageReader.getNumImages(AbstractIIOImageReader.java:154)
at edu.illinois.library.cantaloupe.processor.codec.tiff.TIFFImageReader.isPyramidal(TIFFImageReader.java:134)
at edu.illinois.library.cantaloupe.processor.codec.tiff.TIFFImageReader.getNumResolutions(TIFFImageReader.java:124)
at edu.illinois.library.cantaloupe.processor.AbstractImageIOProcessor.readInfo(AbstractImageIOProcessor.java:77)
at edu.illinois.library.cantaloupe.cache.InfoService.readInfo(InfoService.java:220)
at edu.illinois.library.cantaloupe.cache.InfoService.getOrReadInfo(InfoService.java:153)
at edu.illinois.library.cantaloupe.cache.CacheFacade.getOrReadInfo(CacheFacade.java:67)
at edu.illinois.library.cantaloupe.resource.AbstractRequestHandler.getOrReadInfo(AbstractRequestHandler.java:39)
at edu.illinois.library.cantaloupe.resource.InformationRequestHandler.handle(InformationRequestHandler.java:287)
at edu.illinois.library.cantaloupe.resource.iiif.v2.InformationResource.doGET(InformationResource.java:85)
at edu.illinois.library.cantaloupe.resource.HandlerServlet.handle(HandlerServlet.java:97)
at edu.illinois.library.cantaloupe.resource.HandlerServlet.doGet(HandlerServlet.java:35)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:791)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:550)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1434)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1349)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java:516)
at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:556)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:273)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:773)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:905)
at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: java.io.EOFException
at it.geosolutions.imageio.stream.eraf.EnhancedRandomAccessFile.readUnsignedShort(EnhancedRandomAccessFile.java:978)
at it.geosolutions.imageio.stream.input.FileImageInputStreamExtImpl.readUnsignedShort(FileImageInputStreamExtImpl.java:130)
at it.geosolutions.imageioimpl.plugins.tiff.TIFFImageReader.locateImage(TIFFImageReader.java:685)
... 36 more
If we try to pass the same file from Fedora as a base64 encoded string to Cantaloupe, the service responds fine:
Problem
In an unknown number of cases, irIIIFService always dies when trying to generate a manifest for certain works. One example is this:
https://api.library.tamu.edu/iiif-service/fedora/presentation/3b/6f/c3/25/3b6fc325-f6ca-41d8-b91e-8c5db3be8c13/brazos-maps_objects/74
When the service encounters
https://api.library.tamu.edu/fcrepo/rest/3b/6f/c3/25/3b6fc325-f6ca-41d8-b91e-8c5db3be8c13/brazos-maps_objects/74/pages/page_44/files/G4033_B73_G46_s12_B7_sheet_47.tif
, the service fails with a aCouldn't Seek!
exception. This appears to come from Cantaloupe:If we try to pass the same file from Fedora as a base64 encoded string to Cantaloupe, the service responds fine:
https://api.library.tamu.edu/iiif/2/aHR0cHM6Ly9hcGkubGlicmFyeS50YW11LmVkdS9mY3JlcG8vcmVzdC8zYi82Zi9jMy8yNS8zYjZmYzMyNS1mNmNhLTQxZDgtYjkxZS04YzVkYjNiZThjMTMvYnJhem9zLW1hcHNfb2JqZWN0cy83NC9wYWdlcy9wYWdlXzQ0L2ZpbGVzL0c0MDMzX0I3M19HNDZfczEyX0I3X3NoZWV0XzQ3LnRpZg==/info.json
Here is a full trace back of the irIIIFService log when it happens:
The text was updated successfully, but these errors were encountered: