Hi All.
I am experiencing a weird problem on DSpace 7.6.1. This site went live
two weeks ago and has been running fine until this morning when I
suddenly started getting errors. Observing the PM2 logs, I saw requests
to the backend being made to http://localhost:8080/api. This is not how
the site is configured.
My [dspace-ui]/conf/config.prod.yaml is configured as such:
# The REST API server settings
# NOTE: these settings define which (publicly available) REST API to
use. They are usually
# 'synced' with the 'dspace.server.url' setting in your backend's local.cfg.
rest:
ssl:true
host:univendspace.univen.ac.za
port:443
# NOTE: Space is capitalized because 'namespace' is a reserved string
in TypeScript
nameSpace:/server
As you can see, the url for the site is
https://univendspace.univen.ac.za and for the backend includes /server.
If I go to https://univendspace.univen.ac.za/server/api, I get the
expected API.
But trying to access the frontend I get a 500 error. The PM2 logs show:
5|dspace-ui | {
5|dspace-ui | statusCode: 0,
5|dspace-ui | statusText: 'Unknown Error',
5|dspace-ui | message: 'Http failure response for
http://localhost:8080/api: 0 Unknown Error'
5|dspace-ui | }
5|dspace-ui | No _links section found at http://localhost:8080/api
5|dspace-ui | No _links section found at http://localhost:8080/api
Why is node suddenly trying to access a different URL and how do I fix it?
Kind Regards.
Shaun
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/dspace-tech/5ae5141e-2e39-49eb-abce-6da56b1aa391%40teqcle.co.za.