Error 500 in the frontend in browsing outside the server

177 views
Skip to first unread message

Tommy Fong

unread,
Oct 23, 2024, 11:57:49 AM10/23/24
to DSpace Technical Support
Hi, I have installed the Dspace 8 frontend and backend in the same Ubuntu 22.04.5 server, but the error 500 in the frontend in browsing outside the server, and browsing localhost is working inside the server. I have installed Nginx and edited the dspace_ui.conf file (/etc/nginx/conf.d/dspace_ui.conf) and changed those files (Local.config in dspace, Prod.yml, Conf.prod.yml and pg hba), also rerun yarn, but also have the error 500 in the frontend in browsing outside the server. Who can how to fix this problem?
Slide2.JPG
Picture3.png
Slide1.JPG
Picture2.png
Picture1.png
Slide3.JPG

hb wooley

unread,
Oct 23, 2024, 7:37:40 PM10/23/24
to DSpace Technical Support
In picture1.png, you should not be using the port numbers:
dspace.server.url = http://SERVER IP/server
dspace.ui.url = http://SERVER IP

Tommy Fong

unread,
Oct 24, 2024, 8:30:02 AM10/24/24
to DSpace Technical Support
Dear hb wooley,

Thank you for your reply. I have changed the Local.config without port number and rerun yarn, but the front end cannot browse the server, and the error message shows up in Capture 1.
Error RangeError: maximum call stack size exceeded.

Tommy


hb wooley 在 2024年10月24日 星期四凌晨3:37:40 [UTC+8] 的信中寫道:
Capture2.JPG
Capture 1.JPG

hb wooley

unread,
Oct 24, 2024, 1:46:45 PM10/24/24
to Tommy Fong, DSpace Technical Support
I'm not sure what that error is related to. One other suggestion I have is to use your FQDN and not an IP address.
dspace.server.url = http://MyDSpace_server_name/server
dspace.ui.url = http://MyDSpace_server_name


--
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 dspace-tech...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/dspace-tech/4d08ebc2-935d-4a50-9fe3-73df08778ca6n%40googlegroups.com.

Tommy Fong

unread,
Oct 30, 2024, 7:16:34 AM10/30/24
to DSpace Technical Support
Dear hb wooley,

Thank you for your reply. I have changed the Local.config without port number and  use your FQDN and not an IP address, also rerun yarn, but the front end cannot browse the server, and the same error message shows.
Error RangeError: maximum call stack size exceeded.

Tommy

hb wooley 在 2024年10月24日 星期四晚上9:46:45 [UTC+8] 的信中寫道:

Tommy Fong

unread,
Oct 30, 2024, 7:37:15 AM10/30/24
to DSpace Technical Support
Dear hb wooley,

Thank you for your reply. I have changed the Local.config without port number and  use your FQDN and not an IP address, also rerun yarn, the front end can browse in the server, and the same error message shows, but same as error 500 in the frontend in browsing outside the server.
Error RangeError: maximum call stack size exceeded.

Tommy Fong 在 2024年10月30日 星期三下午3:16:34 [UTC+8] 的信中寫道:

DSpace Technical Support

unread,
Nov 18, 2024, 4:30:04 PM11/18/24
to DSpace Technical Support
Hi,

If you are still having this 500 error, it's usually the sign of a misconfiguration.  We have a guide with possible fixes at https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace#InstallingDSpace-%22500ServiceUnavailable%22fromtheUserInterface

Tim

Reply all
Reply to author
Forward
0 new messages