POST /requests is flaky and fails

Hi,
we are triggering our CI builds via the Travis API and it the last weeks we’ve noticed a lot of HTTP 500 responses when trying to submit a request using

https://api.travis-ci.com/repo/owner%2Frepo/requests

The response is

HTTP/1.1 500 Internal Server Error
Date: Wed, 13 May 2020 13:22:01 GMT
Content-Type: text/plain
Content-Length: 77
Connection: keep-alive
Strict-Transport-Security: max-age=15724800; includeSubDomains
X-Request-ID: dd5526616a3c97549fc1ea9f0297ec73
Access-Control-Allow-Origin: *
Access-Control-Allow-Credentials: true
Access-Control-Expose-Headers: Content-Type, Cache-Control, Expires, Etag, Last-Modified, X-Request-ID

Sorry, we experienced an error.

request_id:dd5526616a3c97549fc1ea9f0297ec73

After a couple of minutes or hours the API works again but this is preventing us from triggering any builds during that time

According to https://www.traviscistatus.com/ everything is green

Is this a known issue?

What is the exact value of request_id?

I’ve updated my post above (request_id:dd5526616a3c97549fc1ea9f0297ec73)

I found the error… certain DB queries are getting terminated due to timeout. We will look at improving DB issues like this.

Sorry for the inconvenience.