Error Documentation: URL Allocation to DSPACE-UERN

121 views
Skip to first unread message

Matheus Medeiros

unread,
Jan 20, 2025, 7:39:51 PM1/20/25
to DSpace Community
Dear Team,
 
    I'm having a hard time trying to implement DSpace 8 for my university. So far, I've created this brief documentation of the current error. This is my first post here, so I'm really grateful for your attention and any comments you might have.

Virtual Machine Configuration:
  • Memory: 12.00GB

  • Processors: 6 (1 socket, 6 cores)

  • BIOS: Default (SeaBIOS)

  • Machine: Default (1440fx)

  • SCSI Controller: VirtIO SCSI

  • ISO: Ubuntu_Desktop_22.04.iso

  • DSpace Version: DSpace 8.0 Back-End/Front-End

  • Yarn Version: 1.22.22

  • Node Version: 18.13.0


Test 01: Default Settings

config.yml

dspace.cfg

test:rest

Result: 

Both the back-end and front-end function normally, but without HTTPS.

Test 02: Changing the REST URL to the URL

config.yml

dspace.cfg



test:rest


Result: 

The UI does not load correctly.

Upon removing ":4000" from dspace.cfg, the issue persists.

Observations: 

We noticed that during testing, ":8080" is allocated in the URL to access the server, which creates potential redundancy, as the server is running normally at the correct URL.

Test 03: Changing the REST URL to HTTPS

Result: The same results as the previous test. Even after changing dspace.cfg to HTTPS, the test connection continues to show HTTP. (If SSL is activated, it uses HTTPS.)

Test 04: UI on the URL and REST on the IP

test:rest:


Resultado:

While investigating "200.137.5.231," I decided to revert to a snapshot for testing. The error persists, but with the machine's previous IP address. I attempted to use lsof to stop old processes on the port, but without success.

antigo na porta, mas nao obtive sucesso

Sources about the error:

https://groups.google.com/g/dspace-tech/c/O2nvMaAbOjk

I tested the solution from this thread, but it was not effective.

Test 05: UI and REST on the URL with HTTPS

config.yml

dspace.cfg


test:rest


resultado:

observações: NDA


DSpace Community

unread,
Feb 10, 2025, 12:25:38 PM2/10/25
to DSpace Community
Hi,

I'd highly recommend following the installation guide in the official Documentation at https://wiki.lyrasis.org/display/DSDOC8x/Installing+DSpace

Specifically, there are guides in that document for how to enable HTTPS support for production (see step 16 of the Backend installation and step 8 of the Frontend installation).  

We highly recommend using a proxy (either Apache HTTPD or Nginx), as that will make your entire configuration a *lot easier*...and you won't need to run everything off of ports 8080 and 4000.  You will also need to create and install an SSL certificate in order to move to HTTPS.  It's unclear if you have done so, but again there are guidelines in the official documentation.

Tim

Fedoryo

unread,
Feb 19, 2025, 5:10:16 PM2/19/25
to DSpace Community
sorry, I have a beginner question, I don't quite understand what ip or url go in local.cfg and conf.prod.yml.can anyone explain me?.thanks for everything.

Andrew K

unread,
Feb 19, 2025, 5:47:44 PM2/19/25
to DSpace Community
Hey guys
I always use this manual for SSL. Very detailed config files settings
четвер, 20 лютого 2025 р. о 00:10:16 UTC+2 Fedoryo пише:
Reply all
Reply to author
Forward
0 new messages