[dspace-tech] 500 Service Unavailable

2024-02-13 Thread chakkaravarthy kp
Dear Sir / Madam,
I have installed Dspace7.6.1  on Windows Server,  however when i try to 
launch i get the error: "500 Service Unavailable. The server is temporarily 
unable to service your request due to maintenance downtime or capacity 
problems. Please try again later. "  Can somebody help to resolve it. Will 
be grateful.

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/57a44717-6f24-4a62-9973-bd3e4137b6d5n%40googlegroups.com.


Re: [dspace-tech] 500 - Service unavailable

2023-09-11 Thread 'Eike Martin Löhden' via DSpace Technical Support

Hei,

a 500 error normally means, that the backend can't reach the frontend. 
You can try to run "yarn test:rest" to check, if the backend is 
available. Apart from this further help is difficult due to the lack of 
further information. I can only recommend to follow the troubleshoot 
guide: https://wiki.lyrasis.org/display/DSPACE/Troubleshoot+an+error


Kind regards,
Eike Löhden.

Am 11.09.23 um 06:47 schrieb deeksha:

Hello everyone,

I'm trying to install dspace 7.5 on my system but getting a 500 error 
with my UI. Refer to

the following attachment which contains the image of the UI.
Can someone help out with this?


--
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/6a666812-0990-4f84-9b06-8c04e8b71acbn%40googlegroups.com 
.


--
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/d1f47954-0f1a-a07a-4ee9-e0ba79b00644%40staff.uni-marburg.de.


[dspace-tech] 500. Service Unavailable. The server is temporarily unable to service your request due to maintenance downtime or capacity problems

2023-05-05 Thread PROTOS tecnologia (PROTOS TECNOLOGIA)
Hi everyone, i hope you are well.  i am facing with a problem to access to 
dspace front end 7.5.

i have a dspace server runing properly accessing through 
http://localhost:4000
and everything works fine.

Now the goal is to access the UI through a local IP (LAN) of the computer 
that contains both the front end and the back end. For example, to enter 
the UI I would like to put: http://192.168.1.10:4000 (where 192.168.1.10 is 
the IP address of the computer that contains the front end and the back end)

As default in the backend  (in local.cfg)  UI set as:
dspace.ui.url = http://localhost:4000

I would like the UI URL to have address:  http://192.168.1.10:4000

so i open the local.cfg and i edit it, now the ip address for my UI is:
dspace.ui.url = http://192.168.1.10:4000

After making changes to the local.cfg file, i have to re-run mvn package 
command in the ~/dspace-backend directory as well as the ant update command
in the ~/dspace-backend/dspace/target/dspace-installer directory. 

then, i go to cd ~/dspace-frontend/config
and i edit the config.prod.yml

the file looks like this:
ui:
  ssl: false
  host:  192.168.1.10
  port: 4000
  # NOTE: Space is capitalized because 'namespace' is a reserved string in 
TypeScript
  nameSpace: /
  # The rateLimiter settings limit each IP to a 'max' of 500 requests per 
'windowMs' (1 minute).
  rateLimiter:
windowMs: 6 # 1 minute
max: 500 # limit each IP to 500 requests per windowMs
  # Trust X-FORWARDED-* headers from proxies (default = true)
  useProxies: true
--

--
# The REST API server settings
# NOTE: these settings define which (publicly available) REST API to use. 
They are usually
# 'synced' with the 'dspace.server.url' setting in your backend's local.cfg.
rest:
  ssl: true
  host: localhost
  port: 8080
  # NOTE: Space is capitalized because 'namespace' is a reserved string in 
TypeScript
  nameSpace: /server
--


after edit this file, i have to restart the yarn trhough:
yarn build:prod

everything goes well and completes succesfully. 

then start the pm2 with:
pm2 start dspace-ui.json

and when i try to access to the front end through
http://192.168.1.10:400
i get the error:
500. Service Unavailable. The server is temporarily unable to service your 
request due to maintenance downtime or capacity problems.

maybe the error is something in the config on the back or the front end?

Any kind of help is welcome. thank you very much 

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/265df787-bd2d-4a2d-876d-a21a93ba49e3n%40googlegroups.com.


[dspace-tech] 500 Service Unavailable

2023-03-20 Thread 'Matías Javier Saavedra Gajardo' via DSpace Technical Support
Hi.

I was migrating my database from dspace 4 to dspace 7, I had some errors 
that I was able to fix in the migration.

but at the moment of entering through the ip it gave the following error.

I leave attached image.

greetings.

[image: Screenshot_1.png]

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/42a29183-b4e7-42cf-88b8-e93c426046f2n%40googlegroups.com.


[dspace-tech] 500 Service Unavailable

2023-03-20 Thread 'Matías Javier Saavedra Gajardo' via DSpace Technical Support
Hi.

I was migrating my database from dspace 4 to dspace 7, I had some errors 
that I was able to fix in the migration.

but at the moment of entering through the ip it gave the following error.

I leave attached image.

greetings.

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/5b3ec9f9-d16c-4b35-835c-1a754a85ae6fn%40googlegroups.com.


[dspace-tech] 500 Service Unavailable - No _links section found [Nginx]

2023-02-07 Thread Ross
Hi, I am running DSpace 7.4 backend/frontend behind Nginx with SSL.

I am getting a 500 error on the frontend. I am aware of the troubleshooting 
steps and have followed them to no avail, however I am a bit confused with 
some of the steps in relation to having Nginx with reverse proxy.

*Backend Configuration*
*/dspace/config/local.cfg*
dspace.server.url = http://localhost:8080/server
dspace.ui.url = http://localhost:4000

*Frontend Configuration*
*/dspace-angular/config/config.prod.yml*
ui:
  ssl: false
  host: localhost
  port: 4000
  nameSpace: /
rest:
  ssl: false
  host: localhost
  port: 8080
  nameSpace: /server

*Nginx Configuration*
server {
listen 443 ssl;
server_name my-dspace.mydomain.com;
# SSL certificate goes here

location / {
   # Reverse proxy to DSpace ui
   proxy_set_header X-Forwarded-Host $host;
   proxy_set_header X-Forwarded-Server $host;
   proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
   proxy_pass http://localhost:4000/;
}
}

 Any idea why the frontend can't communicate with the backend ? I have seen 
that in some configs the rest api or ui is made public, however that 
doesn't make sense to me since Nginx is forwarding all public requests to 
the local instances. Am I missing something here?

*Result of yarn test:rest:*
yarn run v1.22.19
$ ts-node --project ./tsconfig.ts-node.json scripts/test-rest.ts
Building production app config
Overriding app config with 
/home/dspace/dspace-angular-dspace-7.4/config/config.yml
Overriding app config with 
/home/dspace/dspace-angular-dspace-7.4/config/config.prod.yml
...Testing connection to REST API at http://localhost:8080/server/api...

RESPONSE: 200

Checking JSON returned for validity...
"dspaceVersion" = DSpace 7.4
"dspaceUI" = http://localhost:4000
"dspaceServer" = http://localhost:8080/server
"dspaceServer" property matches UI's "rest" config? true
Does "/api" endpoint have HAL links ("_links" section)? true
Done in 6.71s.

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/1447f47c-d472-4b46-ac78-b13566474a1dn%40googlegroups.com.


[dspace-tech] 500 Service Unavailable

2022-07-18 Thread Ola
I just completed a Docker installation for Dspace 7 using the 
documentation 
https://wiki.lyrasis.org/display/DSPACE/Try+out+DSpace+7#TryoutDSpace7-InstallviaDocker
 
on a live server. 

I am trying to test installation as production (yes I know it is currently 
not production ready) but unfortunately, I go the error below. From my 
findings, I believe this could be the "No _links section found at..." error.

Would appreciate some suggestions on how best to fix this.

[image: Screenshot 2022-07-18 160747.png]

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/1b6b9ec3-d635-4b6f-b56b-2794c8452d6bn%40googlegroups.com.