Hi Anand, The logs you shared seem to be from the frontend, but the 500 Internal Server Error is usually thrown by the *backend*. I'd recommend looking for more details on the 500 error in your backend logs. See our Troubleshooting Guide for details: https://wiki.lyrasis.org/display/DSPACE/Troubleshoot+an+error#Troubleshootanerror-DSpace7.x(orabove)
The issue you shared on the frontend may be unrelated. It sounds like this issue https://github.com/DSpace/dspace-angular/issues/2315 , but it's usually harmless. There is a possible workaround in the comments on that ticket though. Tim On Monday, July 14, 2025 at 4:33:09 AM UTC-5 [email protected] wrote: > Dear DSpace Team, > > We’re facing a persistent issue with SSR in our DSpace 8.1 Angular UI > setup at https://ir.daiict.ac.in. > > Directly accessing or reloding pages like /community-list or /search > results in a 500 Internal Server Error. > > pm2 shows following error logs: > > /root/.pm2/logs/dspace-ui-error-1.log last 15 lines: > 1|dspace-u | at > /home/dspace/dspace-angular-dspace-8.1/dist/server/main.js:1:3736933 > 1|dspace-u | at _ZoneDelegate.invokeTask > (/home/dspace/dspace-angular-dspace-8.1/dist/server/main.js:1:3726815) > 1|dspace-u | at ZoneImpl2.runTask > (/home/dspace/dspace-angular-dspace-8.1/dist/server/main.js:1:3719213) > 1|dspace-u | Warning [ERR_HTTP_HEADERS_SENT]: Tried to set headers after > they were sent to the client > 1|dspace-u | Error: Cannot set headers after they are sent to the client > 1|dspace-u | at new NodeError (node:internal/errors:405:5) > 1|dspace-u | at ServerResponse.setHeader (node:_http_outgoing:648:11) > 1|dspace-u | at ServerResponse.res.set.res.header > (/home/dspace/dspace-angular-dspace-8.1/dist/server/main.js:1:2782438) > 1|dspace-u | at ServerResponse.res.send > (/home/dspace/dspace-angular-dspace-8.1/dist/server/main.js:1:2776806) > 1|dspace-u | at > /home/dspace/dspace-angular-dspace-8.1/dist/server/main.js:1:7636921 > 1|dspace-u | at _ZoneDelegate.invoke > (/home/dspace/dspace-angular-dspace-8.1/dist/server/main.js:1:3725973) > 1|dspace-u | at ZoneImpl2.run > (/home/dspace/dspace-angular-dspace-8.1/dist/server/main.js:1:3718144) > 1|dspace-u | at > /home/dspace/dspace-angular-dspace-8.1/dist/server/main.js:1:3736933 > 1|dspace-u | at _ZoneDelegate.invokeTask > (/home/dspace/dspace-angular-dspace-8.1/dist/server/main.js:1:3726815) > 1|dspace-u | at ZoneImpl2.runTask > (/home/dspace/dspace-angular-dspace-8.1/dist/server/main.js:1:3719213) > > Please help us in this regard, > > Best, > Anand > -- 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/8e192f54-f04f-42e5-b9da-8191b88d2899n%40googlegroups.com.
