New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
curl in iOS 13 & cellular & HTTPS is very slow in first connect #5678
Comments
It looks like a network issue, not a curl issue. |
I have the same guess first. But I have a lot of test, the issue only occur in the specific situation. with same condition, but on |
192.168.11.31 is an internal (RFC1918 reserved IP) which shouldn't be routable in the public internet (what you should get when connected by cellular) resulting in "connection timeout". |
If the only difference is the iOS version, then I blame the OS. I'm not aware of anything we need to do special as of iOS 13, but then I'm also not very knowledgeable about Apple details. |
Yes, I used VPN to access internal network, and i have exclude the problem of VPN. |
I find Requirements for trusted certificates in iOS 13 and macOS 10.15, but my certificates conform all the requirements. I am continue trying. |
I get same problem |
Run the code with a debugger and find out where in the code and in which state curl is when it seems to be slow/idle? I presume you build curl to use Secure Transport for this, or what TLS library do you use? |
Nobody seems to work on this and we have not gotten more info. The questions asked are not answered after months. The issue sounds like an OS/network stack issue and not a curl issue. Closing. |
I did this
I have try Wifi or HTTP or blew iOS 13, it's normal and fast.
Only timeout in first or second connect, after connected, the network request is recover OK.
I expected the following
I expected the specific situation have a normal but not always timeout in first connect.
curl/libcurl version
V7.71.1 (I have try the newest version)
[curl -V output]
operating system
The text was updated successfully, but these errors were encountered: