Compile large csdl causes 504


#1

I want to query historic tweets mentioning about 100 music artists. However when I group the individual query using stream keyword and send a POST request to processReq with “methodUri”=“compile”, the server returns a 504 error:
504 Gateway Time-out. The server didn’t respond in time.


#2

Could you please clarify what you mean when you say "when I group the individual query"?

Following 100 Twitter usernames is not a particularly large query - I do not see why this would timeout.

- Is the timeout happening reliably?

- Are you using one of the official DataSift client libraries?


#3

Hi Jason, thanks I have figured out what’s wrong. It was because I used /processReq endpoint rather than official REST API. Thanks.