singer-io / tap-asana

Singer.io tap for extracting Asana data
GNU Affero General Public License v3.0
7 stars 20 forks source link

Stories Sync - Never Finishing - Time Out #57

Open andrew-karcher opened 9 months ago

andrew-karcher commented 9 months ago

I am currently running a sync that is setup to ONLY sync the 'stories' object. There is a second sync that is setup that syncs all of the other objects. Not sure why it was setup like that originally, but just trying to diagnose the stories sync.

Currently, it is failing every day with a "The process was terminated. Most often this occurs because the job has exceeded its allotted runtime. The next job will run based on the integration's schedule." error.

Every hour it runs, it seems to pick up some records, but never finishes.

For example:

2023-12-18 06:00:41,285Z tap - INFO Received invalid or expired token error, refreshing access token 2023-12-18 07:00:41,030Z tap - INFO Backing off get_initial(...) for 0.1s (asana.error.NoAuthorizationError: No Authorization: The bearer token has expired. If you have a refresh token, please use it to request a new bearer token, otherwise allow the user to re-authorize.) 2023-12-18 07:00:41,037Z tap - INFO Received invalid or expired token error, refreshing access token 2023-12-18 07:23:02,365Z target - INFO Serializing batch with 6 messages for table stories 2023-12-18 07:23:02,366Z target - INFO Sending batch of 17230 bytes to 2023-12-18 07:23:02,368Z target - INFO replicated 6 records from "stories" endpoint 2023-12-18 08:00:42,096Z tap - INFO Backing off get_initial(...) for 0.0s (TokenExpiredError: (token_expired) ) 2023-12-18 08:00:42,096Z tap - INFO Received invalid or expired token error, refreshing access token

riteshstride commented 8 months ago

I am having the exact same issue. Did you find a solution @andrew-karcher ?