Skip to content
Discussion options

You must be logged in to vote

@ddelgrosso1 Finally I figure out that the problem is caused by SNI field in TLS message,if I set CURLIOT_URL with IPV4,SNI is empty which lead to a ”NoSuchBucket" respond. Set the CURLOPT_CURL with "https://storage.googleapis.com:443" and CURLOPT_RESOLVE with “storage.googleapis.com:443:142.251.32.123” (142.251.32.123 is the result of dns resolve), curl will send TLS message to endporint 142.251.32.123 with SNI. I Customized CURLOPT_RESOLVE parameters in sdk and it works! Thanks for the help!

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@ddelgrosso1
Comment options

@FengYikai710
Comment options

@ddelgrosso1
Comment options

@FengYikai710
Comment options

Answer selected by FengYikai710
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants