Solutions for HTTP/2 Issues with Cursor in China

Solutions for HTTP/2 Issues with Cursor in China

Recently, many users in China have reported that they are unable to use Cursor, especially with the Claude series models, which have all been disabled.

Solutions for HTTP/2 Issues with Cursor in China

This issue is likely known to everyone.

The reason is that model providers like OpenAI, Google, and Anthropic have explicitly stated that they do not provide services to mainland China, resulting in Cursor being unable to access the relevant models.

This is an upstream issue and not something Cursor wants to disable.

So how can we solve this?

In recent days, I have seen the most forwarded solution is to change HTTP to 1.0.

Solutions for HTTP/2 Issues with Cursor in China

This can only temporarily downgrade the issue.

Why do I say it’s a downgrade?

Please see the explanation from the Cursor official website; Cursor’s AI functionality relies on HTTP/2.

Solutions for HTTP/2 Issues with Cursor in China

Therefore, many users who switched to 1.0, including myself, frequently encounter connection failures.

It can be very frustrating when the connection fails unexpectedly.

So how can we completely resolve this issue?

I saw a method shared by a master, Zhao Shifu, which is very effective, and I want to share it with everyone.

The method is quite simple, but many people say it still doesn’t work, so I will explain it with images and text.

The method is as follows:

Step 1: Choose a node in the United States or Japan;

Step 2: Install service management

This does not directly enable TUN mode, but you need to install the service first.

I am using Clash, as shown in the image below:

Solutions for HTTP/2 Issues with Cursor in China

Step 3: Enable TUN mode

If Cursor is open, you need to restart it,

and then you can freely use the Claude 4 series models.

Solutions for HTTP/2 Issues with Cursor in China

Thank you for reading!

This concludes the content of this sharing, and I hope it can inspire you.

If you find this article helpful, please give a 👇 ‘Follow’ 👇 to continue receiving more AI insights.

I am ‘Cat Comes GO’, continuously learning and sharing AI practices, stay tuned.

This is the end of the article, see you next time.

Leave a Comment