An error occurred accepting the End User Agreement

37 views
Skip to first unread message

Henry Herbert Walusimbi

unread,
Nov 26, 2021, 10:01:41 AM11/26/21
to DSpace Technical Support
I get this error when I accept and try to Save End User Agreement in the DSpace UI:{7.1}, Backend is also 7.1
I have installed with dependecies of tomcat 9, Java jdk 11, solr 8.11, Ant 1.10.5, Maven 3.6.0, Postgresql 11.
Login is successful but after login I can't seem to succesfully accept End User Agreement resulting into this error below in the Google Chrome Developer Tools console

Access to XMLHttpRequest at 'http://X.X.X.X:8080/server/api/eperson/epersons/4ed82089-0028-47ae-a02a-4bb05ac614de' from origin 'http://X.X.X.X' has been blocked by CORS policy: Method PATCH is not allowed by Access-Control-Allow-Methods in preflight response.

Tim Donohue

unread,
Nov 29, 2021, 10:18:47 AM11/29/21
to DSpace Technical Support
Hi,

This is one of our common installation issues documented at https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace#InstallingDSpace-%22XMLHttpRequest..hasbeenblockedbyCORSpolicy%22or%22CORSerror%22or%22InvalidCORSrequest%22 

Please follow that guide for hints on solving the issue.  Let us know on this list if you have other questions.

Tim

Reply all
Reply to author
Forward
0 new messages