Using the Chat GPT model, I got several “Could not reach provider”. The problem is when this happens after some initial work. When I press “Try again” it starts planning and analysis again from scratch. This wastes a lot of my tokens.
Steps to Reproduce
Wait for “Could not reach provider”, press “Try again”
Expected Behavior
After “Try again” it should continue where it was when it lost connection. It appears it starts from the original chat prompt.
Operating System
Linux
Current Cursor Version (Menu → About Cursor → Copy)
Got it, the issue is that on retry the agent really starts over instead of continuing from where it failed. This is a known issue, and the team is working on improving the retry flow.
To debug the “Could not reach provider” error itself, we’ll need a bit more info:
Copy the Request ID right after the error (Chat menu > Copy Request ID)
Cursor Settings > Network > Run Diagnostics, then share a screenshot of the results
What region are you in? Are you using a VPN or a proxy?
I do not have the request id available (closed this chat since). One additional observation: when this happens, it sometimes shows only “Try Again,” and sometimes it also shows the “Resume” button in the chat.
Thanks for the info. We checked and found an interesting error in the logs: “Append data exceeds size limit”. Something in your request is going over 50 MB.
A few questions to help us debug:
Do you have a large .cursorrules file in your project? If yes, can you share its size?
Are you using Claude Skills (imported from the .claude directory)?
Can you run Cursor Settings > Network > Run Diagnostics and share a screenshot of the results?
This will help us figure out what’s blowing up the context to that size. Usually it’s one of these.
About the retry behavior (when the agent starts from scratch), that’s a known issue, and the team is working on improving the retry flow.