Hi,

This new error regarding the links becoming HTTP sounds a lot like this 
other "Common Installation Issue".  Again, this is at the bottom of the 
installation guide:
https://wiki.lyrasis.org/spaces/DSDOC10x/pages/408944708/Installing+DSpace#InstallingDSpace-MyRESTAPIisrunningunderHTTPS%2Cbutsomeofits%22link%22URLsareswitchingtoHTTP

The solution may be to set "X-Forwarded-Proto: https" in your proxy 
(usually either Apache HTTPD or Nginx).

Tim

On Thursday, October 15, 2026 at 12:41:30 PM UTC-5 [email protected] wrote:

> still working on this but I thought I would add more info. The server(both 
> front and back) are behind a load balancer. The load balancer takes the 
> https requests and forwards them to http (apache port 80)
>
> The interesting thing is when I call 
> https://dspacedev.library.uvic.ca/server/api
>
> it shows the links and they are all *https*://dspacedev.library.uvic.ca.... 
> except self.
> self is: 
> href *"http*://dspacedev.library.uvic.ca/server/api"
>
> So this is the problem I a working on now.
>
> On Friday, October 9, 2026 at 10:44:27 AM UTC-7 [email protected] wrote:
>
>> fresh install of 10.1 and the page does not load. On the server side when 
>> running node ./dist/server/main.js it says (when loading the page) I get
>>
>> No _links section found at 
>> http://dspacedev.library.uvic.ca/server/api/discover/search
>>
>> So this error above maybe because of http, it should be https
>>
>> my configs are:
>> config.yml has
>> rest:
>>   ssl: true
>>   host: dspacedev.library.uvic.ca
>>   port: 443
>>   nameSpace: /server
>>   
>>   
>> local.cfg has
>> dspace.server.url = https://dspacedev.library.uvic.ca/server
>>
>>
>> runnig  npm run test:rest shows
>>  test:rest
>> > ts-node -r tsconfig-paths/register --project ./tsconfig.ts-node.json 
>> scripts/test-rest.ts
>>
>> Building production app config
>> Overriding app config with 
>> /opt/dspace/dspace-angular-dspace-10.0/config/config.yml
>> Overriding app config with 
>> /opt/dspace/dspace-angular-dspace-10.0/config/config.prod.yml
>> ...Testing connection to REST API at 
>> https://dspacedev.library.uvic.ca/server/api...
>>
>> RESPONSE: 200
>>
>> Checking JSON returned for validity...
>> "dspaceVersion" = DSpace 10.1
>> "dspaceUI" = https://dspacedev.library.uvic.ca
>> "dspaceServer" = https://dspacedev.library.uvic.ca/server
>> "dspaceServer" property matches UI's "rest" config? true
>> Does "/api" endpoint have HAL links ("_links" section)? true
>>
>> Any ideas?
>
>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://lyrasis.org/code-of-conduct/
--- 
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/0002d9c0-0f9e-49f0-b0b6-ecea0948f0a1n%40googlegroups.com.

Reply via email to