500 Service Unavailable in Dspace 7.6.1

417 views
Skip to first unread message

Nadeem Sohail

unread,
Apr 16, 2024, 7:20:26 AM4/16/24
to DSpace Community
Dear Professional Colleagues,

I hope this message finds you well.

I am reaching out to seek guidance regarding an issue I am encountering with my DSpace 7.6.1 installation on Ubuntu 22.04. After configuring all the necessary requirements, the platform is functioning smoothly within our local area network (LAN) via the domain name: http://digitallibrary.thecityschool.edu.pk:4000/500. However, when attempting to connect from the World Wide Web (WWW), I am encountering the following error:

"500
Service Unavailable


The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later."

I have thoroughly reviewed the setup and am uncertain of the cause of this issue. Therefore, I kindly request your expertise and assistance in resolving it. Any insights or suggestions you could provide would be immensely appreciated.

Thank you very much for your time and consideration. I look forward to your guidance and support.
image.png

image.png







With kindest regards,
............................................
Nadeem Sohail – Manager Libraries

Head Office - The City School Network

31 Industrial Area, Gurumangat Road, Gulberg III, Lahore

 +92 (42) 111 444 123 – Ext: 394

www.thecityschool.edu.pk

Abdelouahab Djoudi

unread,
Apr 20, 2024, 10:06:46 AM4/20/24
to DSpace Community
i have the same issue can you help me

Fatih Güneş

unread,
Apr 23, 2024, 12:43:41 AM4/23/24
to DSpace Community
Hi Nadeem,
Your site is accessible on homepage: http://digitallibrary.thecityschool.edu.pk:4000/home
why do you want to access via .../500 ?

Leandro Pereira

unread,
Apr 23, 2024, 3:49:31 AM4/23/24
to DSpace Community
Hey guys

This is the infamous communication error between the frontend and the backend caused by the CORS security policy. It means the domain and protocols used to access Angular need to be the same to access the REST API. This mechanism, despite having its technical justifications, is compulsorily imposed by the current implementation of DSpace, as if we were not capable of taking care of our own service infrastructure. I would really like this kind of thing to be able to be disabled in version 8 in a simple and explicit way.

DSpace Community

unread,
Apr 23, 2024, 6:14:14 PM4/23/24
to DSpace Community
Hi,

Yes, the 500 error is one of the most common installation issues.  We have a guide covering that error and advice for how to solve it: https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace#InstallingDSpace-%22500ServiceUnavailable%22fromtheUserInterface

As for the note about DSpace imposing the "CORS security policy"... the reality is that this is imposed by Spring Security.  We align DSpace with the rules/guidelines imposed by Spring Security in order to ensure that all sites are fully secured. Spring Security tends to align with all OWASP security best practices: 

Tim
Reply all
Reply to author
Forward
0 new messages