Hey everyone! I currently have a loop returns tap ...
# troubleshooting
t
Hey everyone! I currently have a loop returns tap in a github action workflow, but it seems to fail only once a day with every other run throughout the day being successful. Is there a reason why one run may be failing but others aren't? Seems like it's always
Copy code
[error    ] Extraction failed              code=1 message=requests.exceptions.HTTPError: 504 Server Error:
v
500's are common, make sure your tap retries on them with a good backoff!
j
agree with Derek, also...in my exp there is some extreme lumpiness in two areas that may be impacting you - 1, load on github actions at PST midnight, 2, load on whatever your source is at midnight local time. my guess is you are hitting one or both of those.
my experience with POS systems like shopify is that that there are "close of business" batch processes running on a daily basis that either cause extreme slowness OR a 504 like you are seeing
v
right, and I"d lump all those into the "tap needs to handle it" bucket as there's so many reasons 500's can happen sometimes the server just looks at your request and decides it doesn't like it
the sdk is pretty good at making sure the general cases just aren't an issue!
t
Thanks everyone! I have the workflow run every 4 hours, where it only fails once a day (usually in the mornings) so I had a feeling it might just be server load issues. Thanks for confirming my suspicions!