# Issue with try to connect on https site with fetch()

**URL:** <https://forums.fusetools.com/t/issue-with-try-to-connect-on-https-site-with-fetch/6973>\
**Category:** Bug Reports\
**Created:** [November 8, 2016, 11:01pm UTC](https://forums.fusetools.com/t/issue-with-try-to-connect-on-https-site-with-fetch/6973 "2016-11-08T23:01:16Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Donald](https://avatars.discourse-cdn.com/v4/letter/d/ac8455/32.png) [@Donald](https://forums.fusetools.com/u/Donald)\
**Post date:** [November 8, 2016, 11:01pm UTC](https://forums.fusetools.com/t/issue-with-try-to-connect-on-https-site-with-fetch/6973/1 "2016-11-08T23:01:16Z")

</div>

Hi, i have this issue in my application when i try test it on Android.

In Local mode or on iOS it works correctly, issue is only on Android. (Information: For networking i use in my application method fetch() )

Fuse version 0.29.0 (build 8396)

Operating system: MacOSX

```auto
D/libc-netbsd(17187): [getaddrinfo]: mtk hostname=xxxxxx.xx; servname=(null); cache_mode=(null), netid=0; mark=0
D/libc-netbsd(17187): getaddrinfo( app_uid:10097
D/libc-netbsd(17187): getaddrinfo() uid prop:
D/libc-netbsd(17187): getaddrinfo() getuid():10097
D/libc-netbsd(17187): [getaddrinfo]: mtk ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
D/libc-netbsd(17187): [getaddrinfo]: mtk hostname=xxxxxx.xx; servname=(null); cache_mode=(null), netid=0; mark=0
D/libc-netbsd(17187): getaddrinfo( app_uid:10097
D/libc-netbsd(17187): getaddrinfo() uid prop:
D/libc-netbsd(17187): getaddrinfo() getuid():10097
D/libc-netbsd(17187): [getaddrinfo]: mtk ai_addrlen=0; ai_canonname=(null); ai_flags=1024; ai_family=0
D/libc-netbsd(17187): getaddrinfo: xxxxxx.xx get result from proxy >>
D/Posix (17187): [Posix_connect Debug]Process octomat.donald :3002
I/BufferQueueProducer( 250): [SurfaceView](this:0xb8a6ae20,id:104,api:1,p:17187,c:250) queueBuffer: fps=0.18 dur=11317.00 max=11265.80 min=51.21
D/libc-netbsd(17187): [getaddrinfo]: mtk hostname=xxxxxx.xx; servname=(null); cache_mode=(null), netid=0; mark=0
D/libc-netbsd(17187): getaddrinfo( app_uid:10097
D/libc-netbsd(17187): getaddrinfo() uid prop:
D/libc-netbsd(17187): getaddrinfo() getuid():10097
D/libc-netbsd(17187): [getaddrinfo]: mtk ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
D/NativeCrypto(17187): ssl=0xb96ed028 NativeCrypto_SSL_do_handshake fd=0x9e629630 shc=0x9e629634 timeout_millis=60000 client_mode=1 npn=0x0
D/NativeCrypto(17187): doing handshake ++
D/NativeCrypto(17187): ssl=0xb96ed028 info_callback where=0x10 ret=1
D/NativeCrypto(17187): ssl=0xb96ed028 handshake start in UNKWN before/connect initialization
D/NativeCrypto(17187): ssl=0xb96ed028 info_callback calling handshakeCompleted
D/NativeCrypto(17187): ssl=0xb96ed028 info_callback completed
D/NativeCrypto(17187): ssl=0xb96ed028 info_callback where=0x1001 ret=1
D/NativeCrypto(17187): ssl=0xb96ed028 SSL_connect:UNKWN before/connect initialization
D/NativeCrypto(17187): ssl=0xb96ed028 info_callback ignored
D/NativeCrypto(17187): ssl=0xb96ed028 info_callback where=0x1001 ret=1
D/NativeCrypto(17187): ssl=0xb96ed028 SSL_connect:23WCHA SSLv2/v3 write client hello A
D/NativeCrypto(17187): ssl=0xb96ed028 info_callback ignored
D/NativeCrypto(17187): ssl=0xb96ed028 info_callback where=0x1002 ret=-1
D/NativeCrypto(17187): ssl=0xb96ed028 SSL_connect:error exit in 23RSHA SSLv2/v3 read server hello A
D/NativeCrypto(17187): ssl=0xb96ed028 info_callback ignored
D/NativeCrypto(17187): doing handshake -- ret=-1
D/NativeCrypto(17187): ssl=0xb96ed028 NativeCrypto_SSL_do_handshake ret=-1 errno=11 sslError=2 timeout_millis=60000
D/NativeCrypto(17187): doing handshake ++
D/NativeCrypto(17187): ssl=0xb96ed028 info_callback where=0x1001 ret=1
D/NativeCrypto(17187): ssl=0xb96ed028 SSL_connect:3RSH_A SSLv3 read server hello A
D/NativeCrypto(17187): ssl=0xb96ed028 info_callback ignored
D/NativeCrypto(17187): ssl=0xb96ed028 info_callback where=0x1002 ret=-1
D/NativeCrypto(17187): ssl=0xb96ed028 SSL_connect:error exit in 3RSC_A SSLv3 read server certificate A
D/NativeCrypto(17187): ssl=0xb96ed028 info_callback ignored
D/NativeCrypto(17187): ssl=0xb96ed028 info_callback where=0x1002 ret=-1
D/NativeCrypto(17187): ssl=0xb96ed028 SSL_connect:error exit in 3RSC_A SSLv3 read server certificate A
D/NativeCrypto(17187): ssl=0xb96ed028 info_callback ignored
D/NativeCrypto(17187): doing handshake -- ret=-1
D/NativeCrypto(17187): ssl=0xb96ed028 NativeCrypto_SSL_do_handshake ret=-1 errno=11 sslError=2 timeout_millis=60000
D/NativeCrypto(17187): doing handshake ++
E/NativeCrypto(17187): ssl=0xb96ed028 cert_verify_callback x509_store_ctx=0x9e629470 arg=0x0
E/NativeCrypto(17187): ssl=0xb96ed028 cert_verify_callback calling verifyCertificateChain authMethod=ECDHE_RSA
D/NativeCrypto(17187): ssl=0xb96ed028 cert_verify_callback => 0
D/OpenSSLLib(17187): OpensslErr:Module:20(144:134); file:external/openssl/ssl/s3_clnt.c ;Line:1260;Function:ssl3_get_server_certificate
D/NativeCrypto(17187): ssl=0xb96ed028 info_callback where=0x4008 ret=558
D/NativeCrypto(17187): ssl=0xb96ed028 SSL3 alert write:F:CU fatal certificate unknown
D/NativeCrypto(17187): ssl=0xb96ed028 info_callback ignored
D/NativeCrypto(17187): ssl=0xb96ed028 info_callback where=0x1002 ret=-1
D/NativeCrypto(17187): ssl=0xb96ed028 SSL_connect:error exit in 3RSC_B SSLv3 read server certificate B
D/NativeCrypto(17187): ssl=0xb96ed028 info_callback ignored
D/NativeCrypto(17187): doing handshake -- ret=-1
D/NativeCrypto(17187): ssl=0xb96ed028 NativeCrypto_SSL_do_handshake exception => 0
I/octomobile(17187): err: TypeError: Network request failed

```

---

<div class="post-metadata">

**Author:** ![Anders\_Bondehagen](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_bondehagen/32/98_2.png) [@Anders\_Bondehagen](https://forums.fusetools.com/u/Anders_Bondehagen)\
**Post date:** [November 10, 2016, 11:49am UTC](https://forums.fusetools.com/t/issue-with-try-to-connect-on-https-site-with-fetch/6973/2 "2016-11-10T11:49:12Z")

</div>

Could you send a project where we could reproduce the issue? Use the following link to upload [https://www.dropbox.com/request/ZgndLtJQm5eGzG9cicGK](https://www.dropbox.com/request/ZgndLtJQm5eGzG9cicGK)

---

<div class="post-metadata">

**Author:** ![Donald](https://avatars.discourse-cdn.com/v4/letter/d/ac8455/32.png) [@Donald](https://forums.fusetools.com/u/Donald)\
**Post date:** [November 10, 2016, 11:57am UTC](https://forums.fusetools.com/t/issue-with-try-to-connect-on-https-site-with-fetch/6973/3 "2016-11-10T11:57:45Z")

</div>

Hi, already uploaded.  
But i uploaded this project already also for Chris Bagley, because he want it for this another issue in this post:  
[https://www.fusetools.com/community/forums/howto\_discussions/include\_headers\_in\_uno\_for\_ios](https://www.fusetools.com/community/forums/howto_discussions/include_headers_in_uno_for_ios)

---

<div class="post-metadata">

**Author:** ![Anders\_Bondehagen](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_bondehagen/32/98_2.png) [@Anders\_Bondehagen](https://forums.fusetools.com/u/Anders_Bondehagen)\
**Post date:** [November 10, 2016, 12:22pm UTC](https://forums.fusetools.com/t/issue-with-try-to-connect-on-https-site-with-fetch/6973/4 "2016-11-10T12:22:01Z")

</div>

You did not send the `login.json` file, so I can’t know what hostname you are using.

---

<div class="post-metadata">

**Author:** ![Donald](https://avatars.discourse-cdn.com/v4/letter/d/ac8455/32.png) [@Donald](https://forums.fusetools.com/u/Donald)\
**Post date:** [November 10, 2016, 12:31pm UTC](https://forums.fusetools.com/t/issue-with-try-to-connect-on-https-site-with-fetch/6973/5 "2016-11-10T12:31:26Z")

</div>

> **Anders Bondehagen wrote:**
> 
> You did not send the `login.json` file, so I can’t know what hostname you are using.

sorry, where I can send it again ?

---

<div class="post-metadata">

**Author:** ![Anders\_Bondehagen](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_bondehagen/32/98_2.png) [@Anders\_Bondehagen](https://forums.fusetools.com/u/Anders_Bondehagen)\
**Post date:** [November 10, 2016, 12:35pm UTC](https://forums.fusetools.com/t/issue-with-try-to-connect-on-https-site-with-fetch/6973/6 "2016-11-10T12:35:51Z")

</div>

You can contact me on slack, my username is @bondehagen.

---

<div class="post-metadata">

**Author:** ![Donald](https://avatars.discourse-cdn.com/v4/letter/d/ac8455/32.png) [@Donald](https://forums.fusetools.com/u/Donald)\
**Post date:** [November 10, 2016, 9:27pm UTC](https://forums.fusetools.com/t/issue-with-try-to-connect-on-https-site-with-fetch/6973/7 "2016-11-10T21:27:02Z")

</div>

Issue resolved …  
there was missing startcom intermediate certificate

---

<div class="post-metadata">

**Author:** ![noor20](https://avatars.discourse-cdn.com/v4/letter/n/bcef8e/32.png) [@noor20](https://forums.fusetools.com/u/noor20)\
**Post date:** [August 21, 2019, 2:15pm UTC](https://forums.fusetools.com/t/issue-with-try-to-connect-on-https-site-with-fetch/6973/8 "2019-08-21T14:15:04Z")

</div>

hey, I have same error  
D/libc-netbsd(16473): [getaddrinfo]: [hostname=us-central1-fir-f32d6.cloudfunctions.net](http://hostname=us-central1-fir-f32d6.cloudfunctions.net); servname=(null); netid=0; mark=0  
Can you help me with this?

---

<div class="post-metadata">

**Author:** ![Matti\_Tihverainen](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/matti_tihverainen/32/684_2.png) [@Matti\_Tihverainen](https://forums.fusetools.com/u/Matti_Tihverainen)\
**Post date:** [August 21, 2019, 5:17pm UTC](https://forums.fusetools.com/t/issue-with-try-to-connect-on-https-site-with-fetch/6973/9 "2019-08-21T17:17:55Z")

</div>

Hello! I might be mistaken, but this has to do with the server’s certificate/setup? Have you tried fetch with other hosts?

---

<div class="post-metadata">

**Author:** ![noor20](https://avatars.discourse-cdn.com/v4/letter/n/bcef8e/32.png) [@noor20](https://forums.fusetools.com/u/noor20)\
**Post date:** [August 22, 2019, 12:10pm UTC](https://forums.fusetools.com/t/issue-with-try-to-connect-on-https-site-with-fetch/6973/10 "2019-08-22T12:10:09Z")

</div>

Yes but I am getting the same error  
This is the error :  
D/libc-netbsd(14222): [getaddrinfo]: [hostname=us-central1-fir-f32d6.cloudfunctions.net](http://hostname=us-central1-fir-f32d6.cloudfunctions.net); servname=(null); netid=0; mark=0  
D/libc-netbsd(14222): [getaddrinfo]: ai\_addrlen=0; ai\_canonname=(null);  
ai\_flags=1024; ai\_family=0

I am stuck at this error for 4 days now. I am not getting enough information about this error on internet. Please help me solve this error its really getting annoying now. I am developing a Multiplayer Tic Tac Toe game on Flutter.

---

<div class="post-metadata">

**Author:** ![aeq](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/aeq/32/129_2.png) [@aeq](https://forums.fusetools.com/u/aeq)\
**Post date:** [August 22, 2019, 7:48pm UTC](https://forums.fusetools.com/t/issue-with-try-to-connect-on-https-site-with-fetch/6973/11 "2019-08-22T19:48:08Z")

</div>

Can you share some code? What are device are you testing on, OS, uno version, etc.?
