Post

2 followers Follow
0
Avatar

Compile large csdl causes 504

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.

Trung Huynh

Please sign in to leave a comment.

2 comments

0
Avatar

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?

Jason D. 0 votes
Comment actions Permalink
0
Avatar

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

Trung Huynh 0 votes
Comment actions Permalink