Hi,

We have a section in our installation guide called "Common Installation 
Issues".  This covers 500 errors (which are often the sign of the frontend 
having difficulty communicating with the backend) 
here: 
https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace#InstallingDSpace-%22500ServiceUnavailable%22fromtheUserInterface

Tim

On Tuesday, March 18, 2025 at 4:20:10 AM UTC-5 [email protected] wrote:

> Hi.
> I get 500 error code after opening registration url.
>
> Dev tools tells me that csrf and api requests are blocked.
> Details:
> csrf
> Request URL: http://localhost:8080/server/api/security/csrf
> Referrer Policy: strict-origin-when-cross-origin
> status: blocked:other
>
> api
> Request URL: http://localhost:8080/server/api
> Referrer Policy: strict-origin-when-cross-origin
> status: blocked:other
>
> My dspace config files:
> Dspace frontend / ui config:
> ui:
>     ssl: false
>     host: localhost
>     port: 4000
>     nameSpace: /
>
> rest:
>     ssl: true
>     host: dspace.ansbb.edu.pl
>     port: 443
>     nameSpace: /server
>
> Dspace backend config:
> dspace.server.url = https://dspace.ansbb.edu.pl/server
> dspace.server.ssr.url = ${dspace.server.url}
> dspace.ui.url = https://dspace.ansbb.edu.pl
> rest.cors.allowed-origins = ${dspace.ui.url}
>
> As far as i can tell the request URL should be 
> https://dspace.ansbb.edu.pl/server/api/security/csrd, not 
> http://localhost:8080/server/api/security/csrf.
>
> Can you tell me what to change in config files?
>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 visit 
https://groups.google.com/d/msgid/dspace-tech/cbe820a9-4cef-41dd-a040-bab14bca3800n%40googlegroups.com.

Reply via email to