DSpace7 Not accessible via IP Address

150 views
Skip to first unread message

Ali Shahzad

unread,
Feb 14, 2023, 11:57:09 PM2/14/23
to DSpace Technical Support
Dear Community,

Could you help me for the setup of the Local IP Configuration? I have recently installed 

dspace7 it's working well on Localhost:4000 but the problem is that it's not working on the 

local IP. I want to access dspace7 on the local network.

Anyone Please help me. i already all relevant setting it reaches the dspace landing page and then redirect to 500 page which is mention that service is not available.
i have also attached the screenshot for your reference. 
hostname or ip address i got the same result, service not available.
dspace-500-error.jpg

Agustín Alfieri

unread,
Feb 17, 2023, 6:23:05 AM2/17/23
to DSpace Technical Support
Hi! 

The first thing that comes to mind is that maybe you didn't enable HTTPS support for the backend, as the wiki says "If you want to run DSpace in Production, you MUST run the backend with HTTPS support (otherwise logins will not work outside of your local domain)."

If this is not the case you should take a closer look at how to troubleshoot an error on Dspace https://wiki.lyrasis.org/display/DSPACE/Troubleshoot+an+error and the common installation issues https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace#InstallingDSpace-CommonInstallationIssues. There's not much anything anyone can do with the information you gave us, you'll need to look at the logs.

Agustín.

Ali Shahzad

unread,
Feb 17, 2023, 8:17:39 AM2/17/23
to Agustín Alfieri, DSpace Technical Support
Thank you for your reply.
i just only want to enable the access via ip address. 
I don't want to access it via domain name. I just want to access it via ip address. 
When I access it via ip address its reaches the dspace home landing page and then redirects to 500 page services that are unavailable. 
I have also attached the screenshot for your reference. please help me 

--
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 dspace-tech...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/9b2ebbc1-9bea-4595-b6c7-25b2877b44c4n%40googlegroups.com.
dspace-500-error.jpg

Agustín Alfieri

unread,
Feb 17, 2023, 9:04:09 AM2/17/23
to DSpace Technical Support
I may be wrong, but I'm pretty sure that it doesn't matter whether is from the IP or the domain name, as long as you want to access Dspace from anything that's not localhost you must enable HTTPS support on the backend. I suggest you take a look at this.

Furthermore, you need to understand that you're not giving us enough information to know whats actually happening. The error 500 only indicates that  "something" is wrong in the backend, but to know what that "something" is you must look at the logs. Again,  you should take a closer look at how to troubleshoot an error on Dspace https://wiki.lyrasis.org/display/DSPACE/Troubleshoot+an+error and the common installation issues https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace#InstallingDSpace-CommonInstallationIssues.

Mohammad S. AlMutairi

unread,
Feb 17, 2023, 9:10:01 AM2/17/23
to DSpace Technical Support
I'm linking both related posts for this same user for future searchers.

Ali Shahzad

unread,
Feb 18, 2023, 12:34:11 PM2/18/23
to Agustín Alfieri, DSpace Technical Support
Thank you for your guidance, 
are you sure that, if i want to access dspace from the ip address i need to enable https ?

and could you please help me if i send you the logs file ? actually i am new in dsapce that why and please guide me where i can collect the logs for you ? I mean which directory path.

thank you in advance

Agustín Alfieri

unread,
Feb 24, 2023, 6:41:55 AM2/24/23
to DSpace Technical Support
I'm not part of the Dspace development team, just a user. So I'm not sure that you need to enable the https support but I believe is the right direction to fix the problem. 
Regarding the logs, I'll try to help you as much as I can if you send them. The paths for the logs are on this link (https://wiki.lyrasis.org/display/DSPACE/Troubleshoot+an+error) which I've already sent you twice. Keep in mind that this mailing list is not some kind of customer support, only a community of users where we try to help each other as much as we can.

DSpace Technical Support

unread,
Feb 24, 2023, 4:17:01 PM2/24/23
to DSpace Technical Support
Hi,

I can verify that you *MUST* enable HTTPS on the backend if you want to access the backend via an IP address.  Without HTTPS, it's possible the basics will work, but I know that you will not be able to login to the system until you enable HTTPS.

It's only possible to (easily) run DSpace in HTTP only mode if you are using "localhost" (i.e. in a development environment).  (I say "easily" because there might be workarounds to this, but I cannot tell you how to achieve that... and honestly any site on the web that allows for authentication should use HTTPS if you want to keep your site secure)

Tim

Reply all
Reply to author
Forward
0 new messages