Modify/Change the uri parameter from http to https

35 views
Skip to first unread message

Salony Permanand

unread,
Sep 3, 2024, 5:14:35 AM9/3/24
to DSpace Technical Support
We have customized the DSpace 7.4 codebase to run on an SSL domain successfully. Recently, we migrated this setup to a new server, which includes SSL and Load Balancer (LB) configurations.

On the new server, the application works correctly when accessed via IP. However, when accessing it through the domain name over HTTPS (with the LB in place), the website loads properly, but the login and collection data fail to load.

The Load Balancer is configured to offload SSL, converting incoming HTTPS requests to HTTP. During debugging, I found that the url value in the following API endpoint is not being resolved correctly. The url appears as:

https://unknown.dspace.com/server/api/authz/authorizations/search/object?uri=http://unknown.dspace.com/server/api/core/sites/collection-id&embed=feature

This issue seems to stem from the uri being set to HTTP instead of HTTPS.

Is there a way to modify the uri value to use HTTPS so that the link functions correctly? 
Any guidance on this would be greatly appreciated.

Thanks and Regards

DSpace Technical Support

unread,
Sep 9, 2024, 12:55:21 PM9/9/24
to DSpace Technical Support
Hi,

This issue you are seeing might be related to this "Common Installation Issue" where others have reported HTTPS to HTTP url changes:

If that's not helpful, you should also verify that your backend's configurations (in local.cfg) are all using HTTPS.  If one of them is accidentally set to HTTP, that could also cause this sort of behavior.

Tim
Reply all
Reply to author
Forward
0 new messages