Why am I still experiencing timeout errors in ChatGPT after upgrading my subscription?

This topic was automatically generated from Slack. You can find the original thread here.

Hey Team! Nice to meet you. I have just upgraded my subscription trying to avoid a timeout error I am receiving but I am still getting the timeout error. Can you identify what is causing the timeout becasue it is timing out before 5 minutes. It is the chatgpt step I am testing currently. I only have one workflow I am working on now.

Hi , could you show a screenshot of the error? I’d like to see if it’s happening for a specific step.

Have you modified the timeout of the workflow in your workflow’s Settings?

Let me try to modify the timeout rq

that did it ty!!

My guess was that timeout settings would update automatically when I upgraded but thanks for your speedy help!!

thanks! Yeah so you get a higher limit on the max timeout (from 300s to 750s), but we limit the timeout to 30 seconds for all workflow so that they don’t run forever and charge you credits. Basically, by keeping timeout to 30 seconds by default, all runs at the default memory setting will just use one credit. Then you can extend it on a workflow-by-workflow basis if needed

Now I need the search post step to pass all new posts in a subreddit to the next step instead of only one post being passed. Do you have any ideas for that?

Now I need to integrate with Reddit. The search post step appears to return only one post. How do I retrieve all new posts in a subreddit?

To retrieve all new posts in a subreddit, you can use the “New hot posts on a subreddit” trigger in Pipedream. Here’s how to set it up: 1. Search for the Reddit app from the trigger menu. 2. Select the “New hot posts on a subreddit” trigger. 3. Connect your Reddit account. 4. Select a Subreddit or pass a string from a previous step. 5. Follow the instructions on the trigger configuration screen. You may need to generate a test event from Reddit to get real data to test your workflow. This trigger will fetch new hot posts from the specified subreddit and pass them to the next steps in your workflow.

When you say only hot posts it sounds like some will be excluded, is there a way to get every post?

is it possible for you to use this Reddit trigger in this case? That trigger keeps track of state, so it knows what posts have already been processed. That will run a workflow on each new post. To do this yourself within a step of a workflow (i.e. if you’re using a different trigger), you’d need to make a custom HTTP request to the Reddit API and then handle state using something like Pipedream’s data store. That way, you can keep track of posts that you’ve already processed, and only fetch new posts on each run

I will test with the hot posts trigger, ty

yeah we should have triggers for new posts in a specific subreddit, too. Take a look at all of those triggers

the hot posts trigger is not pulling any events for testing. I cannot post a new reddit post every time I am going to test this trigger. Do you have any ideas?

the post i am using for testing is 7 days old

The test data is dependent on the workflow. We are planning to add default test data for every source so this doesn’t happen. But a new post may need to “become hot” for you to get test data for now

Let me pick back up tomorrow, thanks for your help so far!

The test event is working now. I am wondering if somehow with your list_comments_in_a_post you have keyword search like Zapier does?

Pipedream