Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
When using a costum Azure OpenAI key to a GPT 5.2 on Azure, the LLM works fine until it needs to make code edits.
Then it writes the error: ”Connection failed. If the problem persists, please check your internet connection or VPN”
Steps to Reproduce
How can you reproduce this bug? We have a much better chance at fixing issues if we can reproduce them!
- Deploy an gpt 5.2 on Azure
- Use Azure OpenAI Costum key in Cursor
- Write a prompt to edit a file
Expected Behavior
What is meant to happen here that isn’t working correctly?
The chat and editing should work
Screenshots / Screen Recordings
If applicable, attach images or videos (.jpg, .png, .gif, .mp4, .mov)
Operating System
- Macosx
Version Information
-
For Cursor IDE: Menu → About Cursor → Copy
-
For Cursor CLI: Run
agent aboutin your terminal
Cursor info:
Version: 2.3.29
VSCode Version: 1.105.1
Commit: 4ca9b38c6c97d4243bf0c61e51426667cb964bd0
Date: 2026-01-08T00:34:49.798Z (2 wks ago)
Electron: 37.7.0
For AI issues: which model did you use?
Model name (e.g., Sonnet 4, Tab…)
gpt-5.2
For AI issues: add Request ID with privacy disabled
Request ID: a8aac1a6-9ccc-4241-92df-c4f1fcbb4f6b
Additional Information
Add any other context about the problem here.
Does this stop you from using Cursor?
- Yes - Cursor is unusable



