Unable to login to dspace 7.6

264 views
Skip to first unread message

eug...@gmail.com

unread,
Jun 30, 2023, 11:03:53 AM6/30/23
to DSpace Technical Support
After installation of dspace 7.6, after logging in, I am just getting white screen and loading screen. Checking the google console, I am getting several 404 errors:
dspace1.png
I have also tried adding "proxies.trusted.ipranges = [IP-address-of-UI-server]" in local.cfg as seen here: https://groups.google.com/g/dspace-tech/c/uJs4tBkaxZM. What could be the problem? 

DSpace Technical Support

unread,
Jul 5, 2023, 2:04:51 PM7/5/23
to DSpace Technical Support
Hi,

I'd recommend checking the configurations for your REST API in your "config.prod.yml".  It sounds like it might think your REST API is running via HTTP instead of HTTPS?

If the configs in your "config.prod.yml" look correct, then you should verify that they match with the "dspace.server.url" setting in your local.cfg on the backend.

Generally speaking, these errors sound to me like there's a misconfiguration between your frontend and backend.  You also might want to look at the Troubleshooting guide and see if other errors appear in your backend logs and similar: https://wiki.lyrasis.org/display/DSPACE/Troubleshoot+an+error#Troubleshootanerror-DSpace7.x(orabove)

While you are looking for errors in the backend, we have several common installation/configuration errors documented here: https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace#InstallingDSpace-CommonInstallationIssues

Tim

Eugene Jose Espinoza

unread,
Jul 5, 2023, 11:14:00 PM7/5/23
to DSpace Technical Support
Here are the settings in my config.prod.yml and local.cfg:
image.png
Will try to look into the links you provided.
Thank you very much! :)

--
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 on the web visit https://groups.google.com/d/msgid/dspace-tech/2b4453cc-0ec7-462f-ba71-506db77c703en%40googlegroups.com.

Eugene Jose Espinoza

unread,
Jul 6, 2023, 11:07:30 AM7/6/23
to DSpace Technical Support
Hi! I am now able to login in to my test dspace: It seem I missed out adding this part in my apache configuration:
     ProxyPreserveHost on
     RequestHeader set X-Forwarded-Proto https

   <Proxy *>
       AddDefaultCharset Off
       Require all granted
   </Proxy>
I actually followed this instruction for making my dspace run reverse proxy via apache:
 
image.png

Warm regards,
Reply all
Reply to author
Forward
0 new messages