I updated self-hosted n8n today to 0.226.2 via docker and came back to using ChatGPT node after a while.
Prior to the update, I had no issues with larger prompts in Chat completion using ChatGPT 4, but today I am only getting timeouts or the node is working on the completion for 10-15 min. (before I stop it manually) which should take no more than 5 minutes tops. GPT 3.5 turbo works fine.
I notice that the API is billing me a few times over what I should be billed for each such completion, as if the node was looping the prompt without providing output.
OpenAI claims it is fully operational and have had no issues reported today.
Hi @Rafix - sorry to hear you’re having trouble with this!
Thanks for sharing details on your setup. Would you have an example workflow you could share here for testing purposes? That would really help us troubleshoot what might be the difference between ChatGPT4 and 3.5 turbo.
What I noticed though is that the API records the call and it bills me as if the prompt produced a completion and it actually it charges me at least twice as much, as if it had to do it more than once I guess.
Is it really taking 5 minutes for the workflow to stop? It would be very handy if you could provide the actual workflow json or prompt text so we can give it a go, Do you also know what version of n8n you were using before the update?
Is it working today for you are you still seeing the same issue? It did take a long time for the reply to come back as well which was unexpected but the same request from Postman also had a slow response.
I haven’t tried Postman yet, but I will look into it.
I thought that maybe the reason for the error might be that timeout limits were removed during the trial period and now they are back on, but now I am not so sure since you were able to generate the result on a paid account.
Just to be sure, you used an account that is no longer using the trial free credit, right?
I have a similar problem. I made 2 differents workflow using gpt 4 api. for 1 of them after fews minutes it was working the other never worked. i start again the one who work once and it run also for long time without answering. i did check the billing it was continusly billing me more for the api without having the result. i tested like 10mn more with no answer. I used different api key for the 2 worflows. this is my version of n8n: 0.225.2 it is a self host linux serveur.
Is there a chance that something has changed in your subscription, like, for example, your trial period has ended?
I immediately assumed that there was something wrong with the updated ChatGPT node after I updated to the most recent version, but it might have been the fact that my trial period ended then as well.
The outputs I generated with my workflow almost always exceeded the timeout limits when I was on trial period and was using the credits I had been given, but I never got the timeout error when I was on the trial period.
Now, I have to split the prompt into multiple nodes to avoid the timeout.