Hi Rodrigo, That is correct behavior for DSpace 7. In DSpace 7, the user interface is a Javascript-based UI (built on Angular). This means the UI runs *in the user's browser. *All the data needed to generate the UI must be gathered by the user's browser via requests to the backend. So, yes, the user's browser MUST be able to contact your backend.
Simply put, your frontend and backend MUST have the same level of access on the web. If the frontend is publicly accessible, so must be the backend. It's not possible to hide or lock down the backend if your frontend is publicly accessible (as that will result in 500 errors as you've seen). Tim On Tuesday, July 25, 2023 at 8:49:48 AM UTC-5 [email protected] wrote: > I´m deploying a fresh dspace 7.6 install with Azure PaaS and IaaS. I have > a Postgres Database running in PaaS and two ubuntu 22.04, one running as > backend and the other running as frontend server. > I´ve deployed the backend and frontend in a lab environment with the > official doc Installing DSpace - DSpace 7.x Documentation - LYRASIS Wiki > <https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace> > I´ve setup all with no SSL and no reverse proxy just to test and document > the procedure. > After start UI I´ve got some 500 Error. Researching and troubleshooting > I´ve found that my browser was trying to contact backend directly (instead > of requesting through UI) so I was forced to open tomcat port (8080) in > firewall. After that the ui worked fine. > > I´m not a Dspace expert and i´m not fully aware of DSpace Architecture. Is > this a normal behavior? Do I need to open FrontEnd and Backend to internet > in production environment? > > Thanks in advance > PD=Please forgive my english > > Rodrigo de los Santos > -- 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/851acef2-8739-49ad-9527-140cc986f6bdn%40googlegroups.com.
