xronos-ch / xronos.rails

Ruby on Rails application powering XRONOS, an open infrastructure for chronometric data from archaeological contexts worldwide
https://xronos.ch
MIT License
4 stars 0 forks source link

JSON Request timeouts on the server due to proxy #333

Closed MartinHinz closed 3 months ago

MartinHinz commented 3 months ago

Since the JSON-request for all data now works, the delegation of the answer (taking ~2min) time out.

MartinHinz commented 3 months ago

Solved this by inserting into ProxyPass a KeepAlive and a Timeout of 1200 in /etc/httpd/conf/httpd-xronos.conf like this:

ProxyTimeout 1200
ProxyPass "/" "http://localhost:4000/" Keepalive=On