Any reason for a Postgres timeout after 1min?

When issuing a Virtual Graph query to a Postgres DB, we are getting a "Gateway Time-out" for any queries lasting more than one minute. Our query timeout for Stardog is set to 20 mins.

Is there anything that we can set to address this in the JDBC, to extend/negotiate this?

Andrea

Is that coming from the Stardog logs or from your flask app?

It might be open shift. By default it times out http routes after 30sec

Not in the Stardog logs. And, we are using Django.

Andrea

Try the same query through your Django app and then from the Stardog cli running locally on the Stardog server. That should tell you if it's openshift killing the connection or something else.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.