On Wed, Jun 11, 2025 at 08:52:30AM +0000, 'Agustina Martinez-Garcia' via DSpace 
Technical Support wrote:
> We are testing DSpace 8.1 and have a set up where we use Apache server as a 
> proxy. We have noticed that when accessing URLs to items, cols, comms by 
> their handle OR when resolving DOIs into items we get errors from Apache (500 
> or sometime 504s).
> 
> A few months ago we performed changes to our Apache configs to start using 
> the MPM event module to improve performance instead of the default Prefork. 
> Our production DSpace 7.6.1 instance does not present these issues when using 
> the event module, but the DSpace 8.1 server does. We can confirm that 
> switching back to using prefork resolves the issue.
> 
> Errors we see in apache are not very useful (below) and there are no errors 
> at the DSpace end (frontend and backend).
> 
> [Tue Jun 10 12:48:34.853769 2025] [proxy_http:error] [pid 864881:tid 
> 133347774826176] (20014)Internal error (specific information not available): 
> [remote 172.22.88.52:58112] AH01102: error reading status line from remote 
> server localhost:4000, referer: 
> https://dspace8-f-dev.lib.cam.ac.uk/items/750a9345-cb0f-44f9-9aa6-797ab42ba079
> 
> I wanted to check if anyone else with this setup is seeing this behaviour.

504 is "gateway timeout":  your front-end NodeJS processes are not
responding quickly enough, or not responding at all.  dspace-angular
produces floods of log data, so maybe there is a clue there.

You can get more details about the HTTPD side of the failure by
increasing the LogLevel for 'proxy' and 'proxy_http'.  Level TRACE8
will produce large quantities of records about how proxy connections
are being made, used and torn down.  But I would look at the front-end
logs first.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
library.indianapolis.iu.edu

-- 
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 visit 
https://groups.google.com/d/msgid/dspace-tech/aEl4yNaJoZFUZlUM%40iu.edu.

Attachment: binzptN3gfYTu.bin
Description: PGP Key 0xDA186C80E6EEA295.

Attachment: signature.asc
Description: PGP signature

  • [dspace-tech] Usin... 'Agustina Martinez-Garcia' via DSpace Technical Support
    • Re: [dspace-t... mwood
      • Re: [dspa... 'Agustina Martinez-Garcia' via DSpace Technical Support

Reply via email to