[Archivesspace_Users_Group] Setting up the "Request" button

Brian Hoffman brian.hoffman at lyrasis.org
Fri Jul 23 12:22:33 EDT 2021


Have you seen this documentation on configuring ArchivesSpace for HTTPS?



From: archivesspace_users_group-bounces at lyralists.lyrasis.org <archivesspace_users_group-bounces at lyralists.lyrasis.org> on behalf of Zachary L Pelli <zachary.pelli at shu.edu>
Date: Friday, July 23, 2021 at 12:16 PM
To: ArchivesSpace List <archivesspace_users_group at lyralists.lyrasis.org>
Subject: [Archivesspace_Users_Group] Setting up the "Request" button
Hey all,

I am attempting to configure the Request button bot am having an issue. Clicking the button currently gives you a page with this message:

The change you wanted was rejected.
Maybe you tried to change something you didn't have access to.
If you are the application owner check the logs for more information.

In the logs, This is what it looks like:

INFO: [collection1] webapp= path=/select params={mm=100%25&q=(uri:("\/repositories\/2\/resources\/420\/tree\/node_from_root_62239"))&csv.escape=\&csv.header=true&start=0&csv.encapsulator="&fq=-exclude_by_default:true&fq=publish:true&fq=types:pui&rows=1&wt=json&facet=true} hits=1 status=0 QTime=1
W, [2021-07-22T16:13:17.109289 #18540]  WARN -- : [66b8b6dd-8d7b-4984-b753-ddf9212e6e12] HTTP Origin header (https://archivesspace-library.shu.edu) didn't match request.base_url (http://archivesspace-library.shu.edu)
F, [2021-07-22T16:13:17.120038 #18540] FATAL -- : [66b8b6dd-8d7b-4984-b753-ddf9212e6e12]
F, [2021-07-22T16:13:17.120263 #18540] FATAL -- : [66b8b6dd-8d7b-4984-b753-ddf9212e6e12] ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):
F, [2021-07-22T16:13:17.120366 #18540] FATAL -- : [66b8b6dd-8d7b-4984-b753-ddf9212e6e12]
F, [2021-07-22T16:13:17.120480 #18540] FATAL -- : [66b8b6dd-8d7b-4984-b753-ddf9212e6e12] actionpack (5.2.5) lib/action_controller/metal/request_forgery_protection.rb:211:in `handle_unverified_request'

I understand this is an issue with Rails and SSL, but am unsure how to resolve this. Nothing in the configs seems to affect it. Any help appreciated.


Zach Pelli
Digital Collections Infrastructure Developer
Seton Hall University Libraries

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20210723/238f6c18/attachment.html>

More information about the Archivesspace_Users_Group mailing list