Uploaded image for project: 'NetarchiveSuite'
  1. NetarchiveSuite
  2. NAS-2569

ViewerProxy not working

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • None
    • None
    • Viewerproxy
    • None
    • NAS 5.2
    • Hide

      Any test that uses Viewerproxy is a validation of this fix.

      Show
      Any test that uses Viewerproxy is a validation of this fix.

    Description

      In TEST1 I'm getting error messages from the ViewerProxy like

      11:13:02.178 WARN  dk.netarkivet.viewerproxy.WebProxy.createErrorResponse - Exception for : http://www.kaarefc.dk/
      dk.netarkivet.common.exceptions.IllegalState: Bad origin for URL 'http://www.kaarefc.dk/': '2-2-20161019120404770-00000-sb-test-har-001.statsbiblioteket.dk.warc.gz,13451,20161019120409200'
              at dk.netarkivet.common.distribute.arcrepository.ARCLookup.luceneLookUp(ARCLookup.java:228) ~[common-core-5.2-SNAPSHOT.jar:19d3ed88b19ead64a5b36386b68b28eb29a9319e]
      

      According to the code, the "origin" string should only have two comma-separated elements - the file and the offset.

      Attachments

        Issue Links

          Activity

            People

              csr Colin Rosenthal
              csr Colin Rosenthal
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: