dynamic_links::DynamicLinkOptions options;
options.path_length = firebase::dynamic_links::kPathLengthShort;
firebase::Future<dynamic_links::GeneratedDynamicLink> link_future =
dynamic_links::GetShortLink(long_link.url.c_str(), options);
WaitForAndShowGeneratedLink(link_future, "Generate short from long link”);
Actually this code I copied from sample code ( iOS - Dynamic link - C++ api ). But I found following error:
NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9806
No short link was generated.
Thank you for your help
Kind regards,
Hoang Doanh
--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/9dd7f86e-2904-46db-a937-1ff7a5d77d43%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Does the same problem occur when trying our sample code?If the sample doesn't reproduce the error I recommend seeing whether you're messing with the SSL cert store in your application as that could be causing cert validation to fail when we open a connection to the dynamic links backend.Cheers,Stewart
On Sat, Apr 21, 2018 at 8:35 AM Hoang Doanh <hoang...@gmail.com> wrote:
--Hi allAfter successful generation of long link. I tried to generate short link as the following:dynamic_links::DynamicLinkOptions options;
options.path_length = firebase::dynamic_links::kPathLengthShort;
firebase::Future<dynamic_links::GeneratedDynamicLink> link_future =
dynamic_links::GetShortLink(long_link.url.c_str(), options);
WaitForAndShowGeneratedLink(link_future, "Generate short from long link”);
Actually this code I copied from sample code ( iOS - Dynamic link - C++ api ). But I found following error:
NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9806
No short link was generated.
Thank you for your help
Kind regards,
Hoang Doanh
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/9dd7f86e-2904-46db-a937-1ff7a5d77d43%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/CANJbYvBdLsRNo62p%3DJR5ewmjXzeEgZUnoFZnFrmUvZbAYLoUDw%40mail.gmail.com.
2018-04-24 10:48:25.471531+0700 hdDynamicLink2[253:8902] Generate short from long link...
2018-04-24 10:48:46.025089+0700 hdDynamicLink2[253:9017] [] nw_coretls_read_one_record tls_handshake_process: [-9802]
2018-04-24 10:48:46.364945+0700 hdDynamicLink2[253:9017] [] nw_coretls_read_one_record tls_handshake_process: [-9802]
2018-04-24 10:48:46.366817+0700 hdDynamicLink2[253:8971] NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9802)
I think the reason related to SSL for sure,
I am still trying to resolve it !
Cheers,
Doanh