Hi,
I suspect you have an incorrect URL in one of these configurations:
* Either in the "dspace.server.url" in your backend's local.cfg. Maybe this URL is missing the "/server"?
* Or, it could be in the "rest" settings in your frontend's config.prod.yml. In this situation, make sure the "nameSpace" is set to "/server" (with no quotes).
When URLs change randomly it usually means that one of these configurations is incorrect, and the UI (or backend) is trying to redirect you to the URL that is in your configuration.
Tim