I think the likely problem is that you MUST run the backend with HTTPS if you are using non-localhost URLs. This is documented in the Install guide (see step 16 of the backend installation): https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace#InstallingDSpace-BackendInstallation
Since you want to run the backend via IP address, you will have to convert it to using HTTPS. Otherwise, the frontend is likely to throw a 403 Forbidden error whenever you attempt to login... see this "Common Installation Issue" for more details: https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace#InstallingDSpace-%22403Forbidden%22errorwithamessagethatsays%22Accessisdenied.InvalidCSRFToken%22 If this isn't the issue you are seeing, then you need to follow our Troubleshooting guide to find the underlying error message. Without the underlying error message we cannot help (it's impossible to help unless we know the exact underlying error you are seeing): https://wiki.lyrasis.org/display/DSPACE/Troubleshoot+an+error#Troubleshootanerror-DSpace7.x(orabove) Tim On Tuesday, August 16, 2022 at 3:41:51 AM UTC-5 [email protected] wrote: > Hi, > > This is my configuration: > local.cfg - > > dspace.server.url = http://[IP]:8080/server > dspace.ui.url = http://[IP]:4000 > > config.prod.yml - > > ui: > ssl: false > host: [IP] > port: 4000 > nameSpace: / > > rest: > ssl: false > host: [IP] > port: 8080 > nameSpace: /server > > My backend was working with IP but frontend was not working with IP. I > want to access both in production environment through IP > > > On Tuesday, August 16, 2022 at 10:48:26 AM UTC+5:30 ruchira raul wrote: > >> I have tried with all possibilities provided in "Common installation >> Issues" but still issue of accessing frontend through IP is not resolved. >> Please try to provide some other alternative or support as soon as >> possible. >> >> Regards, >> Ruchira >> >> On Thursday, July 14, 2022 at 10:58:56 PM UTC+5:30 Tim Donohue wrote: >> >>> Unfortunately, we don't have enough information to help you resolve this >>> issue. Please take a look at our guide on Troubleshooting Errors, which >>> provides useful information about how to locate the underlying error: >>> https://wiki.lyrasis.org/display/DSPACE/Troubleshoot+an+error#Troubleshootanerror-DSpace7.x(orabove) >>> >>> >>> After following that guide and locating the underlying error message, >>> you should search to see if this error has already been solved/answered >>> elsewhere. For example, if you just installed DSpace 7, the error may be >>> listed in our Common Installation Issues: >>> https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace#InstallingDSpace-CommonInstallationIssues >>> >>> >>> If you cannot find a solution, feel free to send the underlying error >>> messages to this list and we'll do our best to help out. >>> >>> Tim >>> >>> ------------------------------ >>> *From:* [email protected] <[email protected]> on behalf >>> of ruchira raul <[email protected]> >>> *Sent:* Thursday, July 14, 2022 3:49 AM >>> *To:* DSpace Technical Support <[email protected]> >>> *Subject:* [dspace-tech] Error accessing DSpace 7.2 through IP address >>> >>> Installed DSpace 7.2 on Ubuntu 22.04 and it is running on localhost but >>> accessing through IP it gives 500 "Service Unavailable" error in frontend >>> and 404 error in backend. >>> >>> Did all necessary changes in local.cfg file & config.prod.yml file. >>> >>> Please provide solution for this issue. >>> >>> -- >>> 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/de29d4c8-f26c-4b48-928c-d3914c516322n%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/dspace-tech/de29d4c8-f26c-4b48-928c-d3914c516322n%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- 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/c5e67e7f-74a6-42a8-9c81-fd46a177d062n%40googlegroups.com.
