I would first test Swordv2 like curl -i https://vtechworks.lib.vt.edu/swordv2/servicedocument --user "[email protected]
Then I would test REST. Note HTTP/HTTPS issue, https://wiki.duraspace.org/display/DSDOC6x/REST+API#RESTAPI-DisablingSSL. curl -H "Content-Type: application/json" -H "Accept: application/json" https://vtechworks.lib.vt.edu/rest/test Anne On Wednesday, June 5, 2019 at 9:08:43 AM UTC-4, Mark H. Wood wrote: > > On Wed, Jun 05, 2019 at 05:53:35AM -0700, Gabriel Galson wrote: > > George- > > > > I work with Chin. Chiming in to post the error. What does this > indicate > > to you? Again, this is an error we recieve when attempting to import > > directly from Symplectic Elements through Rest/SWORDv2. We also > recently > > switched from http to https and set up an SSL cert; prior to this the > > Elements process was working. Any insight or help this group can > provide > > would be appreciated! > > > > here's the error: > > " > > INFO: Error parsing HTTP request header > > Note: further occurrences of HTTP header parsing errors will be logged > at > > DEBUG level. > > java.lang.IllegalArgumentException: Invalid character found in method > name. > > HTTP method names must be tokens > > When I see something like that, my first thought is that the client > sent HTTPS but the server interpreted it as HTTP. I'd check which > port the client is configured to use, and anything else which could > result in such confusion. > > -- > Mark H. Wood > Lead Technology Analyst > > University Library > Indiana University - Purdue University Indianapolis > 755 W. Michigan Street > Indianapolis, IN 46202 > 317-274-0749 > www.ulib.iupui.edu > -- All messages to this mailing list should adhere to the DuraSpace Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/ --- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/96b0c9d1-270e-4075-a7d1-a336f41332b2%40googlegroups.com.
