OAGi / Score

Score
MIT License
9 stars 6 forks source link

Migration-script generation fails #1542

Closed jim-wilson-kt closed 1 year ago

jim-wilson-kt commented 1 year ago

When I attempt to generate a migration script for 10.9.3 on https://develop.oagiscore.net, I get a "Gateway Connection Failure" 60 seconds after clicking the "Generate Migration Script" button.

image

bingqi2045 commented 1 year ago

At *.[oagiscore.net]instances, the internal reverse proxy server, Nginx, handles all requests coming from web browsers. In the configuration file located at /etc/nginx/nginx.conf, the default read timeout was set to 60 seconds In the past, we didn't encounter any issues because the migration script used to generate data took less than a minute to complete. However, for version 10.9.3, it appears that this process is taking longer. To address this, I updated the read timeout by adding the 'proxy_read_timeout 300' property to the configuration file, and this modification has resolved the issue.

bingqi2045 commented 1 year ago

@jim-wilson-kt can you confirm that you can generate the migration script now?