Hallo,

Installed DSpace7 beta5 and got tomcat9 running on localhost:8080 and dspace-angular on localhost:4000

I can reach the HAL Browser, log in and request all the stuff that's there.

I started dspace-angular with yarn run start:dev which ends with
** Angular Live Development Server is listening on localhost:4000, open your browser on http://localhost:4000/ **
: Compiled successfully.

my environment.dev.ts is

export const environment = {
  ui: {
    ssl: false,
    host: 'localhost',
    port: 4000,
    nameSpace: '/'
  },
  rest: {
    ssl: false,
    host: 'localhost',
    port: 8080,
    nameSpace: '/server'
  },
};

When trying to connect to localhost:4000 with the browser, I see the DSpace angular header and moving sot. In the developer console I found the error:

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://localhost:8080/server/api.

After searching a while I found a similar thread on gihub (https://github.com/DSpace/dspace-angular/issues/1036) and set

rest.cors.allowed-origins = ${dspace.ui.url}, http://localhost:4000, http://localhost:8080

I did not set proxies.trusted.ipranges according to https://github.com/DSpace/DSpace/pull/3171.

Any ideas what I have missed?
--

Armin Wenz
Universitätsbibliothek Mainz
Leitung Bibliotheksanwendungen
Jakob-Welder-Weg 12
55128 Mainz
Tel.: +49 6131 39-29830
http://www.ub.uni-mainz.de

--
All messages to this mailing list should adhere to the Code of Conduct: 
https://duraspace.org/about/policies/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 on the web visit 
https://groups.google.com/d/msgid/dspace-tech/8a2c2b0b-7f3c-6b2e-3ad5-72e56c2ced98%40ub.uni-mainz.de.

Reply via email to